[dnsdist] leastOutstanding - With priority
daniel.stirnimann at switch.ch
Thu Jan 5 09:51:13 UTC 2017
> - Is it possible to tweak the load balancing policy to take the order
> into account to do this instead?
Why not firstAvailable which takes order into account?
firstAvailable picks the server with the lowest order not exceeding its
QPS limit (if defined). If all server exceeded its QPS limit, it selects
server by leastOutstanding policy.
If you add to your newServer config a QPS limit, you would end up with:
dns1 - active
dns2 - standby unless dns1 offline or QPS limit reached
dns-slave - standby unless both dns1 and dns2 are offline or they
reached their QPS limit
More information about the dnsdist