The Bulkhead pattern isolates resources for different parts of a system, named after the watertight compartments in a ship's hull, so that a failure or overload in one area cannot spread and sink the whole system.
If a Recommendation Service call starts hanging for 30 seconds each, a bulkhead limiting it to its own pool of 10 threads ensures the Order and Payment services, which use separate thread pools, keep responding normally instead of all requests stalling together.
@Bulkhead(name = "recommendationService", type = Bulkhead.Type.THREADPOOL)
public List<Product> getRecommendations(String userId) {
return recommendationClient.fetch(userId);
}A concise interview answer is
The Bulkhead pattern gives each dependency its own isolated pool of resources, like a dedicated thread pool, so that if one dependency becomes slow or fails, it can only exhaust its own allocated resources instead of starving requests to unrelated, healthy services. It's what stops a single failing component from taking down the entire system.
Last updated: 16 July 2026
Previous question: In what types of scenarios would the Saga pattern be useful?
Next question: How do you implement Bulkheads in a microservices architecture?