Nonstop platform configurations, Determining the application parameters, Determining the maximum capacity of nsjsp instance – HP Integrity NonStop H-Series User Manual
Page 307
![background image](/manuals/397675/307/background.png)
16 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
•
Hibernate Framework Configurations for NonStop Systems
•
Module File Caching Configurations
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
•
Determining the Maximum Capacity of NSJSP Instance
•
Configuring iTP WebServer for Hibernate Applications
•
Configuring NSJSP for Hibernate Applications
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.
3.
Set the value of
Maxlinks
to 250. This is the maximum number of links to the server process
(NSJSP process). This means that the server process must be capable of processing 250
requests simultaneously.
NonStop Platform Configurations
307