LoadBalancerServlet
The LoadBalancerServlet can be used to activate load balancing between two or more Servlets (usually BackendConnectorServlets).
ch::nevis::nevisproxy::servlet::loadbalancer::LoadBalancerServlet
libLoadBalanceServlets.so.1
BC.Tracer.DebugProfile.NPLoadBalance
Configuration
Servlets
Type: comma-sepratated list of servlet names
Usage Constraints: required
Define the servlets over which load balancing has to be done.
RetryTimeout
Type: integer
Unit: seconds
Usage Constraints: required
Timeout after which a connection to a servlet which was down should be retried again.
Algorithm
Type: enum
Possible values: RoundRobin
Default: RoundRobin
The load balancing algorythm to use.
IsAliveURI
Type: string Usage Constraints: required, optional
If an IsAliveUri is set, then the LoadBalancerServlet calls this URI when the backend is down. The URI is called all RetryTimeout seconds until the backend returns a status code 200 is down. Once the backend is up, the URI is not called any more, except when the backend is marked down again after a normal request.