Bulkhead Isolation とは?
bulkhead isolation は、thread pool や connection pool などのリソースを、依存先や作業の種類ごとに別々の区画へ分割します。ある区画が飽和したり失敗したりしても、他の区画は自分の割り当てから消費するため機能し続けます。名称は、水密の区画に分けられた船体に由来します。
なぜ重要か
そうしなければ、一つの遅い依存先が共有スレッドをすべて消費し、無関係なリクエストまで停止させかねません。リソースを分割することで被害を封じ込め、一つの失敗がサービス全体を沈めないようにします。
関連ガイド
What Is the Circuit Breaker Pattern?The circuit breaker pattern stops calls to a failing dependency after errors cross a threshold, giving it tim…
What Is a Rate Limiter Strategy?A rate limiter strategy is the algorithm that caps how many operations a client may perform in a window, such…
What Is Backpressure Control?Backpressure control is a mechanism that signals a fast producer to slow down when a downstream consumer cann…