Lesson 2 · Unit 03
Incidents
Triage, mitigate before you understand, roll back first, keep people informed, and write the runbook beforehand.
What you practise
- Triage, mitigate before you understand, roll back first, communicating, runbooks
Try a question from this lesson
Pick one
02:14, a page: 31% of checkouts are failing. A new version went out at 02:05. You do not know what is wrong with it. What do you do first?
Hint
Which action ends the customers' problem soonest, even if you learn nothing?
Correct answer
Roll back to the previous version
Why
The deploy is the only thing that changed, and undoing it takes minutes without understanding anything. Reading the diff might take an hour, with a third of customers failing throughout. The bug will still be in the diff tomorrow.
The ideas
Concept cards are short on purpose. In the app they appear between questions, after you have met the idea.
Concept
Mitigate first, understand later
During an incident the job is not to find the bug. In order: stop the bleeding, restore service, and keep the evidence for later.
A mitigation makes the pain stop without explaining it: roll back, turn a feature off, send traffic elsewhere, add capacity. The root cause can wait for daylight. Users cannot.
mitigate minutes pain stops
diagnose hours cause understood
fix days cannot happen againConcept
Someone decides, someone tells
An incident with five engineers and no lead is five separate incidents. One person leads: they decide what is tried and by whom. They need not be the one typing.
Someone keeps everyone else informed, at a steady rhythm. A good update says what is broken and for whom, what is being done, and when the next update comes.
02:25 update
Checkout: about 30% of payments fail
since 02:05. We are rolling back the
02:05 release. Next update at 02:40.10 more exercises in the app
- 1× order the lines
- 5× multiple choice
- 1× true or false
- 1× match the pairs
- 2× type the answer
Bitpath is an iOS app in development. Join the waitlist and you get one email when it is ready to try.