Dashboard
Courses
Problems
Badges
Theme
Sign inStart free
Courses/Reliability and Failure
Lesson 23 of 24

Incident response basics

Detect, coordinate, mitigate and learn: how teams handle outages when prevention fails.

15 min read

Detect from the user's side

Time to recovery starts with time to detection. Alert on symptoms users feel, such as error rate, latency and failed checkouts against your SLO, rather than on every possible cause such as high CPU. Burn-rate alerts fire when the error budget is being consumed fast enough to matter: spending 2% of a monthly budget in one hour pages someone; a slow trickle opens a ticket. Every alert should be actionable and link to a dashboard and runbook.

Clear roles

Incidents go badly when everyone debugs and nobody coordinates. Even a small team benefits from naming these roles explicitly at the start of an incident; in a two-person incident one person can hold several, but the commander should still not be the main debugger.

  • Incident commander: owns decisions and priorities, does not debug
  • Operations lead: investigates and applies changes
  • Communications lead: updates status pages, support and stakeholders on a fixed cadence
  • Scribe: keeps a timeline of what was observed and done

Mitigate first, diagnose later

The first goal is to stop user pain, not to find the root cause. The fastest mitigations are usually generic: roll back the last deploy, turn off a feature flag, fail over to another zone or region, shed non-critical traffic, or add capacity. Roll back first if a change went out recently, even before proving it is the cause; rolling back a healthy change costs little. Root-cause analysis can wait until the system is stable.

Blameless postmortems

After the incident, write a postmortem: timeline, impact, contributing factors, what went well, and concrete action items with owners. Make it blameless: assume people acted reasonably with the information they had, and ask why the system allowed the mistake rather than who made it. Track action items to completion and look for patterns across incidents, since recurring causes such as risky config changes or missing timeouts point at the reliability work with the highest return.

Key takeaways

  • Alert on user-facing symptoms and error-budget burn rate, not on every cause
  • Assign an incident commander so coordination and debugging do not compete
  • Mitigate first with rollbacks, flags, failover and shedding; diagnose afterwards
  • Blameless postmortems with tracked actions turn incidents into lasting fixes

Sign in to track lessons and earn badges.

Chaos engineering and game daysCapstone: reviewing a design for failure

Coming up

Course: 0/24 lessons · 0/10 challenges0%

Build it on the canvas, pass the review (70+) and mark it complete to count it toward the course badge.

  1. 10/10Design a Stock Exchange Matching EngineDesign a replicated, fenced sequencer and matching engine that fails over without losing or reordering a single order.MAJORHardPRO
All 10 challenges →