Root performance fixes after tests by Anand #4317

merged 10 commits into from Aug 16, 2016


None yet

2 participants


This PR does a number of things.

  1. Testing exposed that at high query rates, we were basically cleaning the cache non-stop. With this PR, we only clean once every 30 seconds at most.
  2. some 64 bit unsigned counters would in fact go negative. While investigating, I found a scruffy AtomicCounter implementation, which has now been replaced by std::atomic.
  3. When doing additional processing, we'd do an A and a AAAA query for every eligible record. This has now been replaced by 1 ANY query + filtering
@Habbie Habbie merged commit a861269 into PowerDNS:master Aug 16, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment