The service was retrying failed calls without limits, causing cascading load and resource exhaustion.
It hurt reliability and increased operational toil as engineers chased phantom timeouts.
The team solved it by: 👉 Define a hard timeout for each request to bound latency. 👉 Introduce a retry budget per minute to cap total retry volume. 👉 Apply exponential backoff with jitter to spread load.
The parts that matter: 1️⃣ request timeout - caps the maximum time a single call can run 2️⃣ retry budget - limits the number of retries in a sliding window
The system stopped overloading during spikes and latency became predictable.
Adding a budget means some transient failures are dropped instead of retried, which can increase error rate for edge cases. The team accepted a small increase in client-visible failures to protect overall stability. Monitoring had to be added to tune the budget over time.
How do you balance retry aggressiveness with user experience when latency budgets are tight?