logoalt Hacker News

throwaway31415511/20/20241 replyview on HN

> basically never want exponential backoff.

> [unless] due to a rate limit

Pretty common use-case for automatic retries...


Replies

jstanley11/21/2024

That's fine!

If it's for a rate limit, sure, use exponential backoff, and put a known upper bound on how long you'll back off for.

But don't make your application wait for 50 minutes to come back up just because the database was down for 25 minutes. That's the kind of thing I am protesting here.