Pattern 21 / RESILIENCE

Bulkhead

Use this when keeping one workload or tenant from sinking the whole service.

Pressure
Keeping one workload or tenant from sinking the whole service
Mechanism
Isolate traffic into separate pools of threads, connections, queues, or capacity
Toll
Reserved pools can reduce utilization when traffic is uneven
Architecture plate21
Diagram for Bulkhead
Executive brief

Bulkhead fits when keeping one workload or tenant from sinking the whole service. Mechanism: isolate traffic into separate pools of threads, connections, queues, or capacity. Use it for multi-tenant platforms, batch vs realtime workloads, premium tiers, and noisy neighbors. The toll: reserved pools can reduce utilization when traffic is uneven.

Use when

Multi-tenant platforms, batch vs realtime workloads, premium tiers, and noisy neighbors.

Example

Separate worker pool for reports so api requests remain responsive.

Review framing

Describe the pressure first, then the mechanism, then the cost. That keeps the design grounded.

Same pressure family

Reliability Patterns

19Circuit Breaker20Retry with Exponential Backoff22Timeout23Idempotency24Dead Letter Queue (DLQ)25Graceful Degradation
โ† 2022 โ†’