Loading…
Loading…
4 карточек
What is the Bulkhead pattern and how does it prevent cascading failures?
нажми, чтобы перевернуть
Bulkhead (ship compartments) is a pattern where resources (threads, connections) are divided into isolated pools for different dependencies. If the Redis pool is exhausted, HTTP requests to PostgreSQL continue to work.
Когда да
A service depends on multiple external resources with varying reliability
Когда нет
Simple services with a single dependency
Совет на собеседовании
Use the ship bulkhead analogy: flooding one compartment doesn't sink the entire ship
Свайп вправо — знаю, влево — не знаю
