Cloudflare had a global outage on July 2, 2019 that knocked out its network for 27 minutes and affected millions of websites that used its CDN and DDoS protection. This was not caused by a cyberattack and it was not caused by hardware failure.

Backtracking is a computational process that ate up 100 percent of CPU on every server worldwide. That was what a single regular expression in a web application firewall rule contained. It had a pattern that needed backtracking and the rule was a single regular expression in a web application firewall rule.

The response time from the first alert to full service restoration was 27 minutes.

Within 48 hours came a full post-mortem from Cloudflare. It included the exact regular expression that had brought down the system as well as a timeline accurate to the minute. There was an explanation of why backtracking regular expressions are dangerous and nine specific action items each with an owner and a deadline.

The post-mortem is widely cited as an example of exemplary incident communication.

What Cloudflare showed in that incident was not just good incident response. It was reliability engineering in action: the discipline of seeing system failures as engineering problems with measurable targets, systematic answers and learnable lessons instead of as emergencies to get through and then forget.

Reliability is not something you reach and keep as a goal. It is a constant engineering effort against a system that changes all the time. The question that is never right is "are we reliable?". What you need to ask is "how reliable are we, is that reliable enough and what will make our reliability go down next?"


The Origins of Site Reliability Engineering

Site Reliability Engineering (SRE) as a formal discipline was created at Google in 2003 when Ben Treynor Sloss was asked to lead a team responsible for making Google's services more reliable.

By staffing the team with software engineers instead of traditional system administrators and by applying software engineering methods to operations problems, he set up what became the defining characteristic of SRE.

At the time, Google was scaling rapidly. The traditional approach, adding more operations staff proportionally as infrastructure grew, would not work. Managing 10,000 servers with 10 operators was feasible. Managing 1,000,000 servers with 1,000 operators was not.

Automate everything that can be automated, define reliability mathematically and give the speed-stability tradeoff explicit and data-driven mechanisms instead of leaving it political. That is SRE's answer.

