[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Performance Problem Question: Web Container (Tomca

Subject: RE: Performance Problem Question: Web Container (Tomcat) vs. Console excecution
From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx>
Date: Thu, 23 Jun 2005 16:59:23 +0100
tomcat xmx
> I am using Saxon 6.5.3 and I am seeing a huge performance
> difference transforming the same input file once via console
> and then within a web container, here Tomcat 5.
>
> I wonder if there is something I can fine tune to get the
> same performance seen in a console window when running within
> a web container.
>
> What happens is the following:
>
> We have an application that retrieves XML data from the
> backend and transforms it with XSLT to different output formats.
>
> If I have huge XML input my web application has to wait about
> 25 seconds for a transformation.  I have captured the XML
> data and saved it in a file.  I then run from command line
> the same transformation with Saxons -t option to see that the
> transformation here only takes 1.5 seconds.
>
> The XML nicely formatted has 20,464 lines and its size is
> 853,587 bytes.
>
> The 1.5 seconds in this extreme case is acceptable and I
> would be fine with it.  But then I have the same execution
> within the web container and get the 25 seconds which is a major drag.
>
> Is there a general explanation for that or recommendations
> what could be altered to achieve a better performance?

Make more memory available to Tomcat - use the command line switches Xms
and Xms, for example:

java -Xms500M -Xmx500M will give Tomcat 500 megabytes to play with from
the start.

cheers
andrew

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.