I have three small questions that relate to the same topic:
- With HAProxy, is there any way to load balance based on the current load of the different servers (ie. routing a request to the least loaded server).
- If not, why isn't this behaviour built into HAProxy? Are there any major performance impacts of doing this? I imagine rather than for example, the instead of looking for the least connections (
leastconnalgorithm), that I'd be looking for the lowest load.
- If there are no major performance impacts of doing this, is my assumption that one could build this functionality into a custom HAProxy distribution without affecting performance correct?