Reliability and Cost Engineering › What Reliability Engineering Buys You
Language AI HandbookAll chapters Pick the request outcome users need before choosing a retry or cache policy. A service-level objective gives the team a target against which to measure the policy.
A service-level indicator (SLI) measures service behavior. Here it is the fraction of eligible requests that succeed within two seconds. A service-level objective (SLO) sets a target, such as 99.5% over a rolling 28-day window. A service-level agreement (SLA) specifies consequences of meeting or missing its objectives. A 99.5% request-based SLO allows 0.5% bad requests. A time-based availability SLO with the same target would allow 3.36 hours of unavailability in 28 days. Google SRE's SLO workbook uses the good-event ratio to derive a request error budget.
Suppose eight required calls succeed independently with probability 0.995 each. When every call must succeed and there is no recovery path, the request succeeds with probability , about 96.1%. Adding eight more otherwise identical calls makes it , about 92.3%. The products model actual success probabilities under independence. The end-to-end SLO is the target you select for the service.
Improving a component can improve end-to-end reliability. The remaining required steps still bound the gains. Look at which calls a request can avoid and whether a recovery path can finish within its deadline. Each extra attempt uses some of the capacity you are trying to protect.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!