A downstream service is slow, and your service's retries are making it worse.
IntermediateScenarioReleases & Reliability Patterns
Answer
Situation read → Retry amplification: retries add load to an already struggling dependency.
What I'd do →
- Immediately: reduce or disable retries via config or feature flag.
- Add exponential backoff with jitter and a max of 2 attempts.
- Add a retry budget (for example, retries at most 10% of requests).
- Add a circuit breaker to stop calling when error rate is high.
- Coordinate with the downstream team to add load shedding.
Why → Retries help for transient errors, but hurt during overload.
Interview tip → Mention retry budgets and circuit breakers together.
More on Releases & Reliability Patterns
A canary at 10% shows a 0.3% higher error rate than stable. Promote or roll back?IntermediateYou need to roll out a risky database schema change with zero downtime.AdvancedA feature flag was turned on for 100% of users and caused errors. How do you handle it and prevent recurrence?BeginnerYour service calls five dependencies sequentially, and total latency is too high.IntermediateA third-party API you depend on has rate limits, and you're hitting them during peaks.BeginnerA canary deploy passed analysis, but the full rollout caused errors at 100%.Advanced