Scalability and Performance · Queues and flow control
Circuit breakers, timeouts and retries
When a dependency gets slow, waiting calls pile up until your whole service falls over. Timeouts, circuit breakers, bulkheads and careful retries keep one failure from spreading.
- Time30 min
- LevelDeveloper
- Experiments2 live
- Check6 questions






Closed payment calls pass and take 200 ms; occasional errors are counted.
Open calls fail instantly with a fallback; threads stay free for other pages.
Half-open after 10 seconds, three trial calls go through to the provider.
Closed again the next trials succeed in 200 ms and normal traffic resumes.
Deadline how long the whole user request may take, passed down the chain.
Fallback what to return when the call cannot succeed.