The mental model
A reliable design begins with a user outcome and the failures it must tolerate. Identify dependencies, their timeouts, and what the application can do when they fail. Multi-zone infrastructure helps with one class of failure; a shared external API, exhausted connection pool, or bad release can still affect every zone at once.
Retries can recover transient failures, but uncontrolled retries amplify load during an outage. Use bounded attempts, backoff, jitter, and idempotent operations where appropriate. Choose graceful degradation only when its behavior is acceptable to users. Review security, cost, performance, operations, and sustainability alongside reliability using the Well-Architected framework.
Decisions to make
- Set a total request deadline and allocate time to its dependencies.
- Retry only appropriate failures with bounded work and duplicate-safe side effects.
Design exercise · no AWS resources needed
Work through a scenario
A recommendation service becomes slow during every checkout.
- Decide whether recommendations are required to complete a purchase.
- Allocate a bounded timeout and choose a degraded response.
- Estimate how retries could increase traffic during an outage.
Check your understanding
What can unlimited retries do during a dependency outage?
Choose an answer to see the reasoning.
Continue with AWS documentation
Before following a deployment guide, review current pricing, permissions, and cleanup steps. Budget alerts are not a hard spending cap.