{
  "id": 22622155,
  "title": "System Design, Plainly — Season 2, Part 10: Timeouts, Retries & Circuit Breakers",
  "url": "https://urgent.news/2026/11/29/system-design-plainly-season-2-part-10-timeouts-retries-circuit",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-29T17:07:44.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/danielsamfdo/system-design-plainly-season-2-part-10-timeouts-retries-circuit-breakers-347m"
  },
  "original_language": null,
  "account": "Season 2 of the series concludes with the three patterns that determine whether a single slow dependency can bring an entire system down. Parts 1-9 have provided the essential building blocks: leader election, consensus, coordination (transactions, sagas), and discovery and communication mechanisms (gossip, service discovery, locking). This part focuses on what happens when these building blocks become slow, culminating in a benchmark where five layers of retries multiply one user request into 243 downstream calls.\n\nThe key patterns are individually straightforward, but when used incorrectly, they can cause a system outage. The source provides data from a simulated 20,000 requests with a dependency latency of 50 ms (median), 5% transient 503s, and a slowdown where 20% of requests take 3 seconds. The results show that naive retries only add 4 points of success at a cost of 1.44x load; however, a 10% retry budget can maintain that gain at 1.10x load. A circuit breaker, on the other hand, cuts wasted calls during a 60-second outage from 6,000 to just 618.\n\nTo understand these concepts more simply, a timeout is a promise to yourself that you will wait a certain amount of time before giving up on a slow dependency. Without a timeout, a slow dependency can hold up your entire thread, connection, and memory, causing a cascade of failures as other services queue behind it. A retry is a second chance; if the initial request fails, perhaps it was just a temporary blip, try again. The problem with retries is that they multiply. If you retry three times and the service you called retries three times, and the service it called retries three times, a single user request can turn into 27 calls to the database, tripling its load at the worst possible moment.\n\nA circuit breaker acts as a fuse box in this scenario. When failure rates exceed a certain threshold, the breaker opens, preventing any further calls to the problematic dependency. This allows the dependency to recover quietly, while callers receive an immediate error instead of waiting for a timeout. The circuit breaker is the only pattern that reduces load during an outage rather than adding to it.",
  "summary": "Season 2 closes with the three patterns that decide whether one slow dependency takes your whole system down with it. Parts 1–9 gave you the machinery for agreeing (leader election, consensus), coordinating (transactions, sagas), and finding each other (gossip, service discovery, locking). This part is about what happens when the machinery is slow — and the season's benchmark hook is the ugliest…",
  "summary_source": "publisher",
  "key_points": [
    "Timeouts prevent a slow dependency from holding up an entire thread, connection, or memory.",
    "Circuit breakers cut wasted calls during outages, reducing load instead of adding to it."
  ],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}