Reliabilityisolationresource pool isolation

Bulkhead

Definition

A bulkhead partitions a limited resource into separate pools, each serving one dependency, feature or tenant, so exhaustion in one pool leaves the others working.

In practice

Named after the watertight compartments of a ship. If all outbound calls share one pool of 200 connections, a single slow dependency can hold all of them and block unrelated features. Separate pools contain the damage.

Bulkheads take capacity planning: pools that are too small reject work early, too large and they stop isolating. They pair naturally with timeouts and circuit breakers, which free the pool when a dependency misbehaves.

Example

A checkout service limits calls to the slow recommendation API to 20 concurrent requests, so even when that API hangs, payment calls still have their own 100 connections.