Google formalized their practices in the Site Reliability Engineering book (O'Reilly, 2016), making them available to the industry. The book's influence has been profound: SRE practices are now standard at large technology companies and increasingly adopted at organizations of all sizes.


What SRE Is and Isn't

Frequently SRE is misunderstood as "an operations team that knows how to code" or "DevOps with a fancy name." The differences are substantial.

SRE is not traditional operations. The main job of traditional operations teams is to react to events as servers go down, alerts fire and tickets arrive. SRE teams put in a large part of their time (Google aims for 50%) on engineering work. That means writing tools, automating toil and making systems better.

The goal is that operational work decreases over time as automation replaces manual processes.

SRE is not pure DevOps. DevOps is a philosophy and a way of culture. SRE is a particular way of putting those principles into practice with defined practices. They are SLOs, error budgets, chaos engineering and production readiness reviews. Google defines SRE as "what you get when you treat operations as a software engineering problem."

The key SRE mindset: Reliability is not something you achieve once and maintain. It is a continuous engineering effort against a constantly changing system in a constantly changing environment.

Reliability is never the question as "are we reliable?" It is "how reliable are we, is that reliable enough and what is the next thing that will reduce reliability?".


The SLI/SLO/SLA Framework: Measuring What Matters

Reliability gets measured precisely under the SRE approach. You have to say what reliability means for your particular service and measure whether you are hitting it before you can work on improving reliability.

Service Level Indicators (SLIs)

SLIs are metrics that quantify service behavior from the user's perspective. The emphasis on "user's perspective" is critical: internal metrics that do not correlate with user experience are not useful SLIs.

Availability SLI: What fraction of requests to this service succeeded (returned a non-error response within an acceptable time)?

Latency SLI. What fraction of requests were served within the target response time ? A common way to put it is "X% of requests completed in under Y milliseconds."

Error rate SLI: What fraction of requests produced errors? (Often expressed as the inverse: success rate)

Throughput SLI: Is the service handling the volume of requests it needs to handle?

Freshness SLI (for data services): Is the data that users see recent enough to be useful?

The selection of SLIs is an engineering judgment. A service's SLIs should capture the metrics that correlate with user satisfaction. A search engine cares about query response time; users directly experience slow searches. An analytics pipeline cares about data freshness; users experience stale data as incorrect results.

Example. How fast search results appear and whether the top results are relevant get most of the weight in Google's SLI for Google Search. Internal metrics such as cache hit rate matter a great deal for engineering analysis but they are not direct user-experience SLIs.

Service Level Objectives (SLOs)

SLOs are targets for SLIs. They define "reliable enough" for the specific service.

Common SLO formulations:

  • "99.9% of requests return a success response within the rolling 28-day window"
  • "95% of user searches complete in under 200ms and 99% complete in under 1000ms"
  • "API error rate stays below 0.1% over any 1-hour window"

Setting appropriate SLOs requires balancing user expectations against engineering cost. The relationship is nonlinear:

AvailabilityMonthly DowntimeAnnual DowntimeEngineering Complexity
99% ("two nines")7.3 hours3.65 daysLow
99.9% ("three nines")43 minutes8.76 hoursModerate
99.95%22 minutes4.38 hoursHigh
99.99% ("four nines")4.3 minutes52.6 minutesVery high
99.999% ("five nines")26 seconds5.26 minutesExtreme

Each additional nine of availability is roughly 10x more expensive to achieve than the previous one. Going from 99% to 99.9% is achievable with basic redundancy. Going from 99.9% to 99.99% requires active failover, sophisticated load balancing, and significant operational investment.

Going from 99.99% to 99.999% requires designing out entire classes of failure modes.

The right SLO is the lowest number that still gives an acceptable user experience for what the service is meant to do. Internal tools can handle 99% availability. A payment processing API may need 99.95%. A life-safety system may need 99.999%.

SLOs should not be 100%. An SLO of 100% is operationally equivalent to saying "we will never deploy anything, never change anything, and never run anything on hardware that can fail", which is impossible.

Without giving users any benefit over a well-calibrated 99.9% SLO, 100% SLOs bring fear of change and slow innovation.

Service Level Agreements (SLAs)

SLAs are contractual commitments to customers, with defined consequences (credits, refunds, penalties) if the commitments are not met. SLAs are almost always less aggressive than internal SLOs to provide a buffer against measurement methodology differences and normal operational variance.

When the internal SLO is 99.9 percent, the external SLA may be 99.5 percent. If the service meets its internal SLO, the SLA is safe. Measurement differences get absorbed by the buffer and there is room to look into problems before financial penalties start when SLA breaches occur.


Error Budgets: The Key Innovation

SRE's most distinctive contribution to software operations thinking is the error budget. This resolves the eternal conflict between engineering velocity (developers want to ship features fast) and operational stability (operators want systems to stay stable) by making the tradeoff explicit and data driven.

From the SLO comes the error budget that is calculated directly. When the SLO is 99.9% availability over a rolling 28 days, the error budget is 0.1% of requests (about 43 minutes of allowed downtime per month). Outages, degraded performance incidents and failed deployments "spend" the error budget.

How Error Budgets Change Behavior

When the error budget is healthy (significant budget remaining): The service is more reliable than the SLO requires. The team has demonstrated the system can absorb risk. This is the right time for:

  • Higher deployment frequency (more changes per day)
  • Risky architectural changes
  • Experiments and exploratory features
  • Infrastructure migrations

When the error budget is nearly depleted: The SLO is at risk of being breached. The team must shift focus to stability:

  • Freeze non-essential deployments
  • Allocate engineering time to reliability improvements
  • Investigate and fix the root causes of recent incidents
  • Reduce deployment batch sizes to minimize each change's risk

When the error budget is depleted: The SLO has been breached. The deployment freeze becomes mandatory until reliability is restored to SLO.

What makes this mechanism elegant is that it turns a values conflict into a data-driven decision. Operations wanting stability and development wanting features are no longer debating the question of whether to ship this risky feature.

It is a question with an objective answer: does the current error budget balance support taking this risk?

Example. At a major cloud provider, a team was discussing whether to put in place a large architectural change that could bring a brief service disruption. Its error budget calculation showed 38 minutes of budget left for the current period and the deployment risk was put at 10 minutes.

They deployed. When the actual deployment caused 12 minutes of degradation, they spent 12 minutes of budget but remained within SLO. The decision framework worked as intended.


Designing for Reliability

Reliability cannot be added to a system after the fact. It must be designed in from the beginning.

Redundancy: Eliminating Single Points of Failure

Any component that can fail without the system continuing to function is a single point of failure (SPOF). Eliminating SPOFs through redundancy is the foundational reliability technique.

Compute redundancy. Have several instances running for each service. If one fails, the others keep serving and load balancers share traffic around and health checks route traffic away automatically from any instance that fails.

Storage redundancy. Data gets replicated across many disks (RAID), many database instances and many data centers (cross-region replication). How much replication is needed comes from the RPO (Recovery Point Objective) and the RTO (Recovery Time Objective).

Network redundancy: Multiple network paths between critical components. Multiple ISP connections. Multiple DNS providers. Anycast routing that automatically redirects traffic around network failures.

Geographic redundancy: Deploying in multiple availability zones (within a cloud region) protects against single-datacenter failures. Deploying in multiple regions protects against regional failures (AWS's us-east-1 region has had significant outages in June 2012, October 2012, December 2012, and December 2021).

Example. Netflix runs across multiple AWS regions at once by design. It does not see multi-region as a disaster recovery setup and treats it as normal operation. Traffic goes global and the system routes around any region that shows higher error rates constantly.

This architecture allowed Netflix to maintain service during the December 2021 AWS us-east-1 outage that took down dozens of other services.

Graceful Degradation

Well-designed systems instead of failing entirely degrade gracefully when some components give out. The principle is that partial service is almost always better than none.

Implementation patterns:

  • Feature flags for non-essential features: Disable the recommendation algorithm if the recommendation service is unhealthy; continue showing products
  • Cached fallbacks: Serve cached responses when the live data source is unavailable
  • Read-only mode: Allow reads when writes are unavailable
  • Default values: Return sensible defaults when personalization is unavailable

Example: Amazon's e-commerce system is designed with hundreds of independent services. When the recommendation service is unavailable, product pages display without personalized recommendations rather than failing to load.

When the review service is slow, pages show without reviews instead of waiting. The service degrades but remains functional and users do not get full outages.

Circuit Breakers

The circuit breaker pattern (coined by Michael Nygard in Release It!) prevents cascading failures across service dependencies.[3]

When service A calls service B:

  • Closed (normal): Calls proceed. Failures are counted.
  • Open (tripped): Too many failures occurred. Calls immediately return an error without contacting service B. The circuit "opens" to protect service A from waiting for a service that is not responding.
  • Half-open (testing): After a timeout, a test request goes to service B. If it succeeds, the circuit closes. If it fails, it opens again.

Without circuit breakers, slow or failed downstream services make upstream services build up waiting threads, use up memory and in the end fail themselves. That is a cascading failure able to bring down an entire microservice architecture starting from just one unhealthy service.

Timeout and Retry Policies

Each network call needs an explicit timeout. Waiting unboundedly for a service that is not responding will in the end use up all available resources.

Retry policies must be designed carefully:

  • Exponential backoff with jitter: Retry after 1 second, then 2 seconds, then 4 seconds, adding random jitter to prevent thundering herd (all clients retrying simultaneously)
  • Retry only idempotent operations: Do not automatically retry operations that create state (write operations) unless you can verify the original attempt failed
  • Retry budgets. Set a limit on total retry attempts to stop retry storms from overwhelming services that are recovering

Chaos Engineering: Controlled Failure as Practice

Chaos engineering is the practice of deliberately introducing failures into production systems to test their resilience.[4] The philosophy: if failures are inevitable, you should discover your resilience gaps in controlled experiments rather than during real incidents at the worst possible moment.

Netflix created Chaos Monkey in 2011: a service that randomly terminates EC2 instances in their production environment during business hours.[5]

Engineers had to design services that could survive instance failure and the best way to make that happen was to have instance failure occur regularly instead of only as a hypothesis.

Netflix subsequently developed the Simian Army: a collection of chaos tools including:

  • Chaos Gorilla: Simulates entire AWS availability zone failure
  • Chaos Kong: Simulates regional failure
  • Latency Monkey: Introduces artificial delays in service communication
  • Conformity Monkey: Shuts down instances that violate best practices

The Principles of Chaos Engineering (2016, from Netflix engineers) formalize the methodology:[7]

  1. Start by defining "steady state" (normal, healthy behavior measured by SLIs)
  2. Hypothesize that steady state will continue in both the control group and the experimental group
  3. Introduce variables that reflect real-world events (server failure, network latency, disk full)
  4. Disprove the hypothesis by finding a difference in steady state between control and experimental groups

When chaos experiments find a difference, they have discovered a reliability gap. That gap becomes an engineering priority before it causes a real incident.

Example: LinkedIn uses chaos engineering to test their infrastructure continuously. In 2018, they ran a chaos experiment simulating the failure of their primary Kafka cluster (used for all event streaming). The experiment discovered that several dependent services had insufficient error handling for Kafka unavailability.

Over the next months, the team got those services fixed. Months later when Kafka had a real outage, those services degraded gracefully instead of failing altogether.

Starting chaos engineering does not require Netflix-scale infrastructure. Begin with:

  1. Terminate a single non-critical instance during business hours with the full team watching
  2. Verify the system handles it correctly (redundancy routes around the failure)
  3. Gradually increase scope and severity of experiments
  4. Build confidence in the system's resilience through accumulated evidence

Toil: The Reliability Engineer's Nemesis

Toil is SRE's term for operational work that is:

  • Manual: Requires human execution rather than automation
  • Repetitive: The same work performed again and again
  • Automatable: Could be handled by a script or automated system
  • Tactical: Reactive responses to events rather than proactive improvements

Toil examples include manually restarting a service that crashes every few days, manually rotating SSL certificates and manually answering a particular alert type by running the same commands each time. There is also manually building infrastructure by going through a cloud console click by click.

Toil is not "bad work." It may be entirely necessary. The problem is when toil consumes too much engineering capacity, crowding out the engineering work that would reduce toil, a negative feedback loop.

Google targets a toil cap of 50% of SRE engineer time. Above that level, SRE teams are chronically overloaded and unable to invest in the reliability improvements that reduce future toil.

When toil is measured explicitly by tracking hours on manual, repetitive work, data become available to justify spending on automation and to resist getting pulled into operations that are unsustainable.

Toil Reduction Strategies

Runbook-to-automation pipeline: Document manual responses to alerts in runbooks. Then automate the runbooks. Every manual response is a temporary state until it is automated.

Alert quality improvement. Alerts that fire without needing action are noise that makes toil and if an alert goes off. The response is wait and see, either the alert needs a better threshold or it should be removed.

Self-healing systems. Systems that automate detection and correction of their own failures cut toil directly. When a pod fails, Kubernetes restarts it automatically. Unhealthy instances get replaced automatically by auto-scaling groups. A replica gets promoted automatically by database replication once the primary fails.


Incident Management

When incidents occur despite preventive measures, the quality of incident response determines the outcome.

During the Incident

Prioritize mitigation over diagnosis: The first goal is restoring service, not understanding what caused the failure. Diagnosis is valuable but secondary. If rolling back the last deployment restores service, do that immediately and investigate why afterward.

Many incidents are prolonged by engineers trying to understand the problem before addressing it.

Example. In a 2021 Facebook outage that lasted six hours and was caused by a BGP routing misconfiguration, incident responders first tried to diagnose and fix the routing problem remotely. Access systems relied on the same failing infrastructure. Physical access to the data center routers was eventually needed to resolve the outage. The lesson is to prepare out-of-band access paths for critical infrastructure that do not depend on the infrastructure being repaired.

The restoration was delayed by hours because engineers tried to fix the root cause before falling back to the slower but reliable approach: sending engineers physically to the data center.

Designate an incident commander: One person coordinates the response, directs investigation, communicates with stakeholders, and makes decisions.[10] Without this coordination role, responders work in parallel without communication, make conflicting changes, and fail to keep stakeholders informed.

Timebox investigations: If a diagnosis approach has not yielded results in 15-20 minutes, pivot to a different approach. Tunnel vision on a hypothesis while the outage continues is a common failure mode.

Status communication: Proactive, regular communication to stakeholders via a status page (statuspage.io, Atlassian Statuspage) prevents the secondary crisis of stakeholders demanding updates from the incident responders who need to focus on resolution.[9]

Post-Incident: The Blameless Post-Mortem

Post-mortems. Also known as incident reviews or retrospectives, these convert incidents into learning for the organization. The blameless principle that says the investigation looks at systems and processes not at who is to blame is not about avoiding accountability.

Individual blame gets in the way of the systemic analysis that brings improvement and recognition of that is what this is about.

A thorough post-mortem contains:

  1. Executive summary: What happened, duration, impact
  2. Timeline: Detailed chronology from first symptom to full resolution, accurate to the minute
  3. Root cause analysis: What condition made the incident possible
  4. Contributing factors: What made the impact worse or the response slower
  5. What went well: Aspects of the response that worked effectively
  6. Areas for improvement: What could have been better
  7. Action items: Specific, owned, dated tasks to prevent recurrence or improve response

The action items are the most important output. A post-mortem that produces only "be more careful" or "review the runbook" has failed.

Action items that work well are specific and have bounds. Add canary deployment to the configuration change pipeline (owner is Alex, target is Sprint 24) or put in place automated backtracking regex detection in the WAF deployment pipeline (the Security team is owner and August 30 is the target).

Example: Cloudflare published nine action items from their 2019 regex outage. Each had a specific owner and was closed within weeks.

Engineering process (staged rollout requirements), testing (performance regression testing for WAF rules) and tooling (static analysis for catastrophic backtracking) are the categories. The post-mortem along with its action items have been widely shared as a model.


Production Readiness Reviews

Production Readiness Reviews (PRRs) are structured evaluations carried out before new services go live in production and they make sure that the services meet reliability standards.

A typical PRR checklist covers:

  • Architecture: Does the service have appropriate redundancy? Any single points of failure?
  • Capacity: Has load testing been performed? Are auto-scaling policies configured?
  • Monitoring: Are SLIs defined and instrumented? Are alerts configured?
  • Documentation: Are runbooks written for common operational scenarios?
  • Deployment: Can the service be deployed and rolled back safely?
  • Data: Are backups in place? Is data recovery tested?
  • Security: Has a security review been conducted? Are secrets properly managed?
  • Dependencies: Are all service dependencies identified and their SLOs acceptable?

Rather than retrofitting it after production incidents show what is missing, PRRs move reliability investment to the start of a service's lifecycle. Proper monitoring can be put in place much more cheaply ahead of launch than finding out at 3 AM that it is needed.


The Reliability Engineering Culture

The technical practices of SRE only work within an appropriate organizational culture.

Psychological safety. When engineers fear punishment for mistakes, they hide information, avoid risky changes and write post-mortems that obscure rather than illuminate.

Without personal repercussions, psychological safety is the cultural foundation that makes blameless post-mortems and honest incident reporting possible. It is the belief that one can talk honestly about failures, mistakes and concerns.

Reliability as shared responsibility: Reliability is not the operations team's problem. It is every engineer's problem. Development teams that design unreliable systems and expect SREs to absorb the operational burden create unsustainable situations.

Shared responsibility means development teams own reliability from design through production.

Reliability as a feature: The best reliability programs treat reliability as a user-facing feature with clear value, not as a tax on development velocity. A service that is fast to implement but unreliable creates user frustration that erodes the business value of the feature.

Building reliability in costs less in the long run than retrofitting it after user complaints.

Understanding how CI/CD pipelines work with reliability engineering shows how deployment automation, feature flags and deployment strategies are reliability tools as well as development velocity tools.


What Research and Industry Reports Show About Reliability Engineering

The SRE discipline has generated both practitioner literature and independent research validating its effectiveness.

Google's Site Reliability Engineering book (Beyer, Jones, Petoff, Murphy; O'Reilly, 2016) is the foundational text of the field.[1]

Authored by engineers who built and operated Google's production systems, it documents the specific practices that enabled Google to run globally distributed services at unprecedented scale with small operations teams.

That reliability problems are engineering problems and not operational emergencies is the book's central insight. It reframes reliability work from reactive firefighting to proactive system design.

The companion Site Reliability Workbook (2018) provides implementation guidance for organizations adopting SRE practices.[2]

Among the 24 capabilities that drive software delivery and organizational performance, Nicole Forsgren, Jez Humble and Gene Kim's Accelerate (IT Revolution Press, 2018) identified SLO monitoring and error budget policies as one.[8]

That these practices predict both delivery speed and reliability together (not one at the expense of the other) gave empirical support to the SRE claim that reliability and velocity go together as complements rather than as competition.

Reliability (SLO achievement) was added by the DORA 2023 State of DevOps Report as the fifth key metric alongside the original four.

Practices such as trunk-based development, automated testing, deployment automation, monitoring and observability and blameless culture predicted both deployment frequency and change failure rate. Fast, reliable software delivery as well as operational reliability came out of the same underlying capabilities.

In its 2022 "Cost of Downtime" research through the Ponemon Institute, it was found that average hourly costs of IT downtime ran from $300,000 for mid-sized companies up to $5.6 million for large enterprises.

Financial services had the highest costs by far at $9.3 million per hour and after came healthcare at $6.3 million and manufacturing at $2.2 million.

Even small gains in MTTR (Mean Time to Restore) bring in measurable ROI and these figures give the financial case for investing in SRE.

The Atlassian "DevOps Trends Survey" for 2023 (n = 2,000 DevOps practitioners) showed that 61% of organizations had taken up SRE practices. That was up from 33% in 2019.

Organizations with mature SRE practices (defined as having documented SLOs, error budgets and blameless post-mortems) were found in the survey to have 70% fewer production incidents and to resolve them 3.5 times faster than those without these practices.

Respondents in the Chaos Engineering community's "State of Chaos Engineering" survey (Gremlin, 2023) said that 44% ran chaos experiments in production and the figure had risen from 25% in 2020.

Organizations that have a mature chaos engineering program saw 85% fewer high-severity incidents than those without any chaos testing and they also detected incidents 60% faster.

Real-World Case Studies in Reliability Engineering

Google's SRE Creation (2003): Ben Treynor Sloss established Google's first SRE team in 2003, with a mandate to apply software engineering to operations problems.

Staffing the team with software engineers (not system administrators) and demanding that they devote at least 50% of their time to engineering work instead of operational toil was the defining structural innovation.

The result was a self-correcting system that works like this. When toil passes 50% of time, the SRE team stops new operational work until automation lightens the load.

Treynor Sloss said SRE was what you get when you treat operations as if it is a software problem. In 2016, Google had hundreds of SREs running infrastructure for billions of users and many services kept four or five nines of availability.

Netflix's Chaos Engineering Program (2011-present): Netflix created Chaos Monkey in 2011 following their AWS migration. The tool randomly terminates EC2 instances in their production environment during business hours, forcing engineers to design services that survive instance failure.

Mike Speiser and Cory Bennett (Netflix) published "5 Lessons We've Learned Using AWS" (2010), describing the engineering philosophy: "Assume that all machines will fail."

Chaos Gorilla for simulating availability zone failure, Chaos Kong for simulating regional failure and Latency Monkey for injecting network delays were added by the Simian Army to its chaos tooling.

Across its infrastructure, Netflix's 2022 chaos engineering blog post said the company was running about 50 to 100 chaos experiments each week.

SRE practitioners most often cite the correlation between this practice and Netflix's reliability record that kept service through multiple major AWS outages that brought down competitor services.

Cloudflare's July 2019 Outage and Post-Mortem: The Cloudflare outage of July 2, 2019, lasted 27 minutes and affected millions of websites.[6] A Web Application Firewall (WAF) rule containing a regular expression with catastrophic backtracking consumed 100% of CPU on every Cloudflare server globally when deployed.

Cloudflare published a detailed post-mortem within 48 hours (blog.cloudflare.com) including the exact regular expression, a minute-by-minute timeline, a description of why backtracking regular expressions are computationally dangerous, and nine specific action items with owners.

As a model of how to communicate about an incident and do blameless analysis, the post-mortem is widely cited. Stage requirements for WAF deployment, automated regex performance testing and a CPU utilization runbook were among the nine action items that Cloudflare put in place. Within weeks, all nine were finished.

The outage has been used in SRE training programs at dozens of organizations.

LinkedIn's Chaos Engineering Discovery (2018): LinkedIn documented a chaos engineering experiment that discovered a critical reliability gap before it caused a production incident. The experiment simulated failure of their primary Apache Kafka cluster, which handles all event streaming.

Several dependent services showed up in the test with inadequate error handling for when Kafka was unavailable. They failed entirely instead of degrading gracefully.

Several months were spent by the engineering team to fix the gaps that had been identified. Following that, when Kafka had an actual outage subsequently, those services degraded gracefully as they were designed to do.

LinkedIn published this account specifically to illustrate the "shift-left" value of chaos engineering: discovering failures in controlled experiments rather than in real incidents.

Amazon's Redundancy During AWS Outages: Amazon's retail site maintained service during multiple significant AWS regional outages, including the December 2021 us-east-1 outage that affected thousands of other services.

Geographic redundancy with automatic failover is built into Amazon's internal architecture. When unhealthy regions are detected, traffic goes to the healthy regions.

Werner Vogels (Amazon CTO) has described this as "design for failure at every level": each component is designed to degrade gracefully rather than fail completely.

Even when its own cloud infrastructure fails seriously, Amazon keeps service available and that is the practical result.

Facebook's Six-Hour Outage (October 4, 2021). On October 4, 2021, Facebook experienced a global outage of about six hours that hit all its services, including WhatsApp, Instagram and Oculus. The problem stemmed from a BGP routing configuration change that took Facebook's DNS servers off the internet entirely.

The outage showed the risk of having single points of failure in network configuration. The same configuration change spread globally at once instead of going through a staged rollout.

Facebook's post-mortem noted that teams trying to diagnose and fix the problem remotely were held back. Their internal tools relied on the same network infrastructure that had failed, so engineers had to go to data centers in person to get connectivity back up.

The incident is now cited in SRE training as an example of why production access systems should not depend on the services they manage.

Key Metrics and Evidence for Reliability Engineering

SLO achievement rates. Google's published SRE data from the Site Reliability Engineering book and follow-up publications shows that services with SLOs and error budget policies defined explicitly hit their reliability targets time after time.

Services without SLOs tend to oscillate between over-investment and under-investment in reliability.

The discipline of quantifying the reliability target is itself the intervention.

Toil measurement benchmarks. Google aims for a toil cap of 50% of what SREs spend. The 2021 DORA State of DevOps Report showed that engineers in low-performing organizations put 38% of their time into toil and those in elite-performing organizations put only 19%.

Getting toil down from 38% to 19% in a 100-engineer company brings back about $2.85 million a year of engineering capacity that was recovered. That is at median US software engineer pay.

Mean Time to Detect (MTTD) vs. Mean Time to Restore (MTTR): Catchpoint's "SRE Report" (2022) found that organizations with mature observability practices (defined as instrumenting all three telemetry types: metrics, logs, and traces) had median MTTD of 4 minutes.

That compares to 42 minutes for organizations relying primarily on metrics alone.

Organizations that had lower MTTD also had proportionally lower MTTR and that confirms that faster detection brings faster resolution.

Incident frequency trend: PagerDuty's "State of Digital Operations" (2022) analyzed incident data from their platform across thousands of organizations.

When an organization held blameless post-mortems following every high-severity incident, it saw a 21 percent year-over-year drop in how often incidents occurred. Organizations without any structured approach to post-mortems saw a 7 percent rise.

Over five years, the compound effect amounts to a 2.7x difference in incident rate between organizations that have and those that lack systematic post-mortem practices.

Four nines availability cost: The Uptime Institute's "Annual Outage Analysis" (2022) found that achieving 99.99% availability requires an average infrastructure investment 4.7 times higher than achieving 99.9% availability.

Quantifying the nonlinearity of reliability investment and reinforcing the SRE practice of setting SLOs at the minimum acceptable reliability instead of maximizing for its own sake comes out of this.

Observability Engineering: Research on Detection, Diagnosis, and MTTR

One of the biggest reliability engineering advances from 2015 to 2024 has been the move from monitoring (detecting that something is wrong) to observability (gaining understanding of why it is wrong). Empirical research shows that this has brought measurable improvements in MTTR.

Charity Majors, Christine Yen, and Liz Fong-Jones's "Observability Engineering" (O'Reilly, 2022) provides the most comprehensive treatment of the discipline.

