1.SLI, SLO and SLA
An SLI is the actual measured number (e.g. 99.95% of requests succeeded). An SLO is the internal target for that number (e.g. "keep it above 99.9%"). An SLA is the externally committed version of that target, usually with a financial or contractual consequence for missing it.
Key features
- SLI (Service Level Indicator): the actual measured value — e.g. 99.95% success rate this week
- SLO (Service Level Objective): the internal target for an SLI — e.g. "keep success rate above 99.9%"
- SLA (Service Level Agreement): an externally committed SLO, usually with a penalty for missing it
- SLOs are set stricter than SLAs, so an SLO breach gives warning before an SLA breach happens
- Every SLA needs an SLI behind it; not every SLI needs an SLA (internal-only services often skip it)
SLI vs SLO vs SLA
- SLI: 99.93% — the measured fact, this month
- SLO: 99.9% — internal target — engineering's early warning
- SLA: 99.5% — external contract, with a service credit if breached
Command
SLI = the measured value (fact)
SLO = the internal target for it (goal)
SLA = the external, contractual SLO (promise + penalty)
SLA target < SLO target <= actual SLI (healthy state)SLI = the measured fact. SLO = the internal target. SLA = the external, consequence-bearing promise. SLO is set stricter than SLA.