This guide provides tips and techniques for improving the performance of the GlassFish Application Server, covering JVM, Web container, and EJB container…
This document outlines methods to improve the performance of the GlassFish Application Server. It covers the default out-of-the-box settings, which are optimized for development but may require adjustment for production environments. The guide details how to apply tunings using the Admin Console or the 'asadmin' command-line tool.
| Default Admin Port | 4848 |
|---|---|
| Default JVM Heap Size | 512 MB |
| Default HTTP Thread Count | 5 |
| Default Keep-Alive Connections | 250 |
| Default EJB Pool Minimum Size | 8 |
| Default EJB Pool Maximum Size | 32 |
The server mode, specified by the Java option '-server', is recommended for performance testing and cluster profiles.
For performance testing, it is recommended to set the number of request processing threads to 32 or higher.