Re: XMLMind Slow

Hussein Shafie <[email protected]> Fri, 21 Mar 2014 09:07:00 +0100
Newsgroups gmane.text.xml.xfc.general
Message-ID <[email protected]>
Thomas C. wrote:
>
> In our current XMLMind implementation we have one server running on one
> port with XMLMind listening to requests. That single instance is very
> behind on schedule as there are many many prints requests being thrown
> at it. We are looking to make XMLMind work faster. Should we create more
> instances of XMLMind and load-balance? What is your recommendation?


--> If you are running XMLmind XSL Server:

1) If the documents you process starts with <!DOCTYPE>, make sure that 
the corresponding DTD (e.g. the XHTML DTD) is not downloaded from the 
Web. Either suppress <!DOCTYPE> or use XML catalogs 
(https://www.oasis-open.org/committees/entity/spec-2001-08-06.html).



2) Try to give the following settings a larger value:

a) Very important: give your server machine more physical memory; give 
the Servlet container more ``Java memory'' (-Xmx; -Xms)

b) Set parameter maxConversions to a value larger than 20.

c) If your requests are cache-able (i.e. you process documents stored on 
disk, having an URL, not dynamically generated documents), set parameter 
cacheSize to a value larger than 100.

Parameter documentation:

http://www.xmlmind.com/foconverter/_distrib/xslsrv/doc/manual/server_params.html



3) If 1) and 2) do not help, then there is simply no other solution than 
what you suggest: more instances of XMLmind XSL Server and load-balancing.






--> If you have embedded XMLmind XSL-FO Converter engine in your own 
server, then I cannot answer your question.

--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support