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 applies QPS to backend server even on cache hit #7038

Closed
ahupowerdns opened this issue Oct 7, 2018 · 0 comments · Fixed by #9999
Closed

dnsdist applies QPS to backend server even on cache hit #7038

ahupowerdns opened this issue Oct 7, 2018 · 0 comments · Fixed by #9999
Assignees
Milestone

Comments

@ahupowerdns
Copy link
Contributor

  • Program: dnsdist
  • Issue type: Bug report

Short description

The firstAvailable policy uses QPS limits per server. These do not work as intended if a cache is attached to a pool: we first pick a server and THEN consult the cache. This means the server selection policy sees the uncached QPS, not the cached QPS.

This not alone breaks the QPS but also causes additional work.

Environment

dnsdist from master

Steps to reproduce

Configure backends with QPS, configure a cache, send ton of cacheable traffic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants