‹ BackHN Continuity

Thread

How Uber Protects Against Retry Storms

120 points · 49 comments · iscmt

  1. whoevercares · · focus · HN ↗
    Token bucket is all you need
    1. prologic · · focus · HN ↗
      Not quite. A token. bucket alone would not prevent a retry storm if you have a chain of services A -> B -> C -> D with a failure in D, you'd end up still having A, B & C all performing retries as they cascade through the chain, albeit (yes) at your configured rate-limits (using token bucket), but you'd still end up with an amplification effect.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.