Dashboard
Courses
Problems
Badges
Theme
Sign inStart free
Courses/Operating at Scale
Lesson 14 of 16

On-call, incident management and postmortems

Run sustainable rotations, coordinate incidents with clear roles, and turn every outage into lasting improvements.

18 min read

Sustainable on-call

On-call is part of operating a system, and burnout is a reliability risk. A rotation needs enough people that each engineer is on call about one week in six to eight, with a secondary as backup. Track load: pages per shift, out-of-hours pages and time spent on interrupts. If one service pages far more than others, the fix is engineering work on that service, funded by its error budget, not a heroic on-call engineer. Pair every alert with a runbook that states how to verify impact and the safe first actions.

Incident roles

Incidents go wrong when everyone debugs and nobody coordinates. Ten engineers try different fixes at once, two of them restart the same database, nobody tells customers, and executives interrupt the people doing the work for updates. A lightweight incident command structure, borrowed from emergency services, fixes this by separating decisions, investigation and communication. In a small incident one person may hold several roles; in a large one each role is a different person, and the commander can hand over explicitly when a shift ends. Run the structure in a dedicated channel per incident.

  • Incident commander: owns decisions, priorities and the timeline; does not debug
  • Operations lead: drives the technical investigation and mitigation
  • Communications lead: updates stakeholders and the status page on a fixed cadence, such as every 30 minutes
  • Declare severity early by user impact, and escalate freely; downgrading is cheap

Mitigate first, diagnose later

The first goal is to stop user impact, not to find the root cause. The fastest mitigations are usually generic: roll back the last deploy, turn off the newest flag, fail over to another region, shed low-priority traffic or scale up. Because most incidents follow a change, the first question should be what changed in the last hour. Record decisions and times in the incident channel as you go; it becomes the postmortem timeline. Time to mitigate is the number customers feel.

Blameless postmortems

After any significant incident, write a postmortem within a few days: impact in numbers (duration, requests failed, customers affected, error budget burned), a timeline, contributing factors and action items. Blameless means asking why the system allowed a reasonable person's action to cause harm, not who made the mistake; people hide information when they expect blame. Good action items are specific, owned and dated, and focus on detection, mitigation and prevention. Track them to completion and review incident trends quarterly, since recurring contributing factors show where architecture investment pays off.

Key takeaways

  • Size rotations so on-call is sustainable and fix noisy services with engineering time
  • Separate coordination from debugging with clear incident roles
  • Mitigate first: roll back, disable flags, fail over or shed load
  • Blameless postmortems with owned, dated actions make the system better

Sign in to track lessons and earn badges.

Feature flags and progressive deliveryML and data systems in production

Coming up

Course: 0/16 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. 9/10Design a Recommendation ServiceCombine batch training, a feature store, model inference and cached fallbacks to answer within 100 ms.MAJORMedium
10/10
Design a Content Moderation PipelineOperate an ML classifier pipeline with human review queues, a DLQ, quality monitoring and backlog alerting.
MAJORMedium
All 10 challenges →