Advanced Topic 48 of 50 Software Engineering
Site Reliability Engineering
Applying software practice to operations with error budgets.
How it works
Site reliability engineering applies software engineering to operations, a discipline originated at Google. It defines reliability targets with service level indicators and objectives and uses error budgets, the allowed amount of unreliability, to balance feature velocity against stability. Practices include monitoring and alerting on symptoms, automation to eliminate toil, capacity planning, incident response with blameless postmortems, on-call rotations and gradual rollouts.
Step-by-step walkthrough
- The team sets a service level objective such as 99.9 percent.
- The gap to 100 percent is the error budget.
- While budget remains, ship new features quickly.
- When it is used up, focus on reliability.
- Automation reduces toil.
Where it is used
Operating large online services, setting reliability goals, handling incidents and improving systems after outages use SRE methods.
Common pitfall
Treating SRE as renamed system administration misses the engineering focus. Setting 100 percent availability targets is unrealistic and expensive. Too many noisy alerts cause fatigue, and blame-oriented postmortems hide lessons. Define meaningful SLOs, alert on user-visible impact, reduce toil by automation and learn systematically from incidents.
Where it fits in the course
Site Reliability Engineering is topic 48 of 50 in Software Engineering, rated Advanced. It follows Chaos Engineering. The next topic is Software Estimation.
Practice and explore
- Open the interactive lesson, with a mini quiz.
- Take the Software Engineering quiz.
How to study this topic
- Read the explanation above and restate the definition in your own words.
- Open the interactive lesson and answer its mini quiz.
- Read the common pitfall, then write a short example that avoids it.
- Check your understanding in the Software Engineering quiz, and revisit the topic if you miss a question.
Frequently asked questions
What is Site Reliability Engineering?
Where do people use Site Reliability Engineering?
What is the most common mistake with Site Reliability Engineering?
What should I learn before this topic?
How can I practice it?
Is Site Reliability Engineering hard to learn?
How long does it take to learn Site Reliability Engineering?
Which topics are related to Site Reliability Engineering?
What should I study after Site Reliability Engineering?
Related topics
- Chaos Engineering (Software Engineering)
- Software Estimation (Software Engineering)
- Property-Based Testing (Software Engineering)
- Open Source Practices (Software Engineering)
- Availability and Reliability (Distributed Systems & Cloud)
- Social Engineering (Security & Cryptography)
- Cross-Site Scripting (Security & Cryptography)