GlassFish 3.1 What's New - Performance!

People usually expect performance improvements from "dot 1" releases and that's a fair aspiration for GlassFish 3.1. Performance can obviously mean different things to different people but we believe there's good news for most of you with this release of GlassFish 3.1.

Application server veteran and benchmark guru Scott Oaks discusses the performance enhancements in this release from both the developer and high-availability (HA) perspectives which show each improvements in the double digits over the 3.0 release.

Original picture from http://www.flickr.com/photos/martin_heigan/4544138976

Scott's blog post covers improved startup, deploy and redeploy times and the benefits of the modular architecture introduced with GlassFish V3 because "in the end, pure startup isn't what is important -- what's important is how quickly you can get all of your work done".

Because this is not a new area for GlassFish, the HA part also got its share of performance improvements building on the work delivered in previous incarnations and derivatives of the product. In particular both the GlassFish underlying Grizzly-based nio framework and the in-memory replication have seen session serialization and general implementation improvements enhancing HA's both full session and modified-attribute replication scopes.

When it comes to performance, the Performance Tuning Guide is probably a good place to start.

Comments:

I was a bit surprised when I tried out to deploy our webapp on glassfish 3.1 and in the end the deployment failed with OOM Exception with max heap size 1Gb. The webapp is not a small one, nevertheless it can easily be deployed, I'm not even saying it can run, on WebSphere or Tomcat with even smaller heap, and on Glassfish 2.0 it wasn't a problem too. I cannot check out at the moment what heap would be enough for 3.1 but it is weird, isn't it?

Posted by Dmitri Blinov on March 05, 2011 at 01:26 AM PST #

Thanks for your comment. There are various causes for OOM's and deployment is a non trivial process. Can you share details on users@glassfish.java.net (or here: http://www.java.net/forums/glassfish/glassfish) ? thanks!

Posted by Alexis MP on March 05, 2011 at 04:10 AM PST #

Post a Comment:
Comments are closed for this entry.