Design for recovery and learn from failures
Combine health signals, graceful degradation, and recovery objectives.
- Distinguish redundancy from resilience and use SLI, SLO, RTO, and RPO appropriately.
Redundancy provides spare capacity, but resilience also needs failure detection, safe failover, tested recovery, and clear operator signals. An SLI is a measured indicator such as successful requests; an SLO is a target for that indicator over a window. RTO is the target time to restore service after disruption, while RPO is the acceptable amount of data loss measured in time. Graceful degradation preserves essential behavior when optional dependencies fail.
A real SLI needs a clear event definition, exclusions, and a measurement window. Pair metrics with logs and traces so teams can find where a request slowed or failed.
Practice: use the right word
Try it
Up to 15 XPSLI, SLO, RTO or RPO?
These four terms get confused all the time. Sort each statement.
“The share of checkout requests that succeed.”
“99.9% of requests succeed over 30 days.”
“After a disaster, service must be back within 2 hours.”
“We can afford to lose at most 15 minutes of orders.”
“p95 latency of search requests.”
“Back up every 15 minutes, because of what we can afford to lose.”
Try it
Up to 15 XPDegrade or fail?
One dependency is down. Decide what a well-designed online store should do for each one.
“The recommendations service is down.”
“The review service is down.”
“The payment provider is down.”
“The analytics service is down.”
“The inventory service can’t confirm the last item.”
Try it
Up to 15 XPReview this incident report
Good reviews lead to better systems. Click what would stop this one from helping.
Click every suspicious section. There are 3.
Key takeaways
Measure user-visible reliability with clearly defined SLIs and SLOs.
RTO is recovery time; RPO is acceptable data loss.
Resilience includes tested recovery and graceful behavior, not just extra servers.
Lesson quiz
5 questions · pass with 4 correct · up to 50 XP
Passing this quiz completes the lesson and keeps your streak going. Questions you miss come back in review sessions later.
Questions about this lesson
Stuck? Ask. Figured something out? Share it. Explaining is one of the best ways to learn.
Loading posts…