The Bulkhead pattern isolates resources, such as thread pools, connection pools, or CPU/memory, per service or per dependency so that a failure or overload in one part of the system can't exhaust resources needed by the rest.
If a Recommendations service call is slow, a bulkhead limits it to, say, 10 concurrent threads out of a much larger total pool, so even if Recommendations hangs, the Checkout flow still has threads available to serve other requests.
Bulkhead bulkhead = Bulkhead.of("recommendations",
BulkheadConfig.custom()
.maxConcurrentCalls(10)
.maxWaitDuration(Duration.ofMillis(500))
.build());
Supplier<List<Item>> decorated = Bulkhead.decorateSupplier(
bulkhead, recommendationsClient::fetch);A concise interview answer is
I'd give each downstream dependency its own bounded pool of threads or connections, using something like Resilience4j's Bulkhead, so a slow or failing dependency can only exhaust its own slice of resources instead of starving the whole service. It pairs naturally with a circuit breaker for defense in depth.
Last updated: 16 July 2026
Previous question: What is the Bulkhead pattern, and how does it prevent system-wide failures?
Next question: Can you give an example where using the Bulkhead pattern would improve system reliability?