Skip to content
back to the presentation
Talk summary2019Fellow

Postmortems or How We Learn from Failures

As the product grows, a failure is no longer the fault of one person or one team. It contains code, shared services, infrastructure, the release process, and incomplete knowledge of dependencies. I show how a postmortem can turn this complex episode into a general model of the system and concrete changes - without looking for a culprit and without a ritual document for the sake of a document.

Conference4 min read

This summary is shorter than the original material; examples and assessments reflect the author’s experience and views.

The main thread of the material
01

Blameless - a condition for reliable parsing

If the purpose of the meeting is to find and punish someone who has made a mistake, the participants become defensive, hide their doubts, and simplify the story. The organization loses data on why the action seemed reasonable at the time. The Blameless approach comes from a different place: people acted within the available information, tools and pressure. It is necessary to understand what conditions made the error possible and why the system did not stop it earlier. Responsibility remains, but is transferred from the individual to improving the circuit.

A good postmortem doesn’t measure severity with fancy text or stop at the phrase “human factors.” It captures the impact on users and business, participants and affected components, sequence of events, detection, response and recovery. Then separates the immediate trigger from the root and associated causes. This chronology creates a common understanding between development, operations, and owners of neighboring systems.

02

From incident to closed action items

The process begins with criteria: which incidents require separate analysis and who initiates it. The owner collects the facts and timeline, the participants jointly test the assumptions, and then the document is published to the affected teams. Facilitation is important: the discussion should return to the design of the system, and not to the assessment of people. The template lowers the threshold and helps you remember impacts, causes, successes, and discovery gaps.

The main solution is a small set of action items with owners and deadlines. They can prevent recurrence, detect a similar failure more quickly, limit the blast radius, or improve recovery and communication. The abstract “be more careful” is not an action. The item must change code, configuration, monitoring, test, documentation or process.

03

What real cases showed

Our Rancher orchestrator went down twice in one week, for about an hour each time. The team running it did not publish incident reviews. We heard possible explanations involving an upgrade and a slow database, but had no way to confirm them. We moved our applications to virtual machines running Docker Compose and introduced postmortems in our own department so other teams could see what had happened.

A week after a round of website releases, our rankings fell across nearly all search terms. A shared component had stopped supplying meta tags. At least twenty teams had modified it, and the regression suite never checked those tags. We fixed the component and added regression checks for the tags that mattered to search traffic.

In another incident, a surge in paid traffic overwhelmed a Django API. Slow user requests held up responses to Kubernetes health checks. After several missed liveness checks, Kubernetes restarted the container, which came back under the same load and failed again. The review raised two practical design questions. How will the API degrade under load, and how can it report its health when the request queue is already full?

Takeaways

What to take away

  1. 01Blameless culture is needed for truthful data about the system, and not for the abolition of responsibility.
  2. 02The postmortem should contain the impact, chronology, discovery, response, causes and contributing factors of the failure.
  3. 03An action item has an owner, a duration, and an observable change; calling for more attention does not prevent recurrence.
  4. 04Training is completed only after tasks are closed and findings are distributed among dependent teams.

Sources