Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Add jitter option to retry #9

Open
hharnisc opened this issue Dec 20, 2018 · 0 comments
Open

Add jitter option to retry #9

hharnisc opened this issue Dec 20, 2018 · 0 comments

Comments

@hharnisc
Copy link

If we use the same retry values, everywhere we're setting ourselves up for a thundering herd. What happens is that requests tend to line up with each other on the retry intervals over time. So adding jitter will help break up the cycles. Here's a great article from AWS with some data https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant