users@glassfish.java.net

Getting Maximum Performance out of Glassfish

From: <glassfish_at_javadesktop.org>
Date: Wed, 23 Jul 2008 04:03:01 PDT

Hello,

I've got a simple Web Application deployed on Glassfish thats on mostly default settings and I've been stress testing it with JMeter on a separate machine. Upon invocation of the Servlet's service() method, it reads request header info into a string array and creates a new session container and then stores the string array into it, then a hardcoded a static html sent out via response's outputStream. As expected, the response time is pretty fast since its running on a Sunfire X2100. At around 20 simultaneous hits, it averages at 3 seconds, but at 50 hits the response goes up to 7 seconds and gets worse as the simultaneous hits increase.

Is there a way to make it average at around 5 seconds with 200 simultaneous hits without any changes to the hardware?

Thanks in advance.
[Message sent by forum member 'oilagan' (oilagan)]

http://forums.java.net/jive/thread.jspa?messageID=288647