NEW
Gradually redirecting requests from one service version to another to enable safe, controlled rollouts.
DESCRIPTION
Traffic shifting uses weighted routing to migrate requests from an old to a new version in stages. It minimizes risk by monitoring metrics and rolling back if issues arise. Service meshes like Istio and tools like Argo Rollouts automate progressive delivery. Shifting works well with feature flags, canary analysis, and SLO-based gates. It supports zero-downtime deployments and experimentation in production.
ALTERNATIVE DEFINITIONS
Istio
Traffic shifting is directing percentages of traffic to different versions of a service.
Explicitly defines weighted routing across service versions.
Argo Rollouts
Traffic Shifting allows you to progressively transfer traffic from an old version of a service to a new version.
Emphasizes progressive transfer during rollout with automation.
RELATED TERMS
Canary Release Progressive Delivery Weighted Routing Feature Flags Service Mesh A/B Testing Traffic Splitting Rollout
COMPETING TERMS
Blue-Green Deployment Shadow Deployment
KNOWLEDGE AREAS
Software Engineering Infrastructure Observability & Telemetry Testing & Validation
TARGET AUDIENCE
DevOps Engineer Cloud Architect Software Developer IT Project Manager MLOps Engineer Software Architect
EXTERNAL SOURCES
- Wikipedia - Blue-green deployment
- Istio - Istio traffic shifting task guide
- Argo Rollouts - Progressive delivery for Kubernetes
- Google Cloud - Service mesh routing overview
TOP QUESTIONS
Why use Traffic Shifting for deployments?
It reduces risk by incrementally moving traffic while observing metrics. Issues can be caught early and rolled back safely.
Category: Relevancy
How do you measure success during Traffic Shifting?
Track latency, error rates, saturation, and business KPIs. Use automated gates and SLOs to decide whether to advance or rollback.
Category: Requirements
What tools support Traffic Shifting?
Istio, Linkerd, Argo Rollouts, and Spinnaker support weighted routing and progressive delivery on Kubernetes.
Category: Overview
What’s the difference between Traffic Shifting and Blue-Green?
Blue-Green swaps environments with an instant cutover. Traffic shifting gradually moves traffic based on weights and telemetry.
Category: Misunderstanding
What risks exist in Traffic Shifting?
Shadow bugs may appear under partial load. Misconfigured weights or health checks can send too much traffic prematurely.
Category: Risk
How does Traffic Shifting relate to canary analysis?
Traffic shifting implements canary rollout; canary analysis evaluates metrics to validate new versions before increasing traffic.
Category: Example
Can Traffic Shifting be automated?
Yes, with progressive delivery controllers that adjust weights based on metric thresholds and policies.
Category: Management
Where to start learning Traffic Shifting?
Follow Istio’s traffic shifting tutorial, then explore Argo Rollouts for automated progressive delivery.
Category: Requirements
Is Traffic Shifting useful for A/B testing?
It can route cohorts to versions, but experimentation platforms often provide additional randomization and analysis features.
Category: Opinion