Circuit Breaker & Resilience¶
Resilience library for service-to-service calls: circuit breaking, retry budgets and jittered backoff, bulkheads and timeouts, and how they compare to Resilience4j and Envoy
A low-level design worked end to end in Python — from the reasoning you'd show an interviewer through to the production architecture.
| Page | What's in it |
|---|---|
| Thought Process | How to reason about this design in an interview |
| Implementation | Full annotated source with the patterns called out |
| High-Level Design | Architecture, scaling and failure modes |
| Interview Questions | Follow-up questions with worked answers |
Runnable source: circuit_breaker.py