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 - v3.0 #4745

Merged
merged 2 commits into from
Nov 11, 2024
Merged

DNS cache enhancement - v3.0 #4745

merged 2 commits into from
Nov 11, 2024

Conversation

rahim-kanji
Copy link
Collaborator

  • 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

…istributing 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.
@renecannao renecannao merged commit b3ae0df into v3.0 Nov 11, 2024
92 of 118 checks passed
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.

2 participants