Interview Prep/Kubernetes/Reliability & Rollouts

How do you design retries, timeouts and circuit breaking to avoid retry storms in a microservice mesh?

AdvancedProductionReliability & Rollouts
Answer

Set per-hop timeouts shorter than the caller's timeout, cap retries (1-2) with jittered backoff and a retry budget (for example 20% of requests), retry only idempotent calls and only on connect failure/5xx, and add circuit breakers or concurrency limits. Without budgets, retries multiply load by the call depth when a dependency degrades.

All Kubernetes questions

More on Reliability & Rollouts