Bitpath

Boss lesson · Unit 02

SLOs and error budgets

One service, one indicator, one objective: the budget it leaves in minutes and in requests, and how fast it burns.

13 exercisesabout 3 min

What you practise

  • An indicator, an objective, the budget it leaves worked as minutes and requests, burn rate

Try a question from this lesson

Pick one

Last month the checkout API answered 99.93% of requests correctly. Is that good?

Hint

Good compared with what?

The ideas

Concept cards are short on purpose. In the app they appear between questions, after you have met the idea.

Concept

Indicator, objective, budget

A service level indicator (SLI) is a measurement of how well the service is doing, usually good events divided by all events.

A service level objective (SLO) is the target for that indicator over a window: 99.9% over 30 days.

The error budget is what the objective leaves over: 100% minus the SLO. It is the failure you are allowed.

SLI     good requests / all requests
SLO     99.9% over 30 days
budget  0.1% of requests may fail

3,000,000 requests in the window
budget: 3,000 failed requests

Concept

Burn rate

Burn rate is how fast the budget is being spent, compared with the pace that would use it up exactly at the end of the window.

burn rate = current error share / budget share

At burn rate 1 the budget lasts the whole window. At 2 it lasts half. With a 99.9% SLO the budget share is 0.1%, so 1% of requests failing is a burn rate of 10.

SLO 99.9% over 30 days
error share   burn rate   budget gone in
   0.1%            1         30 days
   0.2%            2         15 days
   1%             10          3 days

10 more exercises in the app

  • 3× multiple choice
  • 4× type the answer
  • 1× fill the blanks
  • 1× match the pairs
  • 1× true or false

Bitpath is an iOS app in development. Join the waitlist and you get one email when it is ready to try.

One email when Bitpath is ready to try. Nothing else. Privacy