What is a canary release?
Updated November 15, 2026
A canary release rolls a new software version out to a small group of users or servers first, watches its metrics, and only then rolls it out to everyone, so a bad release affects few people.
How does a canary release work?
Danilo Sato's article on Martin Fowler's site calls it "a technique to reduce the risk of introducing a new software version in production": route a small subset of users to the new version, watch it, and widen the rollout or roll back (Canary Release, 2014). The name comes from the canaries miners carried into coal mines as an early warning of toxic gas. For more, the article points to Jez Humble and Dave Farley's Continuous Delivery. It also advises against using canaries for A/B tests: a canary should finish in minutes or hours, while an A/B test needs days to gather enough data.
Canary release or feature flag rollout?
Both expose a change to a few users first, at different levels:
| Canary release | Percentage rollout with a flag | |
|---|---|---|
| What's split | Traffic between two deployed versions | Users within one deployed version |
| Tools | Load balancers, service meshes, Argo Rollouts, Flagger | Flag tools and SDKs |
| Undo | Route traffic back to the old version | Turn the flag off, no deploy |
| Granularity | All changes in the version together | One feature at a time |
Teams often use both: canary the deployment to catch crashes and regressions, then roll features out with flags. See progressive delivery and dark launch.
Related
- Feature flags in CI/CD pipelines: deployment canaries vs flags
- All glossary terms