From: Remi Gacogne Date: Mon, 18 Apr 2016 14:41:34 +0000 (+0200) Subject: dnsdist: Clarify a bit the documentation of load-balancing policies X-Git-Tag: dnsdist-1.0.0~7^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5efb31dbf44f56b42f84ca9ccc2290496aaee54c;p=pdns dnsdist: Clarify a bit the documentation of load-balancing policies --- diff --git a/pdns/README-dnsdist.md b/pdns/README-dnsdist.md index 2874d3acc..4c81f59d4 100644 --- a/pdns/README-dnsdist.md +++ b/pdns/README-dnsdist.md @@ -603,14 +603,15 @@ inspected or edited using showRule(), rmRule(), topRule(), mvRule() etc. Dynamic load balancing ---------------------- -The default load balancing policy is called 'leastOutstanding', which means -we pick the server with the least queries 'in the air' (and within those, the one with the lowest 'order', and within those, the one with the lowest latency). +The default load balancing policy is called `leastOutstanding`, which means +we pick the server with the least queries 'in the air' (and within those, +the one with the lowest `order`, and within those, the one with the lowest latency). -Another policy, 'firstAvailable', picks the first server that has not -exceeded its QPS limit gets the traffic. +Another policy, `firstAvailable`, picks the server with the lowest `order` that has not +exceeded its QPS limit. For now this is the only policy using the QPS limit. -A further policy, 'wrandom' assigns queries randomly, but based on the -'weight' parameter passed to `newServer`. `whashed` is a similar weighted policy, +A further policy, `wrandom` assigns queries randomly, but based on the +`weight` parameter passed to `newServer`. `whashed` is a similar weighted policy, but assigns questions with identical hash to identical servers, allowing for better cache concentration ('sticky queries').