O Que É Traffic Mirroring?
O traffic mirroring, também chamado de shadowing, duplica requisições reais de produção e encaminha a cópia para outra versão de um serviço enquanto o primário continua tratando a resposta real. As respostas espelhadas são descartadas, então os usuários não são afetados. Isso permite exercitar um novo build com carga realista antes que ele sirva a alguém.
Por que isso importa
O mirroring é uma forma segura de validar um novo release contra padrões de tráfego de produção em um deploy pipeline. Ele captura regressões que testes sintéticos não pegam, sem arriscar erros visíveis ao usuário.
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.