Configuring the Load Balancer

interval-in-seconds: Specifies the interval at which health checks of instances occur. The default is 30 seconds.

timeout-in-seconds: Specifies the timeout interval within which a response must be obtained for a listener to be considered healthy. The default is 10 seconds.

If the typical response from the server takes n seconds and under peak load takes m seconds, then set the timeout-in-seconds property to m + n, as follows:

<health-checker

url="http://hostname.domain:port" interval-in-seconds="n"timeout-in-seconds="m+n"/>

Chapter 6 • Tuning for High-Availability

121

Page 121
Image 121
Sun Microsystems 820434310 manual Tuning for High-Availability 121