IT lexicon › Infra & Ops › Traffic mirroring

Traffic mirroring

Infra & Ops På svenska → Updated: 2026-11-14

Technique of sending a copy of production traffic to a test environment without affecting users.

Instead of deploying new code and hoping for the best, mirror a fraction of live traffic to a canary server in parallel. The user's request goes to production and returns normally; a copy goes to the test version and its response is discarded. You can then observe how new code handles *real* traffic at production scale and pattern with zero risk. This requires proxies or API gateways; Istio, Linkerd, and modern load balancers support it. Traffic mirroring is especially powerful for catching edge cases that your unit tests never predicted.

← Back to the lexicon