Rollout Calculator: Plan Canary and Staged Release Timelines
By FindMySum · Last reviewed
A canary rollout calculator lays out the timeline of a staged release: which share of users gets the new version when, how long each stage is watched, and when everyone has it. Type the stage percentages, the time each stage takes to deploy and the bake time you watch it for, and the calculator gives the schedule, the time to 100% and the number of users each stage exposes.
Why release in stages
Every release carries some risk that tests didn't catch. A staged rollout limits who is exposed while you find out. The first stage, the canary, goes to a small share of users or servers; you compare its error rates, latency and key business numbers with the old version. If they hold up, the next stage widens the audience; if not, you roll back having affected only a few people. Google's SRE workbook describes canarying as a partial, time-limited deployment of a change to evaluate it before it reaches all users.
The timeline
Each stage has two parts: the deploy time, to push the new version to that share (a rolling restart, a configuration change propagating, an app store step), and the bake time, while you watch the metrics. The release reaches everyone when the last stage is deployed:
time to 100% = (stages − 1) × (deploy + bake) + last deploy
The calculator opens with a common plan of 1%, 5%, 25%, 50% and 100%, 15-minute deploys and a 24-hour bake. Four stages of 24.25 hours plus a final 15-minute deploy come to 97.25 hours, a little over four days. Many teams also bake the final stage before calling the release done, which adds another day: 121.25 hours.
Who is exposed
The breakdown table lists the users each stage reaches. With 200,000 active users, the 1% canary is 2,000 people; 25% is 50,000. Thinking in people, not percentages, keeps the risk concrete. It also tells you whether a stage is big enough to learn anything: a canary of 20 users can't show a 0.1% error rate. For a service with millions of requests a day, 1% is plenty; for a small product, the first stage may need to be larger, longer or both.
Choosing stages and bake times
A few patterns cover most releases:
- Canary 1-5-25-50-100. Large jumps while confidence is low, then halving the remaining risk. The default.
- Doubling. 1, 2, 4, 8, 16, 32, 64, 100: smooth growth with many checkpoints, often with short hourly bakes and automated analysis.
- App store phased release. Apple's App Store Connect releases an update to 1%, 2%, 5%, 10%, 20% and 50% of users with automatic updates on successive days, then everyone on day 7. Google Play lets you choose the percentages yourself.
- Quick 10-50-100. For low-risk changes with good automated checks.
Bake time should be long enough for problems to show up in your metrics with enough traffic, and ideally cover a full daily cycle if usage changes by time of day. A memory leak may need hours to appear; a bug in a weekly billing job may need a week. Some teams use long bakes at the first stage and short ones later, which the calculator doesn't model per stage, so use the average.
Making it safe
A rollout plan is only as good as the ability to stop it. Before starting, decide the metrics and thresholds that pause or roll back the release, make sure rollback is fast (a feature flag, a traffic shift or a redeploy of the old build), and keep database changes backward compatible so the old version can still run against the new schema. Automating the comparison between canary and baseline removes the temptation to promote a stage just because nobody looked.
The calculator counts hours around the clock. If you only advance stages during working hours, or freeze releases over weekends and holidays, add that waiting time to the plan.
More questions
What metrics should I watch during a canary?
The service's error rate and latency (compared with the old version at the same time, not with yesterday), crashes or exceptions for apps, resource use such as memory and CPU, and a few business signals like sign-ups or checkouts. Decide the thresholds that stop the rollout before it starts.
What is the difference between a feature flag and a deployment rollout?
A deployment rollout replaces the running code on a share of servers or devices. A feature flag ships the code to everyone but switches a feature on for a share of users at run time. Flags make stages instant and rollback a configuration change, which is why many teams combine both.
Should the canary group be random?
Usually yes, so it represents your users and its metrics are comparable. Some teams start with internal users or one region first, which catches obvious problems safely but can miss issues that only appear with real customers or other regions, so follow it with a random stage.
What is blue-green deployment?
Running two complete production environments and switching all traffic from the old (blue) to the new (green) at once, keeping blue ready for an instant switch back. It is a single-stage rollout with fast rollback; canary releases add gradual exposure on top.
How do I roll back a staged release?
Stop promoting, then return the affected stage to the previous version: redeploy the old build, shift traffic back at the load balancer or turn off the feature flag. Database changes are the hard part, so make schema changes backward compatible and release them separately from the code that depends on them.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.