Circuit Breaker (Retries) - CI/CD用語集の定義
circuit breakerは、障害中の依存関係が回復するまでretryを停止します。
circuit breakerは、エラーの閾値を超えると障害中の依存関係へのリクエスト送信を停止し、cooldown期間の間はすぐに失敗させます。これにより、retryがすでに壊れたサービスに積み重なるのを防ぎます。
circuit breakerは最近の失敗を追跡し、それが閾値を超えるとopenになり、以降の呼び出しをショートさせます。cooldownの後、試行リクエストで回復をテストします。
状態
breakerはclosed(呼び出しが流れる)、open(呼び出しがすぐ失敗する)、half-open(試行呼び出しが再び閉じるかを決める)のいずれかです。
関連ガイド
Exponential Backoff - CI/CD Glossary DefinitionExponential Backoff: Exponential backoff is a retry strategy that doubles the wait between attempts (1s, 2s,…
Bulkhead Isolation - CI/CD Glossary DefinitionBulkhead Isolation: Bulkhead isolation partitions resources so a failure in one part cannot exhaust the whole…
Timeout Budget - CI/CD Glossary DefinitionTimeout Budget: A timeout budget is the total time allotted to an operation, divided among its sub-steps so r…