SRE & Incident Response
Circuit breakers
A circuit breaker fails calls fast after repeated failures, then tests recovery with a few trial calls. It protects callers from waiting on a dependency that is down or too slow.
What you will be able to do
- Explain the closed, open and half-open states of a circuit breaker.
- Decide which failures should count toward opening a breaker.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in SRE & Incident Response
- Runbook authoringAdvanced · 5 min
A runbook is a written procedure that tells an on-call engineer what an alert means and what to do, step by step. Good runbooks have checks, exact commands, expected…
- Capacity forecastingAdvanced · 5 min
Capacity forecasting estimates the resources a service will need at its peaks, using history, trends and known events. It shows where hard limits will bind before the…
- BulkheadsAdvanced · 4 min
A bulkhead divides shared resources into partitions, so one overloaded consumer or failing service cannot exhaust the pool that every other caller needs. It trades some…
- Exponential backoffAdvanced · 5 min
Exponential backoff waits longer after each failed attempt, so a struggling service gets room to recover. Jitter and attempt limits keep many clients from retrying…
- Retry budgetsAdvanced · 5 min
A retry budget caps how many retries a process can make in a time window, so an outage does not turn into a fleet-wide flood. It works with per-request caps and backoff…
- Chaos game daysAdvanced · 5 min
A chaos game day injects a planned failure into a test system, then checks a written hypothesis against the metrics and the team's response. A stop rule keeps the blast…