download

99.9% SLO over 30 days: how fast does your budget burn?

DevOps~10 minReviewed 2 Dec 2026Free · No sign-in

Question

Your payment API has a 99.9% availability SLO over a rolling 30-day window (43,200 minutes) and handles 10,000,000 requests in 30 days.

At 10:00 UTC, a broken deploy pushes the 5xx error rate to 1.44%.

  1. What is the 30-day error budget in failed requests, and in total downtime minutes at uniform traffic?
  2. At a 1.44% error rate, what is the burn rate, and how many hours until the 30-day budget hits zero?
  3. Why do SRE teams alert on a paired 1-hour and 5-minute window instead of a single threshold, and what happens when the budget runs out?
Show hints (3)
  1. "COMPUTE ALLOWED ERRORS"

    A 99.9% SLO leaves an error budget of 0.1% (0.001). Multiply 0.001 by 10,000,000 requests and by 43,200 minutes.

  2. "DEFINE BURN RATE"

    Burn rate equals current_error_rate / error_budget_ratio. Divide 720 hours (30 days) by the burn rate to get hours until exhaustion.

  3. "WHY TWO WINDOWS"

    The long window confirms meaningful budget loss. The short window confirms the outage is still happening now, so the alert clears quickly after recovery.

Show checked explanation

A 99.9% SLO gives an error budget of 0.1%: 10,000 failed requests (or 43.2 minutes of full outage over 30 days). A 1.44% error rate is a 14.4x burn rate, exhausting the entire 30-day budget in 50 hours. Pairing a 1-hour and 5-minute window avoids noisy blips and resets fast; hitting zero budget freezes non-emergency feature launches.

"SOLUTION · PYTHON"
slo = 0.999
days, total_requests = 30, 10_000_000
budget_ratio = round(1 - slo, 6)
budget_minutes = days * 24 * 60 * budget_ratio
budget_requests = int(total_requests * budget_ratio)

print(f"budget: {budget_requests:,} bad reqs or {budget_minutes:.1f} min")
for label, err_rate, win_h in [
    ("fast page", 0.0144, 1),
    ("slow page", 0.006, 6),
    ("ticket", 0.001, 72),
]:
    burn = err_rate / budget_ratio
    exhaust_h = (days * 24) / burn
    pct_burned = (win_h / exhaust_h) * 100
    print(f"{label:9s}: burn={burn:4.1f}x exhaust={exhaust_h:5.0f}h "
          f"window_use={pct_burned:.0f}%")
"OUTPUT"
budget: 10,000 bad reqs or 43.2 min
fast page: burn=14.4x exhaust=   50h window_use=2%
slow page: burn= 6.0x exhaust=  120h window_use=5%
ticket   : burn= 1.0x exhaust=  720h window_use=10%

SLO budget, burn-rate math, and multi-window alert consumption run on CPython 3.12.10 (Windows x64) and checked against Google SRE Workbook formulas. Checked by an editor other than the author.

Walkthrough

Start with the allowed unreliability (1 - SLO): for 99.9%, the error budget is 0.1% (0.001).

  • Request-based budget: 10,000,000 * 0.001 = 10,000 bad requests over 30 days.
  • Time-based equivalent: 30 * 24 * 60 = 43,200 minutes, and 43,200 * 0.001 = 43.2 minutes (720 hours * 0.001 = 0.72 hours).

A burn rate measures how fast you spend that budget relative to the 30-day pace. Burn rate 1x spends 100% of the budget in 720 hours. At a 1.44% error rate, burn rate is 1.44% / 0.1% = 14.4x. At 14.4x, the whole 30-day budget disappears in 720 / 14.4 = 50 hours (just over 2 days), burning 2% (200 failed requests at steady traffic) every hour.

Why single-window alerts hurt on-call teams. A 5-minute window alone pages for tiny blips that spend under 0.2% of budget. A 1-hour window alone keeps firing for nearly an hour after you already fixed the outage. The Google SRE Workbook pairs a long window and a short window (1/12 of the long window) with an AND rule:

Alert tierBurn rateError rate (99.9% SLO)Long / short windowBudget used on fire
Fast page14.4x1.44%1h AND 5m2% (200 reqs)
Slow page6.0x0.60%6h AND 30m5% (500 reqs)
Ticket1.0x0.10%3d AND 6h10% (1,000 reqs)

Both windows must breach to fire, so brief spikes do not page you, and the alert clears within 5 minutes once the short window recovers.

Error budget policy at zero. When the 30-day budget hits zero, product and engineering pause non-emergency feature releases and put sprint capacity into reliability work (postmortem fixes, load shedding, better tests). Security patches, rollbacks, and reliability fixes stay allowed until the rolling window regains positive budget.

Common mistakes

  • Treating an SLO as a 100% target. Aiming for 100% stalls shipping and costs far more infrastructure than users notice.
  • Using a static error threshold like 5xx > 1% for 5 minutes without burn-rate tiers. That misses a slow 0.6% leak that burns the entire budget in 5 days.
  • Alerting on a 1-hour window without a 5-minute short window. The page stays stuck firing long after recovery, causing alert fatigue.
  • Ignoring the error budget policy when budget hits zero. Without pre-agreed freeze rules signed by product and engineering, the SLO becomes decoration.

Follow-up questions

  • "Why prefer a request-based SLI over a time-based uptime check?" Time-based uptime treats a 5-minute outage at 3 AM (low traffic) the same as 5 minutes at peak checkout. A request-based SLI (good_requests / total_requests) weights incidents by actual user impact.
  • "How does a 99.95% SLO change your 30-day downtime budget?" Cutting allowed unreliability in half (0.05% instead of 0.1%) halves the budget to 21.6 minutes (5,000 bad requests out of 10,000,000). A 14.4x burn rate then triggers at 0.72% errors instead of 1.44%.
  • "What if traffic is very low, like 10 requests per hour?" One failed request gives a 10% error rate and false burn-rate pages. Add a minimum traffic threshold, group related endpoints into one SLI, or use synthetic probes so small samples do not wake on-call.

What a strong answer covers

Computes both 10,000 bad requests and 43.2 minutes, then derives the 14.4x burn rate and 50-hour exhaustion time. Explains why paired long-and-short windows cut noise and reset fast, and sets a clear freeze policy at zero budget.

Open in interactive practice deck →

Original OfferVibe question. Alerting on SLOs · Implementing SLOs · Error Budget Policy.
© 2026 OfferVibe · Text CC BY-NC-SA 4.0 · code MITFree to share and adapt with credit, not for commercial use. Code samples are free for any use.