A data pipeline team says "SLOs don't apply to us, we're batch". How do you help them?
BeginnerScenarioSLO Design & Error Budget Decisions
Answer
Situation read → Batch systems have users too (analysts, downstream services); they just care about freshness and completeness, not request latency.
What I'd do →
- Ask the downstream users what "late" or "wrong" means for them.
- Define a freshness SLI: data younger than 2 hours, 99% of the time.
- Define a completeness SLI: the daily job finishes by 06:00, 99% of days.
- Have jobs push
pipeline_last_success_timestamp_secondsto Pushgateway or expose it, and alert on age:time() - pipeline_last_success_timestamp_seconds{pipeline="orders-etl"} > 7200
Why → Every system with users can have an SLO; you pick SLI types that match what users experience.
Interview tip → Name freshness, completeness and correctness as batch SLI types.
More on SLO Design & Error Budget Decisions
Your manager asks you to "set up SLOs" for a checkout API that has none. Where do you start?BeginnerProduct insists on a 99.99% SLO for a service that has run at 99.7% for the last quarter. What do you do?IntermediateThe error budget for the month is exhausted on day 12, and a big feature launch is planned for day 15. What happens?IntermediateYou have one SLO for the whole API, and it's green, but the mobile team says login is broken for 10% of users.IntermediateYour service's latency SLO is "99% of requests under 500 ms", measured at the app. Users still complain about slowness.IntermediateA team wants to exclude all 5xx responses caused by a third-party payment provider from their SLO. Do you agree?Advanced