0
0
HLDsystem_design~3 mins

Why SLA, SLO, and SLI definitions in HLD? - Purpose & Use Cases

Choose your learning style9 modes available
The Big Idea

What if you could stop guessing and start guaranteeing your service's quality with simple, clear promises?

The Scenario

Imagine running a busy online store without clear promises on how fast orders will be processed or how often the site will be available. Customers get frustrated when the site is slow or down, but you have no clear way to measure or improve these issues.

The Problem

Without clear agreements and measurements, teams guess about performance and reliability. This leads to slow fixes, unhappy customers, and wasted effort trying to guess what matters most. It's like driving blind without a speedometer or map.

The Solution

SLA, SLO, and SLI give clear definitions and measurements for service quality. They set expectations, track real performance, and guide improvements. This makes it easier to keep customers happy and fix problems quickly.

Before vs After
Before
No clear targets or measurements for uptime or response time.
After
SLA: '99.9% uptime per month'; SLO: 'Response time under 200ms 95% of the time'; SLI: 'Actual uptime and response time measured continuously'
What It Enables

It enables teams to build trust with customers by clearly defining and measuring service quality.

Real Life Example

An online video streaming service promises 99.9% uptime (SLA), aims to keep buffering under 1% of playtime (SLO), and measures actual buffering rates every day (SLI) to meet that promise.

Key Takeaways

SLA sets the promise to customers.

SLO defines the target goals for service quality.

SLI measures the actual service performance.