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

Implement exponential backoff on requeue #26

Open
brettscott opened this issue Feb 24, 2017 · 0 comments
Open

Implement exponential backoff on requeue #26

brettscott opened this issue Feb 24, 2017 · 0 comments

Comments

@brettscott
Copy link
Contributor

Requeue is primarily used when a service is temporarily unavailable. Knowing the exact recovery time is difficult to know as it could be a very temporary network glitch or a DB timeout dude to congestion.

Previous implementations supported infinite retries (which can cause a self-inflicted DOS attack).

We need something in between a fixed-time window and infinite. A compromise could be an exponential backoff where the requeue TTL increases exponentially up to an upper limit.

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

No branches or pull requests

1 participant