]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix mistake in the bounded-load documentation of chashed
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 6 Mar 2020 16:18:25 +0000 (17:18 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 6 Mar 2020 16:18:25 +0000 (17:18 +0100)
pdns/dnsdistdist/docs/guides/serverselection.rst

index 5fed28062eda942c635e1f09e1299202689c8340..7e8ad323c244826a291ac6b217a4a530674a47f5 100644 (file)
@@ -71,7 +71,7 @@ Since 1.5.0, a bounded-load version is also supported, preventing one server fro
 
 The algorithm will try to select a server based on the hash of the qname, as is done when no bounded-load is set, but will disqualify all servers that have more outstanding queries than intended times the factor, until a suitable server is found. The higher the factor, the more imbalance between the servers is allowed.
 
-For example, if we have two servers, with respective weights of 1 and 4, we expect the first server to get a fifth of the queries, and the second one 4/5. If the qname of the queries are not perfectly distributed, some server might get more queries than expected. Setting :func:`setWeightedBalancingFactor` to 1.1 limits the imbalance between the ratio of outstanding queries actually handled by a server and the expected number, so in this example the first server would not be allowed to handle more than 1.1/5 of all the outstanding queries at a given time.
+For example, if we have two servers, with respective weights of 1 and 4, we expect the first server to get a fifth of the queries, and the second one 4/5. If the qname of the queries are not perfectly distributed, some server might get more queries than expected. Setting :func:`setConsistentHashingBalancingFactor` to 1.1 limits the imbalance between the ratio of outstanding queries actually handled by a server and the expected number, so in this example the first server would not be allowed to handle more than 1.1/5 of all the outstanding queries at a given time.
 
 ``roundrobin``
 ~~~~~~~~~~~~~~