Weighted round robin
Splitting by turns where each server has a weight based on how much it handles: the heavier one gets more requests.
Example
With weights 2 and 1, out of every 300 requests the weight-2 server gets 200 and the other 100.
Test yourself: Weighted round robin
Load balancers
A handles 200 requests per second and B 100. Which algorithm fits?
With 300 requests, the weights give 200 to A and 100 to B: exactly their capacity. Half and half would give 150 to B, which handles 100.
0/1
â–¶ Play