Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
dnsdist: do not iterate over hash map for chashed based query distribution #6939
This changes how consistent hashing based query distribution is made to use
Thank you so much for writing this fix! I prepared binary package with this patch and it works very well.
Before this patch, each lookup to dsndist consumed about 200ms:
After applying patch, lookup time decreased drastically :
Direct lookup to 126.96.36.199 or 188.8.131.52 from my machine is about 2ms.