2026 field guide

Refreshed for cloud-native, multi-region, streaming, and AI infrastructure.

Explore 41 concepts →
Search DistillSys

Find a concept

Type at least two characters to search lessons, designs, papers, and interview prep.

Reliabilityintermediate6 min read

Bulkheads & Fault Isolation

Partition resources and blast radius so one tenant, dependency, or workload cannot sink the whole service.

2–5 minute refresher
Mental model

Shared capacity shares failure; partitions turn a fleet-wide outage into a bounded local event.

30second
refresher
Bulkheads reserve independent capacity for tenants, priorities, dependencies, or request classes. When one compartment saturates, the rest retain enough resources to serve useful work and recover.

What problem does it solve?

A shared thread pool, connection pool, queue, or retry budget lets one slow dependency or noisy tenant consume every worker and create correlated failure.

How it works

  1. Identify the scarce resource and failure unit.
  2. Choose isolation dimensions: tenant, dependency, priority, or cell.
  3. Set per-compartment concurrency and queue bounds.
  4. Reserve recovery and control-plane capacity.
  5. Rebalance cautiously using measured demand and fairness policy.
Decision guide

Key trade-offs

ChoiceWhat you gainWhat it costs
Fine isolationSmall blast radiusStranded capacity
Shared overflowHigher utilizationFailures can cross boundaries
Priority reserveProtects critical workLower classes shed earlier
What happens if?

The pool is separate, the database is not

Two APIs use independent executors but share one database connection pool. A slow query consumes every connection, so the supposed bulkhead does not contain the failure.

Where it appears

  • Multi-tenant SaaS
  • API gateways
  • Dependency clients
  • Background job fleets
Senior interview modeHow do bulkheads differ from circuit breakers?Show answer
A circuit breaker stops calls based on dependency health. A bulkhead limits how much shared capacity those calls can consume. They complement each other: one controls admission, the other contains resource damage.
#bulkheads#isolation#blast radius#fairness