Three words for promises about reliability: what you measure, what you aim for, and what you promise.
SLI, SLO and SLA are three words for talking about reliability in numbers. They sound alike, but each one does a different job.
“Our service is reliable” means nothing until you say how you measure it and how good is good enough. These three ideas turn a feeling into a number.
An SLI is a number that tells you if users are happy. Good SLIs are close to what users feel: the share of requests that succeed, the share that finish faster than 300 ms, or the share of data that is fresh enough. CPU use is a poor SLI, because a busy CPU does not always mean a bad experience.
An SLO is a goal on an SLI over a period of time, such as “99.9% of requests succeed over 30 days.” It is an internal goal. Missing it is a signal to slow down and fix things, not a legal problem.
An SLA is a written agreement with a customer. It usually names the target and what happens if you miss it: service credits, refunds or other penalties. Because it has real costs, an SLA is set looser than the SLO you aim for.
| Term | What it is | Who it is for | If you miss it |
|---|---|---|---|
| SLI | A measured number | Engineers | Nothing by itself. It is just a fact. |
| SLO | A target on that number | The team (internal) | Slow down, fix reliability, review what happened |
| SLA | A written promise to customers | Customers and lawyers | Credits, refunds or other penalties |
| Kind | Example SLI | Good for |
|---|---|---|
| Availability | Successful requests ÷ all requests | Is it up and answering? |
| Latency | Share of requests faster than 300 ms (or p99 under 1 s) | Is it fast enough? |
| Correctness | Share of answers that are right | Is the data right? |
| Freshness | Share of records updated within 1 minute | Pipelines and caches |
| Durability | Share of stored objects that can still be read | Storage systems |
| SLO | Error budget | Real meaning |
|---|---|---|
| 99% | 7.2 hours | Fine for internal tools |
| 99.9% | 43.2 minutes | A common goal for normal web services |
| 99.99% | 4.32 minutes | Needs automatic failover and strong operations |
| 99.999% | about 26 seconds | Very costly. A human cannot even react in time. |
A simple model that measures availability as time. Real SLIs are often counted in requests (good requests ÷ all requests). The incidents and their lengths are made up for teaching (illustrative).
| Term | Meaning in easy words |
|---|---|
| SLI | Service Level Indicator: a number that measures how well the service is doing |
| SLO | Service Level Objective: an internal target for an SLI over a period of time |
| SLA | Service Level Agreement: a contract with customers, with penalties if missed |
| Error budget | How much failure the SLO allows. 100% minus the SLO. |
| Burn rate | How fast the error budget is being used compared with the normal pace |
| Nines | A short way to say availability: 99.9% is “three nines” |
| Uptime | The share of time the service is working |
| Percentile (p99) | The value that 99% of requests are faster than. Used for latency SLIs. |
| Service credit | A refund or discount given to a customer when an SLA is missed |
| Window | The time period an SLO is measured over, such as 30 days |
| Toil | Repeated manual work that could be automated. Often cut by reliability work. |
| Choice | We gain | We lose |
|---|---|---|
| Tighter SLO | Happier users, fewer outages | More cost, slower releases, less room for risk |
| Looser SLO | Cheaper and faster to ship | More failures that users can see |
| Short window (7 days) | Quick feedback on problems | Noisy: one bad day can break the SLO |
| Long window (90 days) | Smooth and fair | Slow to notice and react |
| Counting requests | Matches what users feel | Needs request-level data |
| Counting time | Simple to explain | Hides how many users were hit, or whether it was night |