Try
↑ ↓ move↵ openesc close

Interview prep / SLOs and alerting

Mid · SLOs and alerting · System design interview question

Why alert on burn rate instead of a fixed error-rate threshold?

Sketch your own answer first, then compare it with the one below.

A strong answer

A fixed threshold has no link to the objective. Set high, it misses slow leaks that would still empty the budget. Set low, it pages on short blips that cost almost nothing. Either way the page does not tell the responder how much budget is at stake.

A burn-rate alert is stated in terms of the budget. Firing at a given burn rate over a given window means a known share of the budget has gone, or will go within a known time. That lets you choose which problems deserve a page and which a ticket, and the same rule works across services with different objectives.

Burn-rate alerts do not fix everything. A single long window is slow to clear, a short window is jumpy, and low-traffic services give noisy ratios.

Sources

Learn it by running it

The slos, error budgets and alerting lesson explains the mechanism behind this question, and its lab lets you change the parameters and watch the effect.

Your progress is saved in this browser. Sign in to keep it on every device. Privacy · Terms