Mobile app retries turned a two-minute API blip into a 40-minute outage
A brief slowdown in an API lasted only a couple of minutes, but service stayed degraded after the underlying cause was fixed. Traffic remained several times above normal until operators rate limited mobile clients at the edge. Installed apps were retrying failed requests aggressively, and these retries multiplied load precisely when the server was least able to handle it. Problems compounded when retries happened at multiple code layers, when fixed delays kept clients synchronized, and when timed-out requests were retried even though the server might still be processing them. The article recommends retrying only transient errors, using exponential backoff with jitter, limiting attempts, honoring Retry-After headers, and adding circuit breakers.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in