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

  1. Set a total request deadline and allocate time to its dependencies.
  2. 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.

  1. Decide whether recommendations are required to complete a purchase.
  2. Allocate a bounded timeout and choose a degraded response.
  3. Estimate how retries could increase traffic during an outage.

Check your understanding

What can unlimited retries do during a dependency outage?

Continue with AWS documentation

Before following a deployment guide, review current pricing, permissions, and cleanup steps. Budget alerts are not a hard spending cap.

Saved in this browser. Press again to undo.

Prepaid · USD

Top up balance

Available balance: $0.00

Your balance works across Heap tools. A failed lookup or generation releases its reserved amount.