Site Reliability Engineering Basics

0 of 18 lessons complete (0%)

Module 1: The SRE Mindset

What Site Reliability Engineering Is and Why It Exists

This is a preview lesson

Register or sign in to take this lesson.

The concept

Site Reliability Engineering treats operations as a software problem. Instead of a team that reacts to pages and performs manual procedures, SRE applies engineering discipline to keeping services available, fast and correct: measure reliability, set explicit targets, automate repetitive work, and learn systematically from failure. The practice emerged at large technology companies, but its ideas scale down well. A team of three can run on SRE principles.

Reliability is a feature

Users do not separate a service that is down from a service that does not exist. Reliability is the most important feature because without it, no other feature is reachable. At the same time, reliability has a cost, and past a certain point users cannot tell the difference. A service that is available 99.9 percent of the time and one that is available 99.99 percent feel the same to most people, but the second costs far more to achieve. SRE makes that trade-off explicit instead of leaving it to whoever is loudest in the room.

The core tenets

  • Measure: define what reliable means for each service with service level indicators and objectives, covered in the next lesson.
  • Budget: accept that failures will happen and decide in advance how much is acceptable, then spend that budget on change and innovation.
  • Automate: cap the time spent on manual, repetitive operational work and invest the rest in engineering that removes it.
  • Learn: run blameless postmortems after incidents and fix systems, not people.
  • Share ownership: developers and operators share responsibility for production, often through a shared on-call rotation and shared reliability goals.

SRE versus traditional operations

Traditional operations measured success by the absence of incidents and often resisted change because change causes incidents. That creates a standoff with development teams who are measured on shipping. SRE resolves it with the error budget: as long as the service meets its objective, teams can ship as fast as they like; when the budget is exhausted, reliability work takes priority. Both sides agree on the rule in advance, so the conversation is about data rather than blame.

SRE versus DevOps

DevOps is a broad culture of collaboration and automation between development and operations. SRE is a specific, opinionated implementation of that culture with concrete practices: SLOs, error budgets, toil limits, postmortems. You can think of SRE as one way to do DevOps well.

A worked example

A small company runs a booking platform. Deployments happen on Friday afternoons when the developers finish features, outages are frequent, and the one operations engineer is burned out. They adopt three SRE practices: an availability objective of 99.5 percent per month measured at the load balancer, a rule that no deployment proceeds when the error budget is spent, and a weekly hour to automate the most painful manual task. Within a quarter, deploys move to automated pipelines, the Friday rule is replaced by a canary process, and the operations engineer spends most of their time on tooling instead of firefighting.

Common mistakes

  • Renaming the operations team to SRE without changing practices.
  • Pursuing maximum reliability without asking what users need, and freezing development as a result.
  • Treating SRE as a separate team that owns reliability alone. Reliability is everyone’s job; SRE provides the method.

Action Step

Write one paragraph describing how your team currently decides whether a service is reliable enough and who makes that call. If the answer is nobody or it depends on who complains, you have found the first thing SRE will fix.

Editorial & AI Disclosure