Scheduling
The front-end load balancing function of the appliance supports several types of scheduling.
In the environment, we might have some servers that are more powerful than others. We can configure the front-end load balancer to respect the relative performance of each server by setting a weight value for each server. We can assign weights between 1 and 256, with 256 indicating the most powerful server.
For information about how to configure the weight of each server and select the scheduling algorithm, see Configure front-end load balancer.
The following scheduling types are supported:
- lc
- Least connection. The server with the lowest number of connections receives the request. This algorithm is dynamic so we can update the weight ratios in real time.
- rr
- Round robin. Requests are rotated between the servers. This algorithm is dynamic and uses the weight parameter assigned to each server.
- srr
- Static round robin. Each server is used in turn according to the defined weight for the server. This algorithm is static so we cannot dynamically change the weight ratio for a server.
- sh
- Source hashing. A hash of the source IP is divided by the total weight of the running servers to determine which server receives the request. This algorithm inherently sends requests from the same IP address to the same server provided the available servers remains unchanged.
Parent topic: Front-end load balancer