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

Page 52

Advertising
background image

4 Configuring Spring Applications on NonStop Systems

This chapter provides information about configuring Spring applications on NonStop systems and
includes the following sections:

“NonStop Platform Configurations” (page 52)

“Spring Framework Configurations” (page 62)

“Module File Caching Configurations” (page 73)

NonStop Platform Configurations

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

“Determining the Application Parameters” (page 52)

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

“Configuring iTP WebServer for Spring Applications” (page 53)

“Configuring NSJSP for Spring Applications” (page 57)

Determining the Application Parameters

You need to determine the following parameters of your application:

Average Response Time

Average Load

Maximum Load

For a unit response time, the number of active requests to the 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 Spring 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 the iTP WebServer can be a maximum of 150. Further requests are queued up and
remain inactive until started by httpd.

The other parameters, 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 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.

52

Configuring Spring Applications on NonStop Systems

Advertising
This manual is related to the following products: