Skip to content

What it is

A canary release sends a small slice of live traffic to a new version and compares behaviour against the stable one, widening only if the metrics match.

A canary deployment puts the new version in front of real users, not test users, but only a fraction of them: typically 1% to 5%. The old version keeps serving the rest. Metrics — error rate, latency, business KPIs — are compared between the two cohorts. If the new version is within tolerance, the slice widens: 5%, 10%, 25%, 50%, 100%. If not, traffic returns to the old version in seconds.

The technique is orthogonal to blue/green. Blue/green flips 100% of traffic at once; canary ramps slowly. Blue/green needs a full duplicate environment; canary needs a router that can split traffic by percentage or by user cohort.