05.3.2 · Skill in Controlled releases

Staged rollouts

Releasing to a growing share of users while watching the impact.

A staged rollout starts with a small percentage of users and increases as metrics stay healthy. Problems affect few people and can be caught early. It is also called progressive delivery.

Your status · Staged rollouts

Saved in this browser. Sign in to keep it on every device.It colours this skill's tile on your map.

Why it matters for a product engineer

Tests never cover every device, configuration and kind of user. A staged rollout lets real use find what tests missed, while only a few people are exposed. It turns a release from one bet into a series of small ones, each with a chance to stop.

How to do it

  1. Start with a small share: the team, a canary group, then 1%, 5%, 25% and everyone.
  2. Decide the gate for each stage before you start: the metrics, their limits, and how long to wait.
  3. Compare the new group with the rest, not with yesterday. Google’s SRE workbook shows why size matters: a version that fails 20% of requests, on a 5% canary, adds only 1% to the overall errors.
  4. Stop automatically when a gate fails, and roll back.
  5. Wait long enough for slow signals, such as support tickets or memory growth.
  6. Apply the same rules to configuration and content, not only to code.

Common mistakes

  • Treating configuration or content updates as too small to need stages.
  • Stages without gates, so the rollout continues on schedule whatever happens.
  • A canary group that is not representative of real users.
  • Moving faster than the metrics can show a problem.

Example

On 19 July 2024 at 04:09 UTC, CrowdStrike sent a content update to every online Windows computer running its sensor. A bug in its Content Validator had let bad data through. The sensor read memory out of bounds, and Windows crashed. The update was reverted at 05:27 UTC, 78 minutes later. Microsoft estimated that 8.5 million Windows devices were affected.

Side by side

How CrowdStrike sent content updates, before and after July 2024

19 July 2024Promised after
First groupEvery online sensorA canary group
Next stagesNoneGradually larger shares
Signal before going widerNoSensor and system monitoring
Customers choose when and whereNoYes

The update went to every sensor at once, so nothing could stop it early. The fixes add stages, signals between them and a choice for customers.

ReportedCrowdStrike preliminary post incident review, 24 Jul 2024

Sources: Falcon content update, preliminary post incident report (CrowdStrike) ↗ · Helping our customers through the CrowdStrike outage (Microsoft) ↗ · Canarying releases (Google SRE workbook) ↗

Resources

2

Tools

4
Tools for Controlled releases