Exponential Backoff - CI/CD用語集の定義
exponential backoffは、retryの間の遅延を2倍にして、障害中のサービスへの負荷を和らげます。
exponential backoffは、試行の間の待機時間を2倍にするretry戦略です(1s、2s、4s、8s)。苦戦しているサービスを叩き続けるのではなく、回復する時間を与えます。
exponential backoffは、失敗のたびにretry間隔を乗算的に増やします。network timeoutやrate limitのような一時的なエラーをretryする標準的な方法です。
CIにおいて
network stepをexponential backoffとjitterを加えてretryすると、固定的で脆弱なsleepなしに、一時的なDNSやregistryの不調から回復できます。
関連ガイド
Jitter - CI/CD Glossary DefinitionJitter: Jitter is random variation added to a delay, such as retry timing, so many clients do not retry at th…
Circuit Breaker (Retries) - CI/CD Glossary DefinitionCircuit Breaker (Retries): A circuit breaker stops sending requests to a failing dependency after a threshold…
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…