Software Engineering Architecture Lab

Graceful Degradation & Fallback Pattern

Serve a reduced experience instead of an error. A resilience pattern in the Resilience Patterns catalog. Explained with Java/Spring code and when not to use it.

Serve a reduced experience instead of an error.

Family
Resilience Patterns
Category
Resilience
Source
Building Microservices · general production practice

More resilience patterns

  • Timeout — Never wait forever for a remote call.
  • Retry with Backoff & Jitter — Retry transient failures with growing, randomised delays.
  • Circuit Breaker — Stop calling a failing dependency and fail fast.
  • Bulkhead — Isolate resources so one failure cannot sink everything.
  • Rate Limiter — Cap how many requests a client or dependency can make.

All patterns