beautypg.com

HP Integrity NonStop H-Series User Manual

Page 308

background image

4.

Set the value of

TANDEM_RECEIVE_DEPTH

to 250 (because the values of

Maxlinks

and

TANDEM_RECEIVE_DEPTH

should be equal). A value of 250 means that the NSJSP process

is able to read a maximum of 250 messages simultaneously from its

$RECEIVE

file.

5.

Configure the

Executor

element in the

<NSJSP deployment

directory>/conf/server.xml

file on OSS. The

Executor

element is used by the

Connector

element as a thread pool. Set

maxThreads

= 300,

minSpareThreads

= 10 and

maxIdleTime

= 30000. Using an

Executor

element helps monitor the number of active

threads at any given time. A value of 300 for

maxThreads

ensures that you have enough

threads to process all incoming requests (a maximum of 250) simultaneously. A value of
30000 for

maxIdleTime

ensures that if a thread is idle for more than 30 seconds, that thread

will be stopped.

After configuring the parameters, you might want to use a tool that can simulate the HTTP clients
and can handle the HTTP cookies. The tool reveals the number of HTTP clients that a single
instance of NSJSP can handle and indicates the number of simultaneous HTTP requests that
NSJSP is capable of handling.

NOTE:

There are a number of HTTP client simulators available, for example, Apache JMeter,

Mercury LoadRunner, and Radview Webload. These tools provide a good interface to monitor
the test results. You can use any of these tools to determine the maximum handling capacity of
each NSJSP instance.

To arrive at the required numbers, complete the following steps:

1.

Run the test tool with a single instance of the HTTP client simulator.

NOTE:

The test tool must be capable of displaying the response time of the HTTP requests.

2.

Monitor the response time of the HTTP requests and allow your application to attain a steady
state (in terms of response time per HTTP request).

3.

At steady state, check if the response times are within the Service Level Agreement (SLA).

4.

If the response time is within the SLA, increase the number of HTTP client instances and
repeat step 2 onwards.

5.

If the response time is beyond the acceptable SLA, stop the tests and determine the number
of HTTP clients and the number of HTTP requests that NSJSP instance can process
simultaneously.

While the test tool can indicate the number of HTTP clients that are processed simultaneously,
the number of simultaneous HTTP requests can be arrived at using different means. Following
are some of the calculation strategies:

The number of HTTP requests recorded by the testing tool and idea of the number of requests,
which required processing by NSJSP, provides the total number of HTTP requests processed
by NSJSP.

The total number of HTTP requests processed by NSJSP together with the test duration
indicates the average number of simultaneous HTTP requests handled by NSJSP.

Configuring iTP WebServer for Hibernate Applications

The

httpd

process of iTP WebServer is responsible for managing the load and forwarding the

requests to their corresponding application servers. The context of this section is limited to the
configurations related to

httpd

processes only.

Configuring the

httpd

process involves the following tasks:

Configuring

httpd

Processes to Handle Maximum Load

Limiting the Maximum Number of Incoming Requests

308

Configuring Hibernate Applications on NonStop Systems

This manual is related to the following products: