Tune the response rate threshold settings when your performance testing indicates a severe degradation of server performance under load. When tuning, consider the following:
Deciding where to apply the settings You can apply response time thresholds to components, servers, or listeners. Choose the entity that has the greatest affect on client load and that has the least unintended effects on other applications running in the same server. For example:
Apply memory-threshold settings to the server to govern all client requests, regardless of type.
If the application front end is a Web application, you can apply response-time or memory-threshold settings to your HTTP listener since all client requests pass through it.
If clients connect to EJB session beans, apply the settings to the session bean components or the IIOP listener, so that the number of session bean instances governs the applied load.
If a component accesses a database, and the client load tends to overwhelm the database, apply a response-time threshold to this component to throttle the database load to manageable levels. (You could also tune the data source size as described in “Data source settings”.)
WARNING! When applying response rate thresholds to components, some configurations can introduce the possibility of deadlock—see “Avoiding deadlock scenarios”.
Choosing a response time threshold Use performance testing under controlled client loads to determine a realistic value for response times under high load conditions. Apply this setting as the allowable Maximum Response Time for the component or listener. This setting prevents response times from growing exponentially under worst-case load conditions; it does not make the server run faster.