---
title: "All at once, or a canary"
url: "https://www.mikefluff.com/en/experiments/nw-ch11-canary"
locale: "en"
author: "Mikhail Savchenko (Mike Fluff)"
updated: "2026-11-24"
description: "Canary deployment vs releasing to everyone at once"
book: "https://www.mikefluff.com/en/books/nobody-writes-code"
alternates:
  - locale: "en"
    url: "https://www.mikefluff.com/en/experiments/nw-ch11-canary"
    markdown: "https://www.mikefluff.com/en/experiments/nw-ch11-canary.md"
  - locale: "ru"
    url: "https://www.mikefluff.com/ru/experiments/nw-ch11-canary"
    markdown: "https://www.mikefluff.com/ru/experiments/nw-ch11-canary.md"
  - locale: "pt"
    url: "https://www.mikefluff.com/pt/experiments/nw-ch11-canary"
    markdown: "https://www.mikefluff.com/pt/experiments/nw-ch11-canary.md"
  - locale: "es"
    url: "https://www.mikefluff.com/es/experiments/nw-ch11-canary"
    markdown: "https://www.mikefluff.com/es/experiments/nw-ch11-canary.md"
---

# All at once, or a canary

*Canary deployment vs releasing to everyone at once*

## What is a canary deployment?

A canary deployment releases a new version to a small share of machines or users first, watches the error rate and other health signals, and only then widens the rollout in stages. If the first group shows trouble, the release is stopped or rolled back before it reaches everyone. The name comes from the canaries coal miners took underground to warn them of gas. The CrowdStrike outage of 19 July 2024 is the textbook case of the opposite: one update went to every machine at once.

On the morning of 19 July 2024 one faulty CrowdStrike update stopped about eight and a half million computers. The bug sat in one place. The scale came from the way the update was released, to every machine at once. The chapter “Until It Works for People, Nothing Happened” is about the part of a release that happens after the code is written, and this is its example.

The grid stands for those computers, one square per cent, 85,000 machines each. There are two ways to roll out and two kinds of update. “All at once” sends the new version everywhere in one step. “Canary” follows the chapter’s steps: one per cent, then ten, then fifty, then everyone, with a pause after each step to watch errors and complaints and an automatic rollback if the first group falls over.

Run the faulty update both ways. All at once, the same mismatch goes off on every machine in the same minute. As a canary, one per cent is hit instead of a hundred, and the rollback needs no meeting. Then run the sound update. It reaches everyone either way, the canary just takes a few steps longer. The bug is identical every time; what changes is how the release is built, and that is the chapter’s argument. When agents write the code, the cost of a mistake is set by the rollout more than by the author.

_The page has an interactive experiment that runs in a browser: https://www.mikefluff.com/en/experiments/nw-ch11-canary_

## Sources

- [Google SRE Workbook, Canarying releases](https://sre.google/workbook/canarying-releases/)
- [CrowdStrike, Preliminary Post Incident Review (July 2024)](https://www.crowdstrike.com/en-us/blog/falcon-content-update-preliminary-post-incident-report/)

## From the book

Beside it in the book:

> There is a further step, which Netflix thought of. In 2011 the company described a program with the telling name Chaos Monkey, which during working hours, on the real system, switches off servers at random. The idea is that servers will break anyway, and it is better to find out whether the system survives it on a Tuesday at eleven in the morning, when all the engineers are in, than on a Saturday at three in the morning. The monkey Pelevin sat at a typewriter to write code got a different job at Netflix: checking that what has been written survives its encounter with reality.

- Read the chapter: [Chapter 11. Until It Works for People, Nothing Happened](https://www.mikefluff.com/en/read/nobody-writes-code/ch11) (opening free, rest in the full book; Markdown: https://www.mikefluff.com/en/read/nobody-writes-code/ch11.md)

- Book: [Nobody Writes Code Anymore](https://www.mikefluff.com/en/books/nobody-writes-code) — $15
