Reliability and Cost Engineering › What Reliability Engineering Buys You

Michael BrenndoerferDecember 2, 20262 min read
Language AI HandbookAll chapters
Part 64 of 67Compound AI System Design
Chapter 490Reliability and Cost Engineering › What Reliability Engineering Buys You
Reading section 2 of 12 · What Reliability Engineering Buys You · 2 minSection 2 of 12 · 2 min

Section 2 of 12 · 2 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

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.

SLI, SLO, SLA

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 0.99580.995^8, about 96.1%. Adding eight more otherwise identical calls makes it 0.995160.995^{16}, 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!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy