beautypg.com

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

Page 239

background image

12 Configuring MyFaces Applications on NonStop Systems

This chapter provides information about configuring JavaServer Faces (MyFaces) applications
on NonStop systems. This chapter includes the following section:

NonStop Platform Configurations

NonStop Platform Configurations

On a NonStop system, an application developed using the MyFaces 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 steps to complete the following activities:

Determining the Application Parameters

Determining the Maximum Capacity of NSJSP Instance

Configuring iTP WebServer for MyFaces Applications

Configuring NSJSP for MyFaces 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 MyFaces application is 1 second and 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, can 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

239

This manual is related to the following products: