-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add jitter for the subsequent DNS queries (#2170)
Motivation: Current DNS implementation of the `ServiceDiscoverer` sends new queries after each TTL expires. This may lead to spikes in load on DNS servers if many clients align their requests based on the returned TTL value. Modifications: - Add jitter for the subsequent DNS queries; - Allow users to customize jitter value; Result: Subsequent DNS queries are spread out in time using jitter.
- Loading branch information
1 parent
39528ed
commit fbd5cf5
Showing
3 changed files
with
33 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters