Interview's MateSystem Design
Interview's Mate

System Design

Architecture & trade-offs

Visualizer

DSA Visualizer
All 32 lessons
Custom Playground
Try your own examples

Learning

System Design
31 architecture topics
SQL Learning
160 foundations → production topics
AI Engineering
160 LLM → backend topics
Data Science
160 Python → MLOps topics
Data Engineer
160 SQL → streaming topics
Docker
160 Docker learning topics
Kubernetes
160 K8s fundamentals → cloud
Java LearnSoon
Coming soon
Python Learn
Interview Q&A & internals
JavaScript Learn
Closures, async & DOM Q&A
Tech Learn
Search, practise & track Q&A
AI DSA Practice
Solve coding problems
Theme
Home
All topics/High Availability & Failover
RELIABILITY, SECURITY & CASE STUDIES · SUBTOPIC

SLAs, SLOs & Composite Availability Math

Calculate error budgets and composite uptime across chained microservices.

IntermediatePart of High Availability & Failover
Practice in AI HLD
Subtopics in High Availability & Failover (2)
OverviewActive-Active vs. PassiveSLAs, SLOs & Nines

In plain words

An SLO is your internal target ("stay up 99.9% of the month"), and the leftover 0.1% (~43 minutes) is your Error Budget for safe launches. An SLA is the legal promise to customers with refunds if you miss.

Think of it like…

Aiming to arrive by 8:50 AM (SLO) so you never miss your 9:00 AM flight (SLA).

Loading interactive diagram
Loading interactive exercise

Theory & how it works

Error Budgets align product speed and reliability

Chasing 100% uptime freezes all innovation and costs absurd money. With a 99.9% monthly SLO, you have ~43 minutes of "error budget." While budget remains, ship features fast; if a bad deploy burns the budget, pause risky launches and invest in reliability.

Key points & practical guide

Summary checklist

  • 99.9% = ~8.8 hrs/yr · 99.99% = ~52 min/yr
  • Series dependencies multiply failure odds; parallel replicas reduce them
  • Make SLOs stricter than external SLAs

When to use it

  • Defining NFRs at the start of any design interview

Watch out for

  • Promising "99.999% five-nines" for a trivial blog - five-nines requires automated multi-region failover and strict change freezes

Quick check

Loading quiz
Previous subtopic
Active-Active vs. Active-Passive Failover
Back to overview
Full High Availability & Failover Lesson