In plain words
A canary deploy sends a small share of traffic to the new version and watches it before sending more, while blue-green runs old and new side by side and switches all traffic at once, with instant switch-back.
Where you see it
Harbor's API runs on two identical sets of servers. Version 41 serves everyone from blue while version 42 starts on green; once its checks pass, the load balancer moves traffic to green, and blue stays up for an hour in case you need to switch back. Hosts like Vercel offer a version of this: old deployments stay alive, and Instant Rollback points the domain back at one.
What goes wrong
- A canary nobody watches
Sending 5% of traffic to the new version only helps if someone, or something, compares its error rate with the old one. Decide the numbers that stop the rollout, and automate the check where you can.
- Database changes only one version understands
During a canary or a switch, old and new code run against the same database at once. If version 42 drops a column version 41 still reads, switching back won't save you, so make schema changes work with both.
- Shutting down the old side too soon
Switching traffic moves new requests, but jobs already running on blue, and customers halfway through checkout, still need it. Let the old version finish its work before you turn it off.
What to tell your agent
Quick check
Sign in to earn +10 XP for itDuring a canary of Harbor's v42 at 5% of traffic, v42's error rate is 4% against 0.2% for v41. What do you do?