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

DNS cache enhancement #4729

Open
wants to merge 3 commits into
base: v2.7
Choose a base branch
from
Open

DNS cache enhancement #4729

wants to merge 3 commits into from

Conversation

rahim-kanji
Copy link
Collaborator

@rahim-kanji rahim-kanji commented Oct 25, 2024

  • Introduced a 5% jitter to cache_ttl to increase the likelihood of distributing DNS resolution across multiple intervals, reducing the chance of simultaneous expiry times.
  • Added a small delay after queuing, allowing DNS resolver thread time to process as many hostnames as possible before assessing the need for additional helper threads. This prevents 'DNS resolver queue too big' warnings from filling up the logs.

Closes #4730

  distributing DNS resolution across multiple intervals, reducing the
  chance of simultaneous expiry times.
* Added a small delay after queuing DNS records, allowing DNS resolver
  thread time to process as many hostnames as possible before assessing
  the need for additional helper threads. This helps prevent 'DNS
  resolver queue too big' warnings in the logs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DNS Cache Enhancement
1 participant