O Que É Deregistration Delay?
O deregistration delay, também chamado de connection draining, é o intervalo que um load balancer aguarda antes de remover totalmente um backend da rotação. Durante essa janela ele para de enviar novas requisições, mas deixa as existentes concluírem. Isso evita cortar conexões ativas quando uma instância está sendo substituída ou reduzida.
Por que isso importa
O draining evita requisições perdidas e respostas quebradas durante um deploy ou scale-down. Defini-lo muito curto corta requisições lentas; muito longo trava o rollout.
Where this shows up in a real pipeline
A definition is only useful if you can recognise the thing in your own logs. In practice this concept surfaces when a job behaves differently between a local run and a runner, which is where most CI debugging starts.
- Compare a local run against a CI run of the same command before assuming a tool is at fault.
- Runner environments differ in shell, PATH, TTY availability, available memory, and disk. Most CI-only behaviour traces to one of those five.
- Pin tool versions so an environment difference cannot be introduced by an unrelated update.