Bulkhead pattern
A resilience pattern that isolates resources into separate "compartments" so that a fault in one part doesn't sink the whole system — just like a ship's watertight bulkheads prevent a leak from filling the entire hull. Contain the damage.
Mechanic: instead of all calls sharing a common resource pool (threads, connections), the resources are divided per dependency/function. Example: a service that calls both a fast payment service and a slow report service — without bulkheads the report service's hanging calls can consume the ENTIRE thread pool, so even payments stop working. With bulkheads each dependency gets its own limited pool → the report service's problem only fills its own compartment, payments keep their threads and continue. Win: a fault/overload in one component is isolated and doesn't drag down the rest. Combined with circuit breakers (stop calling the broken one) and timeouts. Implemented via separate thread pools/connection pools/semaphores, or at the infrastructure level (separate pods/nodes). The name and idea come from shipbuilding. A fundamental isolation principle for robust systems. Related to circuit breaker (ops) and backpressure (ops).