What is an SLO for a dependency you don't own, and how do you handle it?
AdvancedConceptSLIs, SLOs & SLAs
Answer
You cannot set an SLO for someone else's service, but you can:
- Read their published SLO or SLA (for example a cloud provider's) and treat it as an input to your own composite availability.
- Measure their actual performance from your side (client-side SLI on calls to the dependency).
- Design around it when it is lower than you need: caching, fallbacks, async processing, a second provider, or making the feature soft (degrade instead of fail).
- Agree internal SLOs with internal teams that are at least as strict as what your service needs.
The rule of thumb: a critical dependency should be roughly one nine better than the service that depends on it.
More on SLIs, SLOs & SLAs
Define SLI, SLO and SLA with an example of each.BeginnerWhy should the SLA be looser than the SLO?BeginnerWhy are SLIs best expressed as a ratio of good events to valid events?IntermediateWhat is the difference between request-based and time-based (window-based) SLIs?AdvancedWhere should you measure an SLI, and what are the trade-offs?AdvancedWhat types of SLIs exist beyond availability and latency?Intermediate