HI Guys

I started load testing my application last week and was horrified that my performance 
was 8s per page and an avg of 1.7 pages per second under a load of just 20 virtual 
users stepping through 6 pages. My setup is Tomcat 5.0.18, 512mb RAM, P3

I am using a Struts architectuer and have a base action that calls all of the 
application's worker actions. Basically this allows me to time all our own action code 
of all action requests. Under the load test this surprisingly turned out to be sub 1s 
although the average was 8s overall. I therefore moved on to the JSPs. 

Again, each JSP in my application using a master layout JSP so I was able to time from 
the top to bottom and this came out as 8s which is the bottleneck. I first removed 
just some primary processing code that goes to the database but this yielded only an 
increase in pages per second of 2.62.

Next I removed ALL the processing from the JSP leaving just <body></body>. This now 
removed the 8s delay down to sub 1s per request but pages per second only went up to 
5.18. 

This seems a little low to me especially since ALL the processing has been removed! 
This is like testing tomcat serving a blank page through Struts now. Another app that 
we run based on Java which uses its own built in page builder and queries the same 
database manages 16 pages per second. 

I know there are so many other factors involved here but if anyone has any suggestions 
as to where I could now look/tune in Tomcat I would appreciate it more than anything 
as we are looking to launch quite soon. I will need to address the 8s JSP time 
independently but if I can get the Tomcat/Struts serving a blank page up to a good 
pages per second, this will help an awful lot

Cheers, ADC





<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com";>www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to