Canary Deployment
Strategy for releasing a new version: initially to a small fraction of users (e.g., 5%), then, if all goes well, to all users. Like a canary in a coal mine warning of danger.
Why
A new model or code might behave unexpectedly in production. Canary release allows detecting issues when they affect only a small portion of users.
Related Concepts
- blue/green — two versions, switch at once;
- shadow mode — the new version runs in parallel without affecting users.