Deployment strategies compared by what they catch and how fast they undo
A deployment strategy decides how many users a bad change reaches and how fast it is undone. Firebase and CrowdStrike show that config needs one too.
Andrei Gaspar7 min read
A deployment strategy is the order in which a change reaches production. It can go everywhere at once, server by server, to a parallel environment, or to a growing share of traffic. The strategy decides how many users a bad change reaches before anyone notices, and how long it takes to undo.
On September 28, 2026, Google Analytics for Firebase showed what happens when a change has no strategy at all. A "routine configuration cleanup" removed one flag, a 2-line change, but the iOS SDK still pointed at it. The new configuration rolled out globally to production servers, and apps on iOS and other Apple platforms that used the SDK began crashing on launch. Engineers were alerted within 20 minutes and rolled the change back, and the backend served the bad configuration for 2 hours and 11 minutes.
The reason it reached everyone is in Firebase's own postmortem. The flags exist as kill switches to revert bad releases, "and because the kill switch mechanism itself is released globally, the errant config was released to a wide population of apps." The mechanism built to make releases safer shipped without any of the safety it was meant to provide. (Our link page on the outage has the short version.)
This piece compares the main strategies by what they catch, what they miss and how quickly they reverse, and then comes back to the part Firebase missed, which is everything that ships outside the code pipeline.
What are the main deployment strategies?
There are five strategies most teams combine. They differ in which users see a change first and in what has to happen to take it back.
The table below compares them on the three things that decide how bad a bad change gets.
| Strategy | Who sees the change first | What it catches | What it misses | How it is undone |
|---|---|---|---|---|
| All at once | Every user | Nothing before users do | Every failure, until someone notices | Deploy the previous version everywhere |
| Rolling | Users on the first servers updated | Failures that show up on a few servers | Problems that only appear under full load, and anything users hit while old and new versions run side by side | Roll the previous version back across the same servers |
| Blue-green | Every user, at the moment traffic switches | Startup and wiring failures, checked on the idle environment before the switch | Failures that only real traffic reveals | Switch traffic back to the old environment |
| Canary or percentage rollout | A small share of real traffic | Regressions large enough to show in that share's metrics | Problems too rare for the share to surface, and anything that is not in the metrics | Stop the rollout and send traffic back to the old version |
| Feature flag (dark launch) | Whoever the flag is turned on for | Behavior problems in a feature, on an audience the team chooses | Problems in the deploy itself, and problems in the flag system | Turn the flag off |
Two of these have their own pieces. How They Ship compares blue-green and canary deployment in depth, including how large a canary has to be to tell a regression from noise. Our piece on progressive delivery that stops a bad build covers the waves and abort criteria of a percentage rollout. Feature flags as a way to ship unfinished code are in feature flag vs feature branch.
How do real teams combine deployment strategies?
Teams that deploy often do not pick one strategy. They stack several, each covering what the one before it misses.
Slack's engineering blog describes the pipeline in "Deploys at Slack". Each of its roughly 12 daily scheduled deploys goes first to staging for an automated smoke test, then to a dogfood tier of hosts serving Slack's own workspaces, and then to a canary that receives about 2% of production traffic. If the charts stay stable, the rollout continues in steps of 10, 25, 50, 75 and 100 percent. Inside each server, a hot directory serves traffic while a cold one is prepared, and the switch between them is instant, which is blue-green on a single host.
It did not start that way. In the early days, Slack writes, "Builds would be made, verified on staging, and then go straight to all production servers." The percentage rollout came later. "In 2018, we hit a point where deploying as fast as possible was hurting the stability of our product," the post says.
Facebook's 2017 account, "Rapid release at massive scale", applies the same idea twice. Changes that pass automated tests go first to Facebook employees. The team then wrote that "Each release is rolled out to 100 percent of production in a tiered fashion over a few hours, so we can stop the push if we find any problems." The new push system itself was introduced the same way, first to 50 percent of employees and then to 0.1, 1 and 10 percent of production web traffic, over about a year.
Both pipelines end in the same place. A change reaches more users only after a smaller group has run it, and someone can stop it at each step.
Sponsored:
What does each deployment strategy cost?
Each step that limits a bad change also costs something, in capacity, time or attention. The costs explain why teams that could stage everything do not.
- All at once costs nothing up front and leaves every failure to users and alerts.
- Rolling needs servers that can be updated in batches and code that tolerates two versions running together.
- Blue-green needs a second environment able to take full traffic, at least for the length of the switch.
- Canary and percentage rollouts need metrics that can tell a regression from noise and someone, or something, to decide at each step. Google's SRE Workbook defines canarying as "a partial and time-limited deployment of a change in a service and its evaluation," and the evaluation is the expensive half. Facebook's tiers take a few hours per release, and Slack puts a trained deploy commander on every deploy.
- Feature flags need a flag system that is itself reliable, and a habit of deleting flags once a launch is over.
None of these costs is large next to an incident that reaches every user. They are large next to a deploy that seems too small to matter, which is how the next section's failures began.
Why do configuration changes need a deployment strategy too?
A configuration change can break production as completely as a code change, and it often ships through a different path with no strategy of its own. Firebase in 2026 and CrowdStrike in 2024 both had staged rollouts for their software, and both sent a different kind of change to everyone at once.
Firebase's cleanup passed its tests. "Existing tests passed on the change that resulted in the invalid configuration," the postmortem says. What failed was the assumption that a 2-line configuration change needed no rollout. Among Firebase's commitments afterwards is a plain statement. "Deploying configuration changes to a broad segment of our global customer base too quickly introduces unnecessary risk." It committed to better monitoring and rollout phasing for configuration, along with strict validation in the SDK.
CrowdStrike's case is the one many people remember as the day Windows machines everywhere stopped working. According to CrowdStrike's preliminary post-incident report, the company released a content configuration update for its Windows sensor at 04:09 UTC on July 19, 2024, and Windows hosts that received it crashed. The update was reverted at 05:27 UTC, 78 minutes later. The sensor software itself went through a staged rollout that started with internal dogfooding and early adopters, and customers could choose to run the latest version or one or two versions older. The content update that crashed the hosts went through none of that. CrowdStrike's commitment was to "Implement a staggered deployment strategy for Rapid Response Content in which updates are gradually deployed to larger portions of the sensor base, starting with a canary deployment."
The two failures had different causes. Firebase's was a missing pointer in the SDK, and CrowdStrike's was a bug in the validator that checked its content. What they share is the path. In both, the change that broke production was not the kind of change the deployment strategy was built for. How They Ship's piece makes the same point about configuration changes needing a canary, with the sizing to match.
How do you choose a deployment strategy?
Start from what a bad change would cost and how fast you could take it back, then make sure every kind of change has an answer. These steps work for a single service or a whole platform.
- Estimate the reach. For each service, write down how many users a bad change would reach before your alerts fire. If the answer is every user, the service needs at least a canary or a percentage rollout.
- Measure the undo. Time how long it takes to return to the previous version today, from the decision to the last server. Our piece on rollback as a pipeline feature covers what makes that fast.
- List what else ships. Configuration, feature flags, content updates, schema changes and secrets often bypass the code pipeline. Write each one down next to the strategy it ships with.
- Give every line a strategy. A change type with no strategy next to it ships all at once, which is the Firebase and CrowdStrike pattern.
- Stage the safety systems too. Kill switches, flag services and validators are changes like any other, and Firebase's postmortem shows what happens when they go out globally.
Frequently asked questions about deployment strategies
What is the difference between blue-green and canary deployment?
Blue-green switches all traffic to a new environment at once and keeps the old one ready to switch back, while a canary sends a small share of traffic to the new version first. How They Ship's comparison covers both in depth.
Is a feature flag a deployment strategy?
A feature flag controls who sees a feature, not how the code reaches servers, so it works alongside a deployment strategy. It lets a team deploy code to everyone and release the feature to a small group, but the flag system itself still needs a safe way to change.
What is the safest deployment strategy?
No single strategy is safest on its own. The teams in this piece combine staging, an internal tier, a small canary and gradual percentage steps, and the weak point in both incidents here was a change that skipped all of them.
Do configuration changes need canaries?
They do whenever a bad value can break production. Firebase and CrowdStrike both committed to staged rollouts for configuration or content after changes of that kind reached every user at once.
Comments
Loading comments…