Skip to content
Ameen Abozaid
SRC-012

SLO engineering

  • 7 Lessons
  • 4 h practice (estimate)
On this page 9 topics

Overview

Topics

  • Service-level objectives
  • error-budget policies
  • alerts

Learn first

4 h of practice (estimate)

Learning outcomes

  1. Derive SLOs from user journeys and business commitments, including dependency SLOs.
  2. Write an error-budget policy that changes team behavior when the budget runs out.
  3. Design multi-window, multi-burn-rate alerts and tune them for precision and recall.
  4. Review SLOs periodically and retire useless ones.

Lessons

  1. 01SLOs from user journeys
  2. 02Composing SLOs across dependencies
  3. 03Error-budget policies
  4. 04Multi-window burn-rate alerting
  5. 05Reviewing and evolving SLOs
  6. 06Demo: tuning noisy alerts with burn-rate windows
  7. 07Demo: negotiating an error-budget policy with product

Lab and exercises

Lab

SRC-012-LAB1 · 99.95% for orders

Outcomes: 1–4 · Time: ~4 h Define SLIs and SLOs for the order journey consistent with the 99.95% commitment, with dependency SLOs and a composition check. Write an error-budget policy and agree it with role-played product leadership. Build multi-window burn-rate alerts and tune them by replaying recorded error data. Acceptance: alert simulation shows no pages for brief blips and fast pages for real outages.

Exercises (assessment: SLO and policy review)

IDOutcomeTask
SRC-012-EX011Define an SLI and SLO for "customer sees order confirmation": good and valid events, window, target.
SRC-012-EX021Compute the composite availability for gateway 99.99%, orders 99.95%, payment provider 99.9% in series. Is 99.95% achievable? What would you change?
SRC-012-EX032Write an error-budget policy with three thresholds, actions, and an exception process.
SRC-012-EX043Given a 99.95% SLO over 30 days, pick burn-rate rules for page and ticket and justify the windows.
SRC-012-EX053A rule pages 12 times a month, 2 for real incidents. Compute precision and propose a fix.
SRC-012-EX064Review an SLO set: one at 100% for a year, one measured inside the service, one never alerted on. Recommend actions.
Show solutions
  • EX01 Good: HTTP 2xx confirmation under the latency target; valid: all order submissions excluding client errors; 30 days; 99.95%.
  • EX02 0.9999 × 0.9995 × 0.999 ≈ 0.9984, about 99.84%: not enough. Make the payment dependency soft (queue and confirm later), add retries with limits, or negotiate the dependency SLO.
  • EX03 Example: below 50% spent, normal; over 50%, risky changes need extra review; over 100%, freeze feature releases except reliability work; exception by named approver, logged.
  • EX04 Page: 14.4× over 1 h with 5 min check (about 2% budget spent); ticket: 1× over 3 days with 6 h check. Verify against your window. Long window gives significance, short gives reset.
  • EX05 Precision 2/12, about 17%. Replace with burn-rate windows or lengthen window; replay to confirm recall is kept.
  • EX06 Retire or tighten the 100% SLO; move the SLI to the edge; add alerting or drop the unused one.
  • Outcome 2 is also covered by the lab policy and Q04-Q05.

Workplace evidence: an SLO or error-budget policy adopted by your team.

Quiz

Outcomes: O1 deriving SLOs · O2 error-budget policy · O3 burn-rate alerts · O4 SLO review.

A self-check for you: nothing is graded, saved or sent anywhere. Choose an answer, then check it. You can try again as often as you like.

  1. 1An SLI is best defined as:O1
  2. 2Where should an availability SLI ideally be measured?O1
  3. 3Three serial hard dependencies at 99.9% each give about:O1
  4. 4The error budget for a 99.95% SLO is:O2
  5. 5An error-budget policy is credible when it:O2
  6. 6Burn rate 1 means:O3
  7. 7The short window in a multi-window alert mainly:O3
  8. 8A fast-burn alert should typically:O3
  9. 9An SLO that is always 100% met and unused should be:O4
  10. 10An incident that breached no SLO suggests:O4

Practical part

SLO and policy review (SRC-012 assessment): critique a given SLO set and policy, and show SRC-012-LAB1 alert simulation results. Pass: at least 8/10 on the quiz, composition arithmetic correct, and a policy with real consequences.

Common mistakes

Promising more nines than dependencies allow; budgets with no consequences.

Assessment

SLO and policy review.

Workplace evidence

An SLO or error-budget policy adopted by your team.

Career relevance

Organization-wide reliability (STF-005).

Type to search levels, phases, modules and lessons.