Skip to content
Latchkey

What Is Shadow Traffic?

Shadow traffic (or traffic mirroring) is the technique of duplicating live production requests and sending the copies to a new or candidate version, while discarding its responses so users are unaffected. The candidate handles realistic load and data, letting teams compare its behavior and performance against production safely.

Why it matters

Synthetic load tests rarely capture the messiness of real traffic. Shadowing exercises a new version against genuine production patterns with zero user risk, catching performance regressions and edge-case errors before the version ever serves a real response.

Related concepts

  • Responses are discarded, so users are unaffected
  • Complements canary analysis and dark launches
  • Requires care with side effects like writes and emails

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →