Sun Microsystems GlassFish Performance Tuning Guide

This guide provides tips and techniques for improving the performance of the GlassFish Application Server, covering JVM, Web container, and EJB container…


Sun Microsystems GlassFish Performance Tuning Guide - cover page
Brand
Sun Microsystems
Category
Other software
Document type
User Manual
Language
English
Pages
30
File format
PDF
File size
154 KB
Published
11 November, 2026
Updated
11 November, 2026
MD5 checksum
1E852AF8630F27E1F8012788EB1976AD

About this manual

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.

What's inside

  • GlassFish Out-of-Box Performance
  • How to Tune GlassFish
  • Basic JVM Tuning
  • Web Container Tuning
  • EJB Container Tuning
  • Tuning System Resources
  • General Tuning Tips

Specifications

Default Admin Port4848
Default JVM Heap Size512 MB
Default HTTP Thread Count5
Default Keep-Alive Connections250
Default EJB Pool Minimum Size8
Default EJB Pool Maximum Size32

Frequently asked questions

Which JVM mode is recommended for performance testing?

The server mode, specified by the Java option '-server', is recommended for performance testing and cluster profiles.

What is the recommended thread count for HTTP requests in performance testing?

For performance testing, it is recommended to set the number of request processing threads to 32 or higher.

Download PDF (154 KB)

More Sun Microsystems Manuals


View all Sun Microsystems manuals →