Skip to the content.

πŸ“Š SLOs vs SLAs

These terms are closely related but serve different purposes in service reliability and contracts.


1️⃣ SLA – Service Level Agreement

Definition:

SLA is a formal contract between a service provider and a customer that defines the expected level of service.

Key Points:

Example:

Formula for uptime SLA:

Uptime SLA = (Total Time – Downtime) / Total Time * 100%

2️⃣ SLO – Service Level Objective

Definition:

SLO is an internal target or goal for the service provider to meet the SLA.

Key Points:

Example:


3️⃣ Relationship Between SLA & SLO

SLA (Contract) β†’ defines customer-facing expectation
SLO (Objective) β†’ defines internal target to meet SLA
Component SLA (Customer-facing) SLO (Internal Target)
API Availability 99.9% uptime/month 99.95% uptime/week
Response Time 200ms per request 190ms 95th percentile
Error Rate <1% <0.8%

4️⃣ Benefits


πŸ’‘ Analogy: