A retry storm takes down a dependency. How do you design the network and client layers to prevent it?
AdvancedScenarioTLS, HTTP & Application Layer
Answer
Situation read → Retries multiply load at the moment the service is least able to handle it.
What I'd do →
- Use exponential backoff with jitter on clients
- Add retry budgets, for example max 10 percent extra requests (Envoy
retry_budget) - Use circuit breakers and outlier detection to eject unhealthy hosts
- Apply timeouts at every hop, shorter at each layer toward the user
- Load shed with 429 or 503 and
Retry-After
Why → Retries without limits turn a small failure into a self-inflicted outage.
Interview tip → Say the answer is budgets, not more retries.
More on TLS, HTTP & Application Layer
Explain what happens in a TLS 1.3 handshake in a few sentences.BeginnerYour site must redirect all HTTP traffic to HTTPS. How do you do it?BeginnerWhat is the difference between 4xx and 5xx errors, and which ones do you see most in networking problems?BeginnerHTTP/1.1, HTTP/2 and HTTP/3: what changed and why does it matter in operations?BeginnerThe browser console shows a CORS error when your frontend calls your API. What is it and how do you fix it?BeginnerHow do you check which certificate a server presents and when it expires?Beginner