10.2.3 · Skill in Reliability engineering

Incident response

Handling outages and serious problems calmly and quickly.

Incident response covers detection, roles, communication, mitigation and follow-up. Mitigate first, investigate later. Blameless postmortems turn incidents into lasting improvements.

Your status · Incident response

Saved in this browser. Sign in to keep it on every device.It colours this skill's tile on your map.

Why it matters for a product engineer

Every product fails sometimes. What users remember is how long it lasted and how they were told. Incident response is the plan for those hours: who leads, who fixes, who talks to users. Product engineers are often the people closest to the failing code, so they need to know the plan before they need it.

How to do it

  1. Decide in advance how an incident is declared, and that anyone may declare one.
  2. Give clear roles: one person leads and decides, others fix, one person communicates.
  3. Restore service first. Roll back, turn off a flag or move traffic, then look for the cause.
  4. Keep a running log with times, actions and decisions, where everyone can read it.
  5. Tell users early and regularly, even when you do not know the cause yet.
  6. Write a blameless postmortem: what happened, why the system allowed it, and the actions that will stop it from happening again.

Common mistakes

  • Everyone fixing at once, with nobody in charge.
  • Looking for the root cause while users are still down.
  • Silence towards users until the fix is ready.
  • Postmortems that blame a person, so the next mistake is hidden.
  • Backups and recovery steps that nobody has tested.

Example

In January 2017 an engineer at GitLab, working on a database problem, deleted data on the primary database instead of the secondary. None of the backups worked. A snapshot taken six hours earlier saved most of the data. GitLab worked in the open, with a public document and a live stream, and published a blameless postmortem.

Timeline

GitLab's database outage, 31 January to 1 February 2017

  1. 31 Jan, 17:20 UTCA snapshot, by chanceDecisionTaken for other work. It became the copy that saved the data.
  2. 31 Jan, about 23:30The wrong database is wipedProblemAbout 300 GB removed from the primary. The daily backups had been failing for some time, unnoticed.
  3. During recoveryRecovery in publicDecisionA public document, a YouTube stream with about 5,000 viewers, and Twitter updates.
  4. 1 Feb, 18:00 UTCService restoredResultFrom the 17:20 snapshot. About 5,000 projects, 5,000 comments and 700 new accounts lost changes.

The engineer's mistake took seconds. The real cause was recovery steps nobody had tested.

ReportedGitLab's postmortem, 10 Feb 2017

Sources: Postmortem of database outage of January 31 (GitLab) ↗ · Managing incidents (Site Reliability Engineering, chapter 14) ↗

AI leverage

Use AI in your work

Use AI to support this skill. Your judgment and verification remain part of the work.

Workflow
Summarize redacted logs and recent changes into a timeline and propose diagnostic checks.
Limitations
A plausible diagnosis can distract responders; automated remediation may worsen an incident.
Verification
Verify each timeline event against telemetry and require an accountable decision before consequential actions.

Technical leverage

Trace the failure, implement a reversible mitigation and measure recovery from the user’s perspective.

Evidence of mastery

Put it into practice
Practice
Run an incident exercise from detection through recovery.
Artifact
A verified timeline, recovery evidence and follow-up actions that address contributing causes.

What good looks like

  • Mitigation has a rollback or safe stopping point.
  • Recovery is confirmed by user-facing indicators.

Use this evidence to assess your work. Your map status is a self-assessment, not a certification.

Resources

4

Tools

1
Tools for Reliability engineering