Skip to content
BIASED

SLOs, error budgets and alerting

Block 1 of 5~3 min

What counts as a good save

A learner saves an answer. The interface should confirm the save only after storage acknowledges it. We will use this fictional service to decide what to measure and when an operator should act.

An eligible attempt is an authenticated, correctly formed save request. Each retry is another attempt. A good attempt receives a durable acknowledgement within 800 ms. A timeout, a server error or an acknowledgement after 800 ms counts as one bad attempt. Count it once even if several conditions apply. Invalid requests are excluded by the agreed classification rule.

If an interval contains N>0N>0 eligible attempts and BB bad ones, its SLI is 1−B/N1-B/N. Our SLO is at least 99.5% good attempts over the preceding 14 days. It is a measurable target. An SLA adds contractual commitments and consequences; an internal target alone does not create a compensation contract.

Measure both counts at the same boundary. A gateway can observe requests that reached it, but cannot see a client that never connected. No observations means the SLI is undefined, not 100% success.

Answers are saved on the server and tied to this browser until you sign in.

Go deeper — optional

Code and labs do not count toward the main percentage or the certificate.

  • Answer-save SLO: counts and windowsoptional

    Reproduce request budgets and alert times on fictional traffic. Check observation weighting, low volume and no-data behavior. No downloads or third-party libraries.

    ~20 min · easier on a computer · The SLO lesson and basic Python lists and functions.

    Self-check in the notebook — not part of mastery or the certificate.