I am in the process of performance testing a system that has been developed 
using Stripes 1.4.2. The software will be used on an extremely popular website 
and will be serving in excess of 600 pages per second running across six web 
servers. In order to test the application we have used a mix of JMeter and a 
tool we have developed in house called Cannon. 

During the performance testing is was clear that the average response time was 
unacceptable for high volumes and we could see that the machines were not 
stressed from a load perspective. We initially thought the problem was related 
to the application code but after some investigation using JProbe and lots of 
debug we isolated the problem to the generation of the JSP page. The JSP page 
in question is doing almost no work, it simply builds a page containing 15 
drop downs using the stripes:options-collection tag.

Further investigation highlighted that the main problem was caused by the 
localization code in stripes. The stripes code attempts to load a country 
specific resource bundle for every item in the select list collection. This 
really slows down the generation of the HTML (should there be some caching 
here?)

In order to prove that this was the problem we developed a small test app. The 
app has one action that populated a collection (and does nothing else), a JSP 
using stripes tags to build 15 select lists and a pure JSP page to do the 
same. Running the test application under load shows that the pure JSP page 
generated on average in 1 millisecond however the stripes equivalent takes on 
average 500 milliseconds.

The application I am performance testing doesn't require any localization so 
is there any way to stop stripes from doing the localizatino work? Or is there 
some other performance help you could give? I really like stripes and think 
its a great framework, it would be a shame to have to rip it all out now and 
replace it with our own tag libs.

Regards

Pete



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to