Sun GlassFish Enterprise Server v2.1.1 Performance Tuning Guide

Process Overview

The following table outlines the overall administration process, and shows where performance tuning fits in the sequence.

Table 1–1 Performance Tuning Roadmap

Step 

Description of Task 

Location of Instructions 

Design: Decide on the high-availability topology and set up the Application Server and, if you are using HADB for session persistence, high-availability database (HADB) systems. 

Deployment Planning Guide

Capacity Planning: Make sure the systems have sufficient resources to perform well. 

Deployment Planning Guide

Installation: If you are using HADB for session persistence, ensure that the HADB software is installed. 

Installation Guide

Deployment: Install and run your applications. Familiarize yourself with how to configure and administer the Enterprise Server. 

Application Deployment Guide

Administration Guide

Tuning: Tune the following items: 

  • Applications

  • Enterprise Server

  • Java Runtime System

  • Operating system and platform

  • High availability features

The following chapters:

ProcedurePerformance Tuning Sequence

Application developers should tune applications prior to production use. Tuning applications often produces dramatic performance improvements. System administrators perform the remaining steps in the following list after tuning the application, or when application tuning has to wait and you want to improve performance as much as possible in the meantime.

Ideally, follow this sequence of steps when you are tuning performance:

  1. Tune your application, described in Chapter 2, Tuning Your Application

  2. Tune the server, described in Chapter 3, Tuning the Enterprise ServerChapter 3, Tuning the Enterprise Server

  3. Tune the high availability database, described in Chapter 6, Tuning for High-Availability

  4. Tune the Java runtime system, described in Chapter 4, Tuning the Java Runtime System

  5. Tune the operating system, described in Chapter 5, Tuning the Operating System and Platform