Interview Prep/SRE & Reliability/SLO Design & Error Budget Decisions

Your manager asks you to "set up SLOs" for a checkout API that has none. Where do you start?

BeginnerScenarioSLO Design & Error Budget Decisions
Answer

Situation read → No SLOs means no shared definition of "reliable enough". Start from user journeys and existing data, not from a number someone likes.

What I'd do →

  1. Identify the critical user journey: add to cart, submit order, payment confirmation.
  2. Find where requests are already measured: ingress controller metrics or app metrics.
    sum by (code) (rate(nginx_ingress_controller_requests{ingress="checkout"}[5m]))
    
  3. Pull 4 weeks of history for availability (non-5xx ratio) and latency (fraction under 300 ms).
  4. Propose an SLO slightly below current performance, for example 99.9% availability and 99% under 300 ms over 28 days.
  5. Write the SLO document, error-budget policy, and get product sign-off.
  6. Implement recording rules and burn-rate alerts; review after one month.

Why → An SLO based on measured reality is achievable and meaningful; one picked from thin air is either always red or meaningless.

Interview tip → Say "I start with the user journey and four weeks of data", not "I set 99.99%".

All SRE & Reliability questions Roadmap: SRE & incident response

More on SLO Design & Error Budget Decisions