Section 06 · Database & Data
Resilience
Application resilience to third-party service failures and graceful degradation
1 items 1 critical
This guide walks you through auditing an application's resilience to third-party service failures.
The Goal: Graceful Degradation
When external services fail, the application should bend but not break. Users experience reduced functionality, not total outages.
- Fault-tolerant — app continues running when optional services are down
- Isolated — one failing dependency does not cascade to unrelated features
- Protected — all external calls wrapped in error handling (try/catch, timeouts, circuit breakers)
- Classified — dependencies categorized as critical vs optional with appropriate handling for each
Before You Start
- Confirm you're in the target repository's root directory
- Identify what external services the app depends on
- Have Docker available to start/stop dependencies for testing
- Have the user available for questions about critical vs optional services