Try
↑ ↓ move↵ openesc close

Interview prep / SLOs and alerting

Junior · SLOs and alerting · System design interview question

What is the difference between an SLI, an SLO and an SLA?

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

A strong answer

An SLI, a service level indicator, is a measurement of service quality, usually a ratio of good events to all events. For example, the share of requests that succeed in under 300 ms.

An SLO, a service level objective, is a target for an SLI over a period, for example 99.9 percent over 30 days. It is an internal goal that guides decisions.

An SLA, a service level agreement, is a promise to a customer, often with consequences such as credits if it is missed. The SLO should be stricter than the SLA so the team notices trouble before it costs money.

Pick the SLI from what users experience. "The process is up" is not an indicator.

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