Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dnsdist: Speed up the processing of large ring buffers #6350

merged 7 commits into from Mar 19, 2018


Copy link

Short description

  • We kept track of the remote addresses for each StatNode entry, copying them around several times, while we never used them in dnsdist (dnsscope does)
  • The exceed* functions (or more precisely the filterScore() one) sorted their return based on the score. We didn't used that (undocumented) property, and it led to unneeded copy of entire maps
  • Use a reserve()'d unordered_map instead of a map for exceed* operations


I have:

  • read the document
  • compiled and tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)

@rgacogne rgacogne merged commit 90cb19f into PowerDNS:master Mar 19, 2018
@rgacogne rgacogne deleted the dnsdist-lua-inspection-perfs branch March 19, 2018 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.

None yet

1 participant