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

You need to set SLOs for a service that depends on a database with a 99.95% SLA, a cache, and two internal APIs at 99.9%.

AdvancedScenarioSLO Design & Error Budget Decisions
Answer

Situation read → If all are hard dependencies, the composite ceiling is about 0.9995 x 0.999 x 0.999 ≈ 99.75% before your own failures. The cache, if handled well, should be soft.

What I'd do →

  1. Classify each dependency as hard or soft for each journey.
  2. Make the cache soft: on cache failure, read from DB with a short timeout and degrade if needed.
  3. For the internal APIs, check whether calls can be async, cached or have fallbacks.
  4. Compute the ceiling for what remains hard, and set the SLO below it (for example 99.5% now).
  5. Plan work to remove hard dependencies and raise the SLO later.

Why → You cannot promise more than your critical path delivers; architecture changes raise the ceiling, not wishful targets.

Interview tip → Do the multiplication out loud; then show how turning a hard dependency soft changes it.

All SRE & Reliability questions Roadmap: SRE & incident response

More on SLO Design & Error Budget Decisions