コンテンツへスキップ
Latchkey

Deregistration Delayとは?

deregistration delayは、connection drainingとも呼ばれ、load balancerがbackendをローテーションから完全に外す前に待機する間隔です。この期間中、新しいリクエストの送信を止めつつ、既存のものは完了させます。これにより、インスタンスが置き換えられたりscale inされたりするときにアクティブな接続を切断することを防ぎます。

なぜ重要か

drainingは、deployやscale-downの間のリクエストの取りこぼしや壊れた応答を回避します。短すぎると遅いリクエストを切断し、長すぎるとrolloutが停滞します。

よくある質問

What is Deregistration delay?
Deregistration delay, also called connection draining, is the interval a load balancer waits before fully removing a backend from rotation. During this window it stops sending new requests but lets existing ones complete. This prevents cutting off active connections when an instance is being replaced or scaled in.
Why does Deregistration delay matter in CI/CD?
Draining avoids dropped requests and broken responses during a deploy or scale-down. Setting it too short cuts off slow requests; too long stalls the rollout.

関連ガイド