users@glassfish.java.net

Re: Glassfish helloworld run slow!

From: Scott Oaks <Scott.Oaks_at_Sun.COM>
Date: Wed, 27 Feb 2008 10:04:09 -0500

On Wed, 2008-02-27 at 08:54, glassfish_at_javadesktop.org wrote:
> I do some test on my pc.
> I install
> Apache + php
> and
> Netbeans 6 with Tomcat and Glassfish
>
> I make a simple hello world script in php and the equals one in jsp.
>
> I install JMeter and run 100 thread that call hello world example.
>
> The average response time is 3 milliseconds for Apache and Tomcat version.
> The average response time for glassfish is 3200 millis.
>
> Why glassfish response time is so greater?
> p.s. I use glassfish bundled with netbeans without any customization.

If you're going to run performance tests, you need to tune glassfish.
The Netbeans configuration is tuned for fast startup and fast
deployment.

Check out the performance tuning guide, or look for performance blogs by
Jeanfrancois on how to tune glassfish to compare to tomcat.

-Scott


> [Message sent by forum member 'peppeme' (peppeme)]
>
> http://forums.java.net/jive/thread.jspa?messageID=261166
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>