Object Request Broker tuning guidelines
Use these guidelines to improve the performance of the Object Request Broker (ORB). Tuning results vary based on your specific system and applications.
Logical Pool Distribution (LPD)
LPD provides a mechanism to allow the shorter requests greater access to execution threads. In some cases, requests with longer execution times can limit requests with shorter execution time from accessing threads in the thread pool. As a result, the response times increase for requests with short execution times. In these cases, LPD might improve performance. For more information, see Logical Pool Distribution.
If Web clients that access Java applications consistently experience problems with their requests, and the problem cannot be traced to other sources and addressed through other solutions, consider setting an ORB timeout value and adjusting it for your environment.
Note: Web browsers vary in their language for indicating that they have timed out. Usually, the problem is announced as a connection failure or no-path-to-server message. Verify that the requests are timing out before you attempt to change these settings.
Set the ORB timeout value lower than the Web client's timout interval. Because it can be difficult to determine the timeout interval for a Web client, you may need to experiment to find an ideal ORB timeout setting. Another difficulty is that the ideal testing environment features some simulated network failures for testing the proposed setting value.
In most cases, 30 seconds is an acceptable initial value for the ORB timeout. Do not set this value too low. To fine-tune the setting, gradually decrease the setting until you reach the threshhold at which the value becomes too low. Set the value slightly higher than the threshold. To confirm that the setting is at the threshold, check for an increase CORBA 'NO_RESPONSE' exceptions. When the ORB timeout value is too low, these exceptions occur frequently, even when requests should be successful.
Note: Do not adjust an ORB timeout value unless you experience a problem with client requests. If you specify a value that is inappropriate for the environment, additional problems might occur.
To modify timeout intervals for the Java ORB, edit these properties:
- Request timeout This value specifies the number of seconds to wait before timing out on most pending ORB requests if the network fails.
- Locate request timeout This value specifies the number of seconds to wait before timing out on a locate-request message
In the administrative console, these properteis are on the ORB Service page for your application server. For more information about these properties, see Object Request Broker service settings.