On 07/28/2017 10:30 AM, Frank Even wrote:
>> That's not expected, especially since we keep no state to do the
>> load-balancing. Which policy are you using, wrandom or whashed?
> 
> Whatever is default.  Is whashed default?  Here's my config (minus the
> ACLs and setKey), it was simple for testing:

OK, so the default load-balancing policy is leastOutstanding, sending
queries to the server with the least outstanding queries, then the
lowest order if there is a tie and finally the lowest latency. This
policy doesn't use the weight at all, so it explains why your results
were not conclusive.

Ideally we should implement a weighted consistent hashing policy to deal
with use cases such as yours. Willy Tarreau suggested it a few months
ago and was kind enough to explain to me how it's done in HAProxy, but I
haven't found the time to seriously look into it yet.

-- 
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
dnsdist mailing list
dnsdist@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist

Reply via email to