SLA vs SLO vs SLI: how to set reliability targets that actually mean something
These three acronyms get used interchangeably, but they mean different things, and the difference matters when deciding how reliable a service needs to be.
SLI: service level indicator A measurement. For example: the percentage of requests that succeed, or the percentage served in under 300 ms.
SLO: service level objective An internal target for an SLI over a time window. "99.9% of requests succeed over 30 days."
SLA: service level agreement A contractual promise to customers, usually with consequences (credits, refunds) if missed. SLAs are typically looser than internal SLOs so you have a buffer.
Error budgets
If your SLO is 99.9%, you're allowed 0.1% failure. That's your error budget. When there's budget left, you can ship faster and take risks. When it's spent, focus shifts to reliability work.
Picking good targets
- Measure from the user's perspective, not just "server is up."
- Start with what you achieve today, then adjust.
- Each extra "nine" costs much more than the last. 99.99% allows roughly 4 minutes of failure a month.
- Don't promise more reliability than your dependencies provide.
Common mistake
Setting 100% as a target. It's unachievable and leaves no room for change.
Do you use error budgets in practice? How did you pick your first SLO?
Comments · 2
SLI is the measurement, SLO is the target, SLA is the promise with consequences. Simple way to remember it.
Set SLOs a bit below what you can hit. A target of 100% means any outage breaks the promise. Error budgets are a healthier way to think.