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

Use jitter in waiters and account for overflows #656

Merged
merged 1 commit into from
Dec 4, 2020

Conversation

mtdowling
Copy link
Member

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mtdowling mtdowling requested a review from kstich December 4, 2020 20:40
This approached adds jitter to waiters and accounts for overflows.
This update ensures that the computed exponential wait time does not
cause integer overflows for larger numbers of attempts. Instead, we
compute at which point attempts will exceed maxAttempts and stop
computing an exponential increase.
@mtdowling mtdowling changed the title Use jitter in waiter retries Use jitter in waiters and account for overflows Dec 4, 2020
@mtdowling mtdowling merged commit 5403e30 into master Dec 4, 2020
@mtdowling mtdowling deleted the waiters-use-jitter branch December 11, 2020 17:58
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.

3 participants