Skip to content

DNS cache enhancement#4729

Merged
renecannao merged 3 commits intov2.7from
2.7_randomized_cache_ttl
Nov 11, 2024
Merged

DNS cache enhancement#4729
renecannao merged 3 commits intov2.7from
2.7_randomized_cache_ttl

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.
@renecannao renecannao merged commit b95f1dd into v2.7 Nov 11, 2024
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

2 participants