‹ BackHN Continuity

Thread

How Uber Protects Against Retry Storms

120 points · 49 comments · iscmt

  1. maxchisto · · focus · HN ↗
    I'm suspicious of load shedding not mentioned in the article. Combine that with exp backoff in the caller and you got yourself a pretty robust starting point
    1. otterley · · focus · HN ↗
      429 (and sometimes 503) errors returned by servers might well be a symptom of intentional load shedding. Perhaps it's just not explicitly called out as a server behavior that induces client retries.
    2. hxtk · · focus · HN ↗
      I’d like to mention it since Uber has a really cool load shedder [1], also implemented similarly by Netflix [2] and failsafe-go [3]. It basically looks for points where more requests per second suddenly cause a significant increase in latency and calls that the concurrency limit.

      1: <a href="https:&#x2F;&#x2F;www.uber.com&#x2F;us&#x2F;en&#x2F;blog&#x2F;cinnamon-using-century-old-tech-to-build-a-mean-load-shedder&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.uber.com&#x2F;us&#x2F;en&#x2F;blog&#x2F;cinnamon-using-century-old-t...

      2: <a href="https:&#x2F;&#x2F;github.com&#x2F;Netflix&#x2F;concurrency-limits" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Netflix&#x2F;concurrency-limits

      3: <a href="https:&#x2F;&#x2F;failsafe-go.dev&#x2F;adaptive-limiter&#x2F;" rel="nofollow">https:&#x2F;&#x2F;failsafe-go.dev&#x2F;adaptive-limiter&#x2F;

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.