Nonstop platform configurations, Determining the application parameters, Determining the maximum capacity of nsjsp instance – HP Integrity NonStop J-Series User Manual

Page 170

Advertising
background image

8 Configuring Hibernate Applications on NonStop Systems

This chapter provides information about configuring Hibernate applications on NonStop systems.
This chapter includes the following sections:

“NonStop Platform Configurations” (page 52)

“Hibernate Framework Configurations for NonStop Systems” (page 180)

“Module File Caching Configurations” (page 190)

“Enabling Browse Access” (page 191)

NonStop Platform Configurations

On a NonStop system, an application developed using the Hibernate framework is deployed as
a web application in the NSJSP container. Thus, it inherits all the NSJSP properties and
configurations, and runs as any other NSJSP web application running on a NonStop system. This
section discusses the following tasks:

“Determining the Application Parameters” (page 170)

“Determining the Maximum Capacity of NSJSP Instance” (page 52)

“Configuring iTP WebServer for Hibernate Applications” (page 171)

“Configuring NSJSP for Hibernate Applications” (page 175)

Determining the Application Parameters

You need to determine the following parameters for your application:

Average Response Time

Average Load

Maximum Load

For a unit response time, the number of active requests to iTP WebServer is a maximum of its static
capacity during the average load conditions. During peak load conditions, the number of active
requests to the iTP WebServer is a maximum of its dynamic capacity.

For example,

If the average response time of your Hibernate application is 1 second and the iTP WebServer is
configured to handle 100 requests statically and 50 requests dynamically, then during average
load conditions, the number of active requests to the iTP WebServer can be a maximum of 100.
During peak load conditions, 50 more requests can be served dynamically and hence, the active
requests to iTP WebServer can be a maximum of 150. Further requests are queued up and remain
inactive until started by httpd.

The other parameters, such as Average Load and Maximum Load, help you decide the configuration
of the static and dynamic httpd processes of the iTP WebServer.

Determining the Maximum Capacity of NSJSP Instance

Before configuring the NSJSP parameters, you must determine the capacity of a single instance of
NSJSP. To determine the maximum load for a single instance of NSJSP, it is important to first
configure the relevant TS/MP and server parameters of NSJSP (of the single instance) to their
maximum limit in the following way:

1.

Set the value of Numstatic to 1. This limits the number of static instances of NSJSP to 1.

2.

Set the value of Maxservers to 1. This limits the number of NSJSP instances that can be
started to 1. This implies that TS/MP cannot start more than one instance of NSJSP.

170

Configuring Hibernate Applications on NonStop Systems

Advertising
This manual is related to the following products: