Skip to main content
Deployment & Operations

Canary Deployment

A canary deployment routes a small slice of production traffic (e.g., 1–5%) to a new model version while the majority continues hitting the stable version, surfacing latency, error, and quality regressions before full rollout.

AIDOLS Research Team · Editorial standards

Full definition

Canary deployments differ from A/B tests: a canary primarily watches operational signals (error rate, p99 latency, cost-per-request, output validity), not causal lift. Once health checks pass, traffic ramps in stages — 1%, 5%, 25%, 100%. Auto-rollback on threshold breach is standard. Google's SRE Workbook (2018) codifies the practice, and it is now built into Argo Rollouts, Flagger, and most cloud ML platforms.

Why it matters

Big-bang model rollouts cause real outages. Canary discipline turns "the model is broken" from a customer-facing event into a 2% blip on a dashboard.

Example

An e-commerce team deploys a new search-ranking model at 1% traffic; p99 latency rises 40ms; the canary auto-rolls-back within 4 minutes without a single user complaint.

Next steps

More deployment & operations terms

Source & further reading

Primary source: Google SRE Workbook — Canarying Releases (2018).

Citation policy: this entry is part of the AIDOLS AI Implementation Glossary and may be quoted for research, journalism, and education with attribution to aidolsgroup.com/en/glossary/canary-deployment/.