NEW
Also known as: Traffic Mirroring, Dark Launch
Mirroring production traffic to a new version without affecting users.
DESCRIPTION
Shadow deployments duplicate live traffic to a candidate service while responses are ignored for users. Teams compare behavior, latency, and error patterns to validate changes under real workloads. This technique exposes performance issues and compatibility problems safely. Service meshes like Istio implement traffic mirroring rules. Shadowing is often used before canary or blue-green to increase confidence.
ALTERNATIVE DEFINITIONS
Istio
Mirroring sends a copy of live traffic to a mirrored service, without impacting production traffic.
Explicitly states non-impact on production and traffic duplication.
AWS App Mesh
Traffic mirroring copies requests from your application to a target service for testing without affecting users or production responses.
Highlights request copying for testing and user invisibility.
RELATED TERMS
Blue-Green Deployment A/B Testing Observability Istio Envoy Proxy Service Mesh Feature Flags Rollback Progressive Delivery
COMPETING TERMS
KNOWLEDGE AREAS
Software Engineering Platform & Tooling Observability & Telemetry Testing & Validation
TARGET AUDIENCE
DevOps Engineer Software Developer Cloud Architect MLOps Engineer
EXTERNAL SOURCES
- Wikipedia - Dark launch
- Istio - Official mirroring configuration steps
- AWS App Mesh - AWS traffic mirroring guidance
- Spinnaker - Pipeline-driven mirroring patterns
TOP QUESTIONS
Why use Shadow Deployment before release?
It validates behavior under real traffic without user impact, revealing performance and compatibility issues early.
Category: Relevancy
What is the biggest misunderstanding about Shadow Deployment?
That it tests everything; it cannot validate user-facing responses or state changes unless instrumented carefully.
Category: Misunderstanding
How is Shadow Deployment managed technically?
Configure mirroring routes, isolate side effects, capture telemetry, and compare metrics between baseline and shadow services.
Category: Management
What risks exist in Shadow Deployment?
Unintended writes or side effects, and cost of processing duplicate traffic require strict safeguards and controls.
Category: Risk
What are common mistakes with Shadow Deployment?
Not isolating databases, failing to disable external calls, and insufficient metric tagging hamper analysis.
Category: Mistakes
What alternatives compete with Shadow Deployment?
Canary Release exposes a small user segment, while blue-green switches environments rapidly for production validation.
Category: Alternatives
How does Shadow Deployment apply to ML models?
Mirror inference requests to a candidate model, compare outputs offline, and validate latency and accuracy before canary.
Category: Example
What is a hot topic around Shadow Deployment?
Automated diffing of responses and lineage tagging to trace shadow traffic effects in complex systems.
Category: Topic
Where should teams start with Shadow Deployment?
Begin with read-only services, enforce side-effect isolation, and instrument comparative metrics and traces.
Category: Requirements