<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>postmortem · ruby</title><link>https://ruby.zone/tags/postmortem/</link><description>Michal (ruby) writes about storage, SAN, site reliability and what he learns from critical incidents.</description><language>en-US</language><lastBuildDate>Thu, 26 Nov 2026 05:08:00 +0000</lastBuildDate><atom:link href="https://ruby.zone/tags/postmortem/index.xml" rel="self" type="application/rss+xml"/><item><title>RCA vs. SRE postmortem: finding the cause vs. learning from failure</title><link>https://ruby.zone/blog/rca-vs-postmortem/</link><guid isPermaLink="true">https://ruby.zone/blog/rca-vs-postmortem/</guid><pubDate>Thu, 26 Nov 2026 00:00:00 +0000</pubDate><category>incidents</category><category>rca</category><category>postmortem</category><category>sre</category><description>&lt;p&gt;Yesterday I was helping with a review of an RCA after an incident. While going through it, I realized something that is probably obvious once you think about it: not everyone looks at an RCA in the same way.&lt;/p&gt;&#10;&lt;p&gt;For some people the main goal is to answer one question: what was the root cause? Find the failure, explain what happened, define the corrective action and close the RCA.&lt;/p&gt;&#10;&lt;p&gt;Coming from an SRE and service reliability side, I look at incidents a little differently. The root cause is important, but for me it is only part of the story. I also want to understand why the failure became an incident, why the system did not protect us, how we detected it, what made recovery difficult, what worked well and, sometimes, where we simply got lucky.&lt;/p&gt;&#10;&lt;p&gt;That made me think about the difference between a traditional Root Cause Analysis (RCA) and what SRE teams usually call a postmortem. They have a lot in common, but they look at the incident from a slightly different angle.&lt;/p&gt;&#10;&lt;h2 id="what-is-an-rca"&gt;What is an RCA?&lt;/h2&gt;&#10;&lt;p&gt;The main purpose of a traditional RCA is to understand why an incident happened. A typical investigation tries to get to something like this:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Incident → Technical failure → Root cause → Corrective action&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;There are many ways to get there. 5 Whys, fault trees, timelines and causal analysis are common examples. A good RCA separates symptoms from causes and supports its conclusions with evidence.&lt;/p&gt;&#10;&lt;p&gt;For example: &amp;ldquo;The application became unavailable because the database stopped responding.&amp;rdquo;&lt;/p&gt;&#10;&lt;p&gt;That explains the impact, but it probably does not explain the root cause. Why did the database stop responding? Was it resource exhaustion? Storage latency? A software defect? A configuration change? The investigation continues until we understand the causes and contributing factors behind the failure.&lt;/p&gt;&#10;&lt;h2 id="what-is-different-about-an-sre-postmortem"&gt;What is different about an SRE postmortem?&lt;/h2&gt;&#10;&lt;p&gt;An SRE postmortem asks many of the same questions, including what caused the incident. But after &amp;ldquo;why did this fail?&amp;rdquo; it goes on with a bigger question: &amp;ldquo;what can we learn from this incident to make the service more reliable?&amp;rdquo;&lt;/p&gt;&#10;&lt;p&gt;Imagine that a service failed because of a software bug. Finding and fixing that bug matters. But during the postmortem we may find much more:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;monitoring detected the problem 15 minutes too late,&lt;/li&gt;&#10;&lt;li&gt;the on-call engineer had no useful runbook,&lt;/li&gt;&#10;&lt;li&gt;failover existed, but it needed manual intervention,&lt;/li&gt;&#10;&lt;li&gt;another engineer recognized the symptoms only because they had seen a similar incident before,&lt;/li&gt;&#10;&lt;li&gt;rollback worked correctly and made the outage much shorter.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;The software bug explains why something failed. The postmortem shows how the whole system behaved when it failed. And that system is more than software and infrastructure. It also includes monitoring, automation, processes, documentation and people.&lt;/p&gt;&#10;&lt;h2 id="rca-and-postmortem-are-not-opposites"&gt;RCA and postmortem are not opposites&lt;/h2&gt;&#10;&lt;p&gt;This is probably the most important difference, and the one that is easy to get wrong. An SRE postmortem does not replace root cause analysis. It includes it.&lt;/p&gt;&#10;&lt;p&gt;We still need to understand why the failure happened. We just do not stop when we find the cause, we keep looking at the system around it.&lt;/p&gt;&#10;&lt;p&gt;A traditional RCA might ask: what failed, and how do we prevent it from happening again?&lt;/p&gt;&#10;&lt;p&gt;A postmortem also asks:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Why did this failure have the impact it did?&lt;/li&gt;&#10;&lt;li&gt;Why didn&amp;rsquo;t we detect it earlier?&lt;/li&gt;&#10;&lt;li&gt;Why didn&amp;rsquo;t redundancy or automation protect us?&lt;/li&gt;&#10;&lt;li&gt;What made recovery difficult?&lt;/li&gt;&#10;&lt;li&gt;What helped us recover faster?&lt;/li&gt;&#10;&lt;li&gt;Where did we simply get lucky?&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;These questions can find improvements that are easy to miss when the investigation looks only for the root cause.&lt;/p&gt;&#10;&lt;h2 id="why-do-sres-use-postmortems"&gt;Why do SREs use postmortems?&lt;/h2&gt;&#10;&lt;p&gt;Because SREs run systems with one simple assumption: things will fail.&lt;/p&gt;&#10;&lt;p&gt;Software will have bugs. Hardware will fail. Networks will have problems. People will make mistakes. Dependencies will behave in ways we did not expect.&lt;/p&gt;&#10;&lt;p&gt;We should absolutely try to prevent failures. But reliability cannot depend on preventing every possible failure. It also depends on how fast we detect a failure, how well we limit its impact and how quickly we recover.&lt;/p&gt;&#10;&lt;p&gt;That is why a postmortem looks beyond the component that failed. Making that one failure less likely is good. The bigger goal is a system that handles the next failure better, whatever it is.&lt;/p&gt;&#10;&lt;h2 id="blameless-does-not-mean-accountability-free"&gt;Blameless does not mean accountability-free&lt;/h2&gt;&#10;&lt;p&gt;Another important part of the SRE postmortem culture is being blameless. It does not mean we ignore mistakes. It means we try to understand why an action made sense at the time, and why the system allowed that action to have such a large impact.&lt;/p&gt;&#10;&lt;p&gt;If one incorrect command can take down production, we can ask: who entered the command?&lt;/p&gt;&#10;&lt;p&gt;From a reliability point of view, the more useful engineering question is: why was one command able to take down production?&lt;/p&gt;&#10;&lt;p&gt;The answer may lead to better validation, automation, permissions, deployment controls or guardrails. The mistake still matters. But fixing the conditions that let a mistake become an outage helps much more than finding the person who made it.&lt;/p&gt;&#10;&lt;h2 id="the-difference-at-least-for-me"&gt;The difference, at least for me&lt;/h2&gt;&#10;&lt;p&gt;Thinking back to the RCA review that started this post, I don&amp;rsquo;t think one approach is right and the other is wrong. They look at the same incident through a slightly different lens.&lt;/p&gt;&#10;&lt;p&gt;The simplest way I can describe it:&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;RCA tries to explain the failure. A postmortem tries to improve the system because the failure happened.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;For me, the second part is the reason I like the SRE approach. The incident has already happened and the impact is already there. We cannot change that. But we can decide how much we learn from it.&lt;/p&gt;&#10;</description></item></channel></rss>