Try
↑ ↓ move↵ openesc close

Interview prep / SLOs and alerting

Mid · SLOs and alerting · System design interview question

What does the second, shorter window in a multi-window burn-rate alert do?

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

A strong answer

The long window decides whether the burn is large enough to matter. It averages away short blips, so the alert does not page for them. The short window checks that the burn is still happening now.

Without the short window, a long-window alert keeps firing for as long as the bad minutes stay in the window, long after the service has recovered. People are paged for a problem that is already over. The short window drops quickly when errors stop, so the alert clears soon after.

Requiring both gives fewer false alerts than a short window alone and faster resets than a long window alone. Real setups run several such pairs at different burn rates. The fastest page someone and the slowest only raise a ticket.

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