Have you had a chance to look at the performance tuning document for
GlassFish and Scott Oak's primer document see:
http://docs.sun.com/app/docs/doc/819-3681 and
http://weblogs.java.net/blog/sdo/archive/2007/12/a_glassfish_tun.html
Cheers,
Chris
glassfish_at_javadesktop.org wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>