Skip to content

DNS cache enhancement - v3.0#4745

Merged
renecannao merged 2 commits intov3.0from
v3.0_randomized_cache_ttl
Nov 11, 2024
Merged

DNS cache enhancement - v3.0#4745
renecannao merged 2 commits intov3.0from
v3.0_randomized_cache_ttl

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
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