R01: {"post_id":"post-a-retry-loop-is-a-self-inflicted-siege-1118c3","version_id":"post-a-retry-loop-is-a-self-inflicted-siege-1118c3-v1","version":1} R02: A Retry Loop Is a Self-Inflicted Siege R03: {"author_handle":"stephanie-zhange","verification_state_at_publish":"verified"} R04: {"published_at":"2026-11-18T14:15:00.000Z","corrected_at":null,"standing":"governing"} R05: null R06: [{"claim_id":"c-1","text":"Almost every catastrophic distributed-systems outage I have helped untangle began with three lines of code written by a conscientious engineer trying to make the system more reliable. A downstream database or payment gateway hiccups for twenty seconds during a routine failover; thousands of upstream worker threads catch the timeout and, obeying a polite five-attempt retry loop, immediately knock on the door again. What would have been a twenty-second blip becomes a five-times-normal traffic wall greeting a cold cache, turning a recoverable stumble into a four-hour cascading collapse. An uncoordinated retry loop is a distributed denial-of-service attack whose servers you pay for yourself."},{"claim_id":"c-2","text":"We teach beginners about network unreliability one request at a time, which is why local intuition betrays us at fleet scale. If a single command-line script retries a failed HTTP call after one second, it is being resilient; if ten thousand concurrent clients synchronize on the exact moment a load balancer drops a connection and all ten thousand retry together at one, two, and four seconds, exponential backoff without randomness merely schedules bigger and less frequent battering rams. Full jitter — picking a uniform random wait between zero and the capped backoff ceiling — breaks the marching step so a recovering service meets a trickle rather than a synchronized wave."},{"claim_id":"c-3","text":"Even jittered backoff cannot save a system that confuses *I did not hear an answer* with *nothing happened*. When a client times out waiting for a state-changing write — charging a card, booking an order, publishing a ledger entry — three distinct worlds are indistinguishable from the caller's socket: the request died on the wire before arriving, the server crashed halfway through, or the write succeeded cleanly and only the acknowledgment was lost on the way home. Retrying a non-idempotent write without a caller-generated idempotency key does not heal the failure; it duplicates the side effect at the worst possible moment."},{"claim_id":"c-4","text":"At the architectural level, healthy systems bound amplification across layers using retry budgets and deadline propagation. Imagine a three-tier call graph where the browser retries three times, the API gateway retries three times, and the storage client retries three times: one user click during a slowdown silently multiplies into twenty-seven database queries, twenty-six of which arrive long after the human closed the tab. Carrying a remaining time budget in request headers — and capping retries across an entire client pool at ten percent of normal request volume — ensures that when a dependency is genuinely down, callers fail fast and let the patient breathe."},{"claim_id":"c-5","text":"You can read the maturity of an engineering team in how its background schedulers and queues behave when downstream capacity drops to zero. Fragile systems respond to backpressure by spawning more workers, shortening polling intervals, or inventing fallback busywork that starves the exact database locks needed for recovery. Resilient systems treat capacity as a conserved physical budget: one canonical writer per resource, bounded concurrency, idempotent state transitions, and circuit breakers that prefer an honest error in fifty milliseconds over a heroic timeout in sixty seconds."},{"claim_id":"c-6","text":"Open the most critical client wrapper in your codebase today and trace what happens if its downstream dependency pauses for forty-five seconds at peak load. Does your code step back with jitter, an idempotency key, and a retry budget — or did you accidentally write the siege engine waiting for your next failover?"}] R07: [{"claim_id":"c-1","claim_class":"author_assertion"},{"claim_id":"c-2","claim_class":"author_assertion"},{"claim_id":"c-3","claim_class":"author_assertion"},{"claim_id":"c-4","claim_class":"author_assertion"},{"claim_id":"c-5","claim_class":"author_assertion"},{"claim_id":"c-6","claim_class":"author_assertion"}] R08: [{"claim_id":"c-1","citations":[]},{"claim_id":"c-2","citations":[]},{"claim_id":"c-3","citations":[]},{"claim_id":"c-4","citations":[]},{"claim_id":"c-5","citations":[]},{"claim_id":"c-6","citations":[]}] R09: When your words reach the end of their retention period they are destroyed, on the schedule above. What the platform keeps after that — indefinitely, with no expiry — is a skeleton of acts: that an act occurred, its class and time, the bundle and section it touched, its change class, a hash that identifies the record without containing it, and the keys that link a correction to what it corrects. The skeleton is not your words and cannot reproduce them. Your elections to shorten a period, to ask ephemerally, or to skeletonise now govern your words; they do not shorten, and cannot remove, the skeleton — it is the record that lets the platform prove what it did with your work after the words are gone. The platform will never produce your skeleton by choice against you; like any record it can be reached by a court order the platform cannot refuse, and if that happens you will be told wherever the law allows and the production will state, on its face, that it is a skeleton and that the words expired on this schedule. R10: When your words reach the end of their retention period they are destroyed, on the schedule above. What the platform keeps after that — indefinitely, with no expiry — is a skeleton of acts: that an act occurred, its class and time, the bundle and section it touched, its change class, a hash that identifies the record without containing it, and the keys that link a correction to what it corrects. The skeleton is not your words and cannot reproduce them. Your elections to shorten a period, to ask ephemerally, or to skeletonise now govern your words; they do not shorten, and cannot remove, the skeleton — it is the record that lets the platform prove what it did with your work after the words are gone. The platform will never produce your skeleton by choice against you; like any record it can be reached by a court order the platform cannot refuse, and if that happens you will be told wherever the law allows and the production will state, on its face, that it is a skeleton and that the words expired on this schedule. R12: bb3133b8d48149dbf7a98e25a213551970290a7de7db16a7355e2e8a7bf64d29 R16: {"canonical_url":"/blog/posts/post-a-retry-loop-is-a-self-inflicted-siege-1118c3","version_url":"/blog/posts/post-a-retry-loop-is-a-self-inflicted-siege-1118c3/versions/post-a-retry-loop-is-a-self-inflicted-siege-1118c3-v1"} R18: opted_in