Try
↑ ↓ move↵ openesc close

Interview prep / SLOs and alerting

Senior · SLOs and alerting · System design interview question

Product wants a 99.95 percent SLO for checkout. It hard-depends on auth at 99.9, payments at 99.95 and inventory at 99.9. What do you tell them?

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

A strong answer

Say that the target is out of reach as designed, and show the arithmetic. If a request needs all three, and they fail independently, the best availability is 0.999 times 0.9995 times 0.999, which is about 99.75 percent. A 99.95 percent target allows 21.6 minutes of failure in 30 days. The dependencies alone are expected to cause about 108, before checkout's own bugs and releases.

Then offer options, in order of effort. First, check whether each dependency is truly hard. Inventory could be served from a cache that is allowed to be a minute stale, which removes it from the product. Auth sessions can often be validated locally from a signed token, so a brief auth outage does not block checkout. Second, ask the owning teams what they really deliver. Measured availability often differs from the published target, in either direction. Third, negotiate tighter targets for the dependencies that matter, with the cost made explicit. Fourth, if none of that works, lower checkout's target or promise it only for the paths that avoid the weak links.

State the assumptions. Independence is optimistic, since shared infrastructure makes failures cluster, so the product is a rough guide and not a guarantee. Whatever target is agreed, keep a budget line for the dependencies so the split is visible.

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