Dev tools
Site Reliability Engineering (SRE): A Plain Guide
Site reliability engineering explained: what SRE is, SLIs, SLOs and error budgets, toil, incidents, SRE vs DevOps vs platform engineering and how to start.
Site reliability engineering (SRE) is the practice of running production systems with software engineering methods: measuring reliability with precise targets, automating repetitive operations work, and using an "error budget" to balance shipping new features against keeping the service stable. It started at Google in 2003, where Ben Treynor Sloss described it as "what happens when you ask a software engineer to design an operations team."
This guide answers what is SRE in plain terms, covers the core site reliability engineering practices (SLIs, SLOs, error budgets, toil limits, monitoring, incident response and postmortems), compares SRE vs DevOps and SRE vs DevOps vs platform engineering, explains what a site reliability engineer does day to day, and shows how a small team can adopt SRE without hiring a whole department.
What Is SRE?
SRE treats operations as a software problem. Instead of a separate operations team manually keeping servers alive, engineers who can write code own the reliability of a service and solve operational problems by building tools, automation and better systems.
Google's SRE book, written by the people who built the practice, lists the areas SRE teams are responsible for: availability, latency, performance, efficiency, change management, monitoring, emergency response and capacity planning. Two ideas make SRE different from traditional operations:
- Reliability is a number, not a feeling. Teams agree on measurable targets and manage to them.
- 100% is the wrong target. Users can't tell 99.99% from 100% through their own unreliable networks and devices, and chasing perfection slows everything else down. The gap between the target and 100% becomes a budget you can spend.
The term "site reliability engineering" comes from Google running web sites; today it applies to any production service, from APIs to internal platforms.
Site Reliability Engineering Practices
SLIs, SLOs and SLAs
| Term | What it is | Example | Who sets it |
|---|---|---|---|
| SLI (service level indicator) | A measurement of service behavior | Percentage of requests that succeed in under 300 ms | Engineering |
| SLO (service level objective) | The target for an SLI over a period | 99.9% of requests succeed in under 300 ms over 30 days | Engineering with product |
| SLA (service level agreement) | A contract promise with consequences | 99.5% monthly availability or the customer gets credits | Business and legal |
The SLO should be tighter than the SLA, so you notice and fix problems before you owe customers anything. Good SLIs measure what users experience, such as successful requests and response times, rather than server metrics like CPU usage.
Error budgets
An error budget is the amount of unreliability your SLO allows: 100% minus the target. It turns reliability into a shared resource between developers and operators.
| SLO | Allowed downtime per 30 days | Allowed downtime per year |
|---|---|---|
| 99% | 432 minutes (7.2 hours) | 87.6 hours |
| 99.5% | 216 minutes | 43.8 hours |
| 99.9% | 43.2 minutes | 8.76 hours |
| 99.95% | 21.6 minutes | 4.38 hours |
| 99.99% | 4.3 minutes | 52.6 minutes |
For request-based SLOs, the budget is a number of failed requests: at 99.9% and 10 million requests a month, you can afford 10,000 failures.
How teams use it: while budget remains, ship features and take reasonable risks. When the budget is spent, slow down: freeze risky releases and spend engineering time on reliability until the service is back within target. Google's book describes how this aligns incentives, because developers and SREs both want to keep shipping and both lose when the budget runs out.
Limiting toil
Toil is manual, repetitive, automatable operational work that scales with the service and has no lasting value: restarting services by hand, applying the same fix to every new server, copying data between systems. Google's SRE model caps operational work at 50% of an SRE's time; the rest goes to engineering projects that reduce future toil. If operations load exceeds that, work is pushed back to the development team, which gives developers a reason to build services that are easier to run.
Monitoring and alerting
The SRE book recommends watching four "golden signals" for any user-facing system:
- Latency: how long requests take, tracking successful and failed requests separately.
- Traffic: how much demand the system receives, such as requests per second.
- Errors: the rate of failed requests, including requests that return success but wrong content.
- Saturation: how full the most constrained resource is, such as memory, CPU or connections.
Alerts should wake a human only when a human needs to act, ideally when an SLO is at risk. Everything else belongs on dashboards or in tickets. Alerting on burn rate, how fast the error budget is being consumed, catches both sudden outages and slow degradations.
Incident response
When something breaks, SRE teams follow a defined process: clear roles (an incident commander, someone handling communication, people working the fix), a single channel for updates, mitigation first (roll back, fail over, shed load) and root-cause investigation after service is restored. Practiced playbooks shorten recovery, which is why many teams run drills.
Blameless postmortems
After significant incidents, teams write a postmortem: what happened, the impact, the timeline, contributing causes and action items. "Blameless" means focusing on systems and processes rather than individuals, because people who fear blame hide information and the same failure happens again.
Release engineering and change management
Most outages follow changes. SRE practices make change safer: progressive rollouts (canaries and staged deployments), automated rollback, feature flags, and keeping deployments small and frequent rather than large and rare.
Capacity planning
SRE teams forecast demand, load-test, and keep enough headroom for traffic spikes and the loss of a zone or region. Saturation from the golden signals feeds directly into this.
What Does a Site Reliability Engineer Do?
A typical week for a site reliability engineer mixes operations and engineering:
- On-call shifts: responding to alerts and leading or supporting incidents.
- Defining and reviewing SLOs with product and development teams.
- Automation: writing tools that remove toil, from deployment pipelines to self-healing scripts.
- Observability: improving metrics, logs, traces and dashboards.
- Reliability reviews: checking new services and launches for failure modes before they go live.
- Capacity and performance work: load testing, tuning and cost efficiency.
- Postmortems and follow-up: making sure action items actually ship.
Skills that matter: programming (often Go or Python), Linux and networking, cloud platforms and Kubernetes, observability tools, and calm, structured thinking under pressure.
Site reliability engineer vs reliability engineer: "reliability engineer" is also a traditional engineering role in manufacturing, aerospace and other industries, focused on the failure rates of physical equipment and products. A site reliability engineer works on software services. They share ideas like failure analysis and redundancy, but the day-to-day work is different.
SRE vs DevOps
DevOps is a culture and set of principles for breaking down the wall between development and operations: shared ownership, automation, small frequent changes, fast feedback and measurement. SRE is one specific way to put those principles into practice. Google's Site Reliability Workbook sums it up with a programming analogy: "class SRE implements interface DevOps."
| DevOps | SRE | |
|---|---|---|
| What it is | A philosophy and culture | A concrete job role and set of practices |
| Main goal | Faster, safer delivery through collaboration | Reliable services at a defined level, with sustainable operations |
| How reliability is managed | Shared responsibility, often informal | SLOs and error budgets |
| Key measures | Deployment frequency, lead time, change failure rate, recovery time (the DORA metrics) | SLO compliance, error budget burn, toil percentage |
| Who does it | Everyone on the team | Dedicated SREs or engineers with SRE responsibilities |
| Typical output | Pipelines, automation, team practices | Reliability targets, automation, incident processes, postmortems |
In practice, many companies use "DevOps engineer" and "SRE" loosely and overlap their responsibilities. The useful question isn't the title but whether a team has clear reliability targets and time protected for engineering work.
SRE vs DevOps vs Platform Engineering
Platform engineering is the newest of the three: a team builds an internal developer platform, a set of self-service tools, templates and paved roads for deploying and running software, so product teams don't each reinvent infrastructure.
| DevOps | SRE | Platform engineering | |
|---|---|---|---|
| Focus | Culture and collaboration | Reliability of production services | Developer experience and self-service infrastructure |
| Customer | The whole organization | Users of the service | Internal developers |
| Main output | Practices and pipelines | SLOs, automation, incident response | An internal developer platform |
| Success measure | Delivery speed and stability | Meeting SLOs with limited toil | Developer adoption and productivity |
They fit together: platform teams build the paved road, SREs make sure services on it are reliable, and DevOps culture keeps everyone working on both.
How to Adopt Site Reliability Engineering in a Small Team
You don't need a dedicated SRE team to benefit. A practical sequence:
- Pick your most important user journey, such as "log in" or "checkout," and define one or two SLIs for it.
- Set an SLO a bit below current performance, so you start inside budget.
- Alert on the SLO, not on every metric. Delete alerts nobody acts on.
- Write a one-page incident process: who's on call, where to communicate, how to roll back.
- Hold blameless postmortems for incidents that burn significant budget, and track the action items.
- Measure toil for a month and automate the biggest item.
- Agree on what happens when the budget runs out, before it does.
For services built on AI models, add quality and cost alongside availability and latency; our guide to LLM observability covers what to measure there. And rate limits from upstream providers count against your reliability, so handle them gracefully, as described in our guide to API rate limiting.
Common Mistakes
- Aiming for 100%. It's impossible and paralyzes delivery; pick a target users actually need.
- SLOs nobody looks at. If missing the SLO changes nothing, it's just a dashboard.
- Too many alerts. Alert fatigue means real problems get ignored.
- Renaming ops as SRE. Without time for engineering, the team just carries the pager.
- Blame after incidents. It hides the information you need to prevent the next one.
- Measuring servers instead of users. CPU at 90% might be fine; failed checkouts never are.
FAQ
What is SRE in simple terms?
It's a way of running software services where engineers set clear reliability targets, measure them, automate repetitive operations work and balance new features against stability using an error budget.
What is the difference between SRE and DevOps?
DevOps is a broad culture of shared ownership between development and operations. SRE is a specific implementation of it, with concrete practices like SLOs, error budgets and limits on manual operations work.
Do site reliability engineers write code?
Yes. SREs write automation, tooling and sometimes product code to improve reliability. Google's model reserves at least half of an SRE's time for engineering work rather than manual operations.
What is a good SLO?
One that matches what users need and what the business can afford. Many web services use 99.9% for important requests; critical infrastructure may need 99.99%, while internal tools can be lower. Start slightly below current performance and adjust.
Is SRE only for large companies?
No. Small teams can adopt the core practices, SLOs, error budgets, sensible alerting and blameless postmortems, without dedicated SRE staff.