Hitachi

uCosminexus Application Server System Design Guide


8.3.4 Controlling the number of concurrent executions of a Web application

In the case of a Web front-end system, the control of concurrently executed threads of a Web Application controls the number of threads in which the Web server will concurrently process the HTTP requests received from clients like the Web browser.

Organization of this subsection

(1) Difference in the control of number of concurrently executed threads

The difference in the control of the number of concurrently executed threads in the case of each Web container, Web application and URL group is explained below:

Web container

You can set the number of threads for simultaneous processing of HTTP requests in the entire Web container.

Web application

You can set the number of threads for simultaneous processing of HTTP requests for each Web application running in the Web container.

URL group

You can set the number of threads for simultaneous processing of HTTP requests for each URL when assigning HTTP requests to specific URLs of a Web application, each of which corresponds to specific business processing (business logic).

The figure below illustrates the relationship between concurrently executed threads of each Web container, Web application, and URL group.

Figure 8‒4: Relationship between concurrently executed threads of each Web container, Web application, and URL group

[Figure]

Important note

Control of the maximum number of concurrently executed threads at the Web container level only takes effect when control of the number of concurrently executed threads at the Web application level is disabled.

When the number of concurrently executed threads is controlled at the Web application level, the maximum number of concurrently executed threads at the Web container level is checked by the function that controls this number at the Web application level. For details, see 2.15.6 Example of setting the number of concurrently executing threads and the size of a pending queue (Web application) in the uCosminexus Application Server Web Container Functionality Guide.

The execution of requests for a Web application is controlled by the number of concurrently executed threads set in each Web container, Web application, and URL group. A request that exceeds the number of concurrently executed threads that are set in each Web container, Web application, and URL group enters the respective pending queue.

(2) Guidelines for selection

The guidelines for selecting the unit of control for concurrently executed threads are explained below:

For details about the functionality for controlling the number of concurrently executed threads, see 2.13 Overview of control over the number of concurrently executed threads in the uCosminexus Application Server Web Container Functionality Guide.