The central argument holds up across the authors' combined experience of building observability infrastructure at Facebook, Parse and Honeycomb. It is that distributed systems have too many possible failure modes for pre-specified metrics dashboards to predict.

Event data with high cardinality, high dimensionality and structured logs that can be sliced and diced by any combination of attributes gives the exploratory ability to diagnose new failure modes that no alert was set up to find. That observability model is fundamentally different from what traditional threshold-based monitoring uses.

In 2017, Peter Bourgon's blog post Metrics, Tracing and Logging set up the standard taxonomy for observability signals. It distinguished the three data types by their granularity and the way they can be queried.

Trend analysis takes data from time windows that metrics aggregate and logs track individual events for detailed forensic investigation. Traces record how requests move through distributed systems and that is what they use for attributing latency.

Standardizing the instrumentation APIs for all three signal types as part of the OpenTelemetry project that is now a CNCF graduated project allows organizations to instrument once and send data to several backends.

Google, Microsoft, Amazon and most major observability vendors had adopted OpenTelemetry as the standard instrumentation layer by 2023.

Cindy Sridharan's "Distributed Systems Observability" (O'Reilly, 2018) added the concept of "unknown unknowns" as the primary observability challenge: the failures that matter most are those that have never been seen before and for which no alert exists.

Multiple large-scale services had production incidents analyzed by Sridharan and he found that most high-severity incidents came from new failure modes rather than repeats of known problems. That result makes a case for exploratory observability tools over alerting systems that react only.

