From: bert hubert Date: Tue, 17 Nov 2015 15:06:28 +0000 (+0100) Subject: explain that leastOutstanding also looks at latency now X-Git-Tag: dnsdist-1.0.0-alpha1~216 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b608429c4758a843d46969cf0c42fca430346e08;p=thirdparty%2Fpdns.git explain that leastOutstanding also looks at latency now --- diff --git a/pdns/README-dnsdist.md b/pdns/README-dnsdist.md index d4da5e6fa2..cd1db78484 100644 --- a/pdns/README-dnsdist.md +++ b/pdns/README-dnsdist.md @@ -410,7 +410,7 @@ 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'. +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. @@ -615,7 +615,7 @@ Here are all functions: * `firstAvailable`: Pick first server that has not exceeded its QPS limit, ordered by the server 'order' parameter * `wrandom`: Weighted random over available servers, based on the server 'weight' parameter * `roundrobin`: Simple round robin over available servers - * `leastOutstanding`: Send traffic to downstream server with least outstanding queries, with the lowest 'order' + * `leastOutstanding`: Send traffic to downstream server with least outstanding queries, with the lowest 'order', and within that the lowest recent latency * Shaping related: * `addQPSLimit(domain, n)`: limit queries within that domain to n per second * `addQPSLimit({domain, domain}, n)`: limit queries within those domains (together) to n per second