Bulkheads & Rate Limiting for Resilience
Isolate failures and protect downstream services using bulkhead isolation and the gateway's RequestRateLimiter filter.
Containing the Blast Radius
Circuit breakers stop calls to a broken service, but a flood of traffic to one route can still starve others. Bulkheads and rate limiting keep one busy route from sinking the whole gateway.
The Bulkhead Pattern
Named after a ship's watertight compartments, a bulkhead caps how many concurrent calls a route may have. If one service slows down, only its compartment fills, sparing the rest.
All lessons in this course
- Circuit Breakers with Resilience4j
- Retries & Timeouts Configuration
- Error Handling & Fallbacks
- Bulkheads & Rate Limiting for Resilience