SynfraCore
Synfracore
Start Learning
Navigation

Academies

Platform

RoadmapsLabsCertificationsInterviewPYQsAI AssistantCareer
Start Learning Free Learning Roadmaps

SLOs & Error Budgets — Fundamentals

Core concepts and commands — hands-on from the start

📄
Last updated Nov 2026
Expert Content

SLOs & Error Budgets — Fundamentals

The error budget formula, worked through

If your SLO is 99.9% success over a 30-day window, your error budget is the complement: 0.1% of total requests may fail without breaching the objective.

text
error_budget = (1 - SLO_target) * total_requests_in_window

Example: SLO = 99.9%, 2,592,000 requests this month
error_budget = (1 - 0.999) * 2,592,000 = 2,592 allowed failures

That number only means something once you track how much of it is already spent. A service that's failed 2,000 of those 2,592 allowed requests by day 10 is in a very different position than one that's failed 200 — even though both are technically still "within budget" on paper.

Burn rate: the number that actually matters day to day

Burn rate is how fast you're spending the budget relative to how fast the window allows. A burn rate of 1x means you're spending the budget exactly as fast as the window permits — hit zero right when the window resets. A burn rate of 10x means you'd exhaust an entire month's budget in about three days if it kept up.

text
burn_rate = (actual_error_rate) / (1 - SLO_target)

Example: SLO = 99.9% (allowed error rate 0.001), current error rate = 0.01 (1%)
burn_rate = 0.01 / 0.001 = 10x

A burn rate alert fires on this ratio, not on the raw error count — a sudden 10x burn rate during a usually-quiet night is just as urgent as the same burn rate during peak traffic, even though the raw request count differs enormously.

Request-based vs. windows-based SLIs

A request-based SLI counts individual events: good requests divided by total requests. This is the natural fit for most API/service SLOs — "99.9% of requests succeed."

A windows-based SLI instead buckets time into fixed intervals (say, one minute) and asks whether that interval met some bar — "was error rate under 1% during this minute." This fits systems where individual request counting is awkward, like batch jobs or systems with highly variable traffic, where a handful of slow minutes matters more than a handful of slow requests buried in millions of fast ones.

Request-based
Counts individual good/bad events. Natural for most APIs and services
Windows-based
Buckets time into intervals, asks if each interval met the bar. Fits batch and highly variable traffic

Availability SLOs vs. latency SLOs

An availability SLO asks "did the request succeed at all" — a binary good/bad judgment per request. A latency SLO asks "was the response fast enough" — usually expressed as a percentile target, like "95% of requests complete under 300ms." Most production services need both: a request that returns 200 after 8 seconds is not meaningfully "available" to a user who gave up after 3.

A common latency SLO pattern treats "too slow" as a failure for availability purposes too — a request that exceeds some latency threshold counts as a bad event in the availability SLI, not just a separate latency metric tracked in isolation.

Why composite SLOs need care

A service that depends on three downstream services inherits risk from all three. If each dependency independently targets 99.9%, a request that touches all three (in the worst case, multiplying the failure probabilities) can have a meaningfully lower combined success rate than any single dependency's own number suggests — which is why a dependent service's own SLO target has to account for what it's built on, not just its own code's reliability.

Try it: Pick one real endpoint you know the traffic volume for. Using the formula above, calculate what a 99.9% SLO over 30 days means in raw allowed-failure count, then calculate the burn rate if that endpoint had a bad hour with a 2% error rate. Is 2% for an hour a big deal, or noise? The math — not a gut feeling — should answer that.

Share:
Join our Community
Daily tips, job alerts, interview help — join engineers learning together
→
Up Next
⚡
SLOs & Error Budgets — Intermediate
Real-world patterns, best practices, and deeper topics
Also Worth Exploring
← Back to all SLOs & Error Budgets modules
← InstallationIntermediate →