Retry Budget Policy とは?
retry budget policy は、すべての失敗を無条件に retry するのではなく、retry を基礎となるリクエスト量のごく一部に制限します。budget を使い切ると以降の retry は抑制され、システムが失敗している依存先への負荷を増幅し続けるのを止めます。これは、retry を有用に保ちつつ、自ら招く過負荷に変わらないようにするガードレールです。
なぜ重要か
素朴な retry は、依存先がすでに苦しんでいるまさにそのときにトラフィックを倍加させ、小さな不調を障害に変えてしまいます。budget はその増幅を抑えつつ、孤立した一過性の失敗からは依然として回復します。
関連ガイド
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 Bulkhead Isolation?Bulkhead isolation partitions resources so a failure or overload in one part of a system cannot exhaust share…