Concrete gains at documented organizations have come from catching MTTD (Mean Time to Detect) as a metric separate from MTTR.

Organizations that use distributed tracing together with metrics and logs found that the Catchpoint 2022 SRE Report showed they detected production incidents in a median time of 4 minutes. That compares to 42 minutes for organizations using metrics by themselves.

In 2023, Grafana Labs' engineering team published a case study showing that adding distributed tracing to their own observability stack cut their median time to find the root cause of a latency incident from 2 hours down to 18 minutes. That time saving turned straight into better MTTR.

SLO Calibration and Error Budget Policy: Documented Organizational Outcomes

Setting Service Level Objectives is as much an organizational and economic exercise as a technical one. The research on how organizations set, calibrate, and act on SLOs reveals that the process of setting SLOs is often as valuable as the SLOs themselves.

Alex Hidalgo's "Implementing Service Level Objectives" (O'Reilly, 2020) synthesizes practitioner experience from Google, Nobl9, and multiple consulting engagements to describe the SLO calibration process in detail.

Hidalgo's key empirical finding: most organizations setting SLOs for the first time discover they do not have sufficient data to know what reliability users actually experience.

Instrumenting SLIs to track actual request success rates as well as latency distributions most often shows that what is assumed about reliability (drawing on infrastructure uptime metrics) differs markedly from what users experience.

Internal infrastructure records 99.99% uptime but client-side measurements show 98.5% success rates and that happens because infrastructure metrics do not count network-layer failures between the service and users.

Dropbox's SRE team published a detailed account in 2019 of their SLO adoption process (engineering.dropbox.com). Before formal SLOs, the team operated on informal reliability expectations that varied by team.

Two organizational changes had to be made for SLO adoption that Dropbox saw as harder than implementing the technical side. They were agreeing on what metrics count as user experience rather than just infrastructure health and getting product managers to take ownership of SLO targets instead of seeing them as purely engineering calls.

SLOs changed how Dropbox talked about budget allocation. When there were explicit reliability targets, engineering teams could put a figure on what reliability improvements cost and measure that directly against what it would cost to miss SLO commitments.

The 2020 "SRE at Scale" issue from Increment magazine contained a case study showing how Twilio had adopted SLOs across 100+ services.

Amr Ragab, who leads reliability engineering at Twilio, gave a concrete example. Before SLOs, executive-level "reliability conversations" were entirely qualitative ("our service is too unreliable" versus "we have been pretty good lately"). Once SLOs were in place, executive reviews of reliability used specific data. That was the SLO achievement percentage, the error budget burn rate and customer-impact events per quarter.

From reliability as a feeling to reliability as a measurable outcome was the qualitative shift that changed how resources were allocated and how engineering teams got reliability work versus feature development onto their priorities.

Weekly SLO review for production services is mandated by Google's SRE practice and SLO breach triggers a mandatory investment in reliability that must happen before feature work can resume.


Sources & Further Reading

  1. Beyer, Betsy, Jones, Chris, Petoff, Jennifer, and Murphy, Niall Richard. Site Reliability Engineering: How Google Runs Production Systems. O'Reilly Media, 2016.
  2. Beyer, Betsy, Murphy, Niall Richard, Rensin, David, Kawahara, Kent, and Thorne, Stephen. The Site Reliability Workbook. O'Reilly Media, 2018.
  3. Nygard, Michael T. Release It!: Design and Deploy Production-Ready Software, 2nd ed. Pragmatic Bookshelf, 2018.
  4. Rosenthal, Casey and Jones, Nora. Chaos Engineering: System Resiliency in Practice. O'Reilly Media, 2020.
  5. Netflix Technology Blog. "Chaos Engineering Upgraded." netflixtechblog.com, 2020.
  6. Cloudflare. "Details of the Cloudflare Outage on July 2, 2019." blog.cloudflare.com, 2019.
  7. Principles of Chaos Engineering. principlesofchaos.org.
  8. Forsgren, Nicole, Humble, Jez, and Kim, Gene. Accelerate: The Science of Lean Software and DevOps. IT Revolution Press, 2018.
  9. Atlassian. "Incident Management Handbook." atlassian.com.
  10. PagerDuty. "Incident Response Documentation." response.pagerduty.com.