uCosminexus Application Server, Web Container Functionality Guide
2.18.4 Guidelines for setting the number of concurrently executing threads (URL group)
This subsection provides guidelines for specifying the settings to control the number of concurrently executing threads in the URL group.
- When specifying the settings to control the number of concurrently executing threads in the URL group, set up the followings beforehand:
- Maximum number of concurrently executing threads of Web container
- Maximum number of concurrently executing threads, number of dedicated threads, pending queue size for each Web application
- Follow this order to determine the value you want to set:
- Set the maximum number of concurrently executing threads in the URL group.
- Set the number of dedicated threads in the URL group.
- Set the size of a pending queue in the URL group.
- Set the URL pattern.
- In the maximum number of concurrently executing threads in the URL group, set an appropriate value for the business logic present in the J2EE application.
For example, if the processing of specific business logic is heavy, by setting an upper limit to the number of concurrently executing threads of that business logic, you can prevent the business logic from occupying the entire Web application capacity, even if the access to the business logic is centralized.
- Set the number of dedicated threads in URL group to execute specific business logic without being affected by other business logics in the Web application.
- Set the pending queue size in the URL group to set an upper limit for the flow to specific business logic. The guidelines for setting the pending queue in the URL group is the same as that for the default pending queue and the pending queue in the Web application.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.