📁 Sangam Dhakal - Portfolio v2.0 - Netscape Navigator 4.0
_
□
×

📚 Interview question

What is an error budget, how do you calculate it, and what happens when a team runs out of it?

Senior Architecture Advanced distributed-systems error-budget microservices slo sre

🎯 Key points

  • Error budget = 1 − SLO over a rolling window
  • 9% over 28 days ≈ 40 minutes of full outage (0.1% of requests may fail)
  • Measure continuously from SLIs (good requests / valid requests) and alert on burn rate, e.g. 14.4× over 1 hour
  • Written policy agreed with product owners before it is needed
  • Budget remaining drives release strategy: normal cadence, then smaller canaries and more gating, then freeze
  • Exhausted budget: freeze risky feature releases, prioritise reliability work until back within SLO
  • Revisit the SLO when users are unhappy inside budget or happy outside it

⏱ 30-second answer

The error budget is 1 − SLO over the window: a 99.9% availability SLO over 28 days allows 0.1% bad requests, about 40 minutes of full outage. It turns reliability into a number engineering and product both spend.

  • Measure continuously from the SLI and alert on burn rate (fast burn pages, slow burn tickets).
  • The remaining budget drives release strategy: plenty left means normal cadence and experiments; past ~50% spent mid-window means smaller canaries, more gating and reliability work first.
  • A written policy agreed with product owners says what happens when it is exhausted: freeze risky feature releases for that service until it is back within SLO.

The trade-off: too tight an SLO stalls delivery, too loose hides real user pain, so revisit the SLO against user feedback.

🔍 What the interviewer is checking

Checks they can turn an SLO into a working decision rule that changes how the team ships.

Green flags

  • Does the 99.9% → ~40 minutes maths correctly
  • Mentions burn-rate alerting rather than raw error thresholds
  • Describes a pre-agreed policy and how it changes deployment practice

Red flags

  • Treats the error budget as a target to hit rather than a budget to spend
  • No consequence when it runs out

↩ Usually asked after

More in Microservices

Last updated 23 Nov 2026.

🌐 Sangam's Webring

⏪ Previous 🏠 Main Next ⏩
💬 Chat with me