Canary Deployment: What It Is and How to Roll Out Safely
A canary deployment releases a new version to a small share of real users first, often 1% to 5%, while everyone else stays on the current version. If error rates and latency stay healthy, traffic to the new version increases in steps until it reaches 100%. If they don’t, traffic goes back to the old version and only a few users were affected. The name comes from coal mining. Miners carried canaries underground because the birds reacted to toxic gas before people did.