SLI / SLO / SLA

The three measurements every SRE conversation orbits — verbatim definitions, the differentiator test, and the canonical good/total form.

Overview

SLI, SLO and SLA

These three are the most-tested SRE definitions in interviews. Get them precise, because the differences are load-bearing.

They stack in one direction. The SLI is the measurement, a ratio of good events to total events. The SLO is the target you set on that SLI. The SLA is a contract with consequences, and it is built on SLOs. One more number falls out of the SLO: the error budget, which is simply 1 minus the SLO.

Key concepts

  • SLI — Service Level Indicator
  • SLO — Service Level Objective
  • SLA — Service Level Agreement
  • Good / total form (canonical SLI shape)
  • The Differentiator test
  • SLI menu by service type

Interview questions

  • What's the difference between SLI, SLO and SLA — and what's the test that separates SLO from SLA?
  • Walk me through implementing an SLO for a brand-new web service.
  • Why measure with percentiles instead of averages?
  • I'm told to set the SLO at "100%" — what do I say?
  • Who owns the SLO — SRE, dev, or product?

Sign up free to read the full topic

More SRE topics

Start free on Cariara · Coding problems · System design studio