Choosing the right scheduling algorithm for a Linux Based Load Balancer
This is the current scenario:
- Two identical webservers, mirrored hardware and software specifications.
- The main variable is physical location of the second webserver, but it is located on the same physical network but a different building.
- Network traffic may or may not be an issue.
Weighted Least-Connections (default)
Distributes more requests to servers with fewer active connections relative to their capacities.
Capacity is indicated by a user-assigned weight, which is then adjusted upward or
downward by dynamic load information. The addition of weighting makes this algorithm
ideal when the real server pool contains hardware of varying capacity.
-n