You Can't Improve What You Don't Measure

By Esteban Trillo6 min readupdated Continuous DeliveryBooks

Four gauges on one machine. Read them, then turn the screw.
Four gauges on one machine. Read them, then turn the screw.

Part 6 — the finale — of a series reading Continuous Delivery, by Jez Humble and David Farley. Part 1: Continuous Delivery Is a State, Not a Pipeline.

We spent five parts building the machine. The state, the pipeline, the testing, the environments, the database. So here is the last, most uncomfortable question: how do you know any of it is working?

The tempting answer is “we deploy a lot.” Teams put deploy counts on a dashboard and call it Continuous Delivery.

That is a vanity metric. Deploying often is easy to fake and easy to game — you can ship a hundred times a day and still be slow, fragile, and afraid, if half those deploys break and take a day to fix.

You can’t improve what you don’t measure — but only if you measure the right things.

The research has an answer, and it is only four numbers.1

The four keys

The DORA program spent years correlating how teams work with how they perform, and it landed on four metrics that, together, capture both halves of delivery: how fast you go, and how well you hold up.2

Flip between an elite team and a low performer.

Deployment frequencyhow often you ship
on demand — many per dayonce a month, at best
Lead time for changescommit → running in prod
less than a dayone to six months
Change failure ratedeploys that need a fix
0–15%40–60%+
Time to restorehow fast you recover
less than an hourup to a week

Elite. Ships constantly, gets changes out in hours, rarely breaks, and recovers fast when it does. Not four lucky numbers — four readings of the same underlying discipline.

Low. Rare, slow releases that fail nearly half the time and take days to recover. The scary-release world from Part 1, measured.

Two of them measure throughput — deployment frequency and lead time for changes, the “how fast can you get an idea into a user’s hands” axis. Two measure stability — change failure rate and time to restore, the “and does it survive contact with production” axis.

What makes them good is that they are hard to cheat as a set. You can juice deployment frequency, but not while keeping change-failure low and lead time short. Gaming one wrecks another. Only a team that is genuinely doing the underlying work moves all four at once.

Speed and stability are not a trade-off

Here is the finding that upends most people’s intuition.

You would expect a trade-off. Go faster, break more. Be careful, go slow. Every “move fast and break things” versus “measure twice, cut once” argument assumes those two are in tension.

The data says they are not. The teams that deploy most often and have the shortest lead times also have the lowest change-failure rates and recover the fastest. Speed and stability go up together, because the same practices produce both.1

The scary-release world — rare, slow, fragile — is not the “safe, careful” end of a spectrum. It is just the losing end of both axes at once.

Conway’s Law and why culture wins

So why can’t you buy this? Purchase the tools, wire up the pipeline, and collect your elite metrics?

Because the four keys are an outcome, and the thing that produces them is mostly cultural. The book keeps circling back to a version of Conway’s Law: a system’s design ends up mirroring the communication structure of the organization that built it.3 If shipping a change requires three teams, a hand-off, and a change-approval board, no amount of pipeline YAML makes your lead time short. The org chart is in the critical path.

This is also why local optimizations backfire. A team that optimizes its own step — bigger batches so releases are “efficient,” a separate QA phase so developers “aren’t slowed down” — makes its own number look good and the whole system slower. CD is a property of the stream, not of any one station on it.

deep diveAren't these metrics just as easy to game as deploy counts?

Individually, sure — any single number can be gamed. Split every commit in two and your deployment frequency doubles. But the four are a system with opposing pressures. Inflating deployment frequency with junk changes drives up your change-failure rate. Rushing lead time without tests wrecks your time-to-restore. The only way to move all four in the right direction at once is to actually get better at delivering, which is the point. Treat them as a dashboard to stare at and you’ll game them; treat them as a thermometer for the practices in Parts 1–5 and they’ll tell you the truth.

The one thing I’m taking with me

Six parts in, if I had to keep one idea, it is the one from the very first post.

Continuous Delivery is not a pipeline, a tool, or a deploy count. It is a state — the software is always ready to go — and everything else in the book is in service of holding that state: the pipeline proves it, small batches keep it cheap, tests earn the green bar, environments and migrations keep production honest, and the four keys tell you, without flattering you, whether you’re actually there.

The version I repeat to coworkers is even shorter. Most teams treat “releasable” as a place you get to at the end, in a scramble. CD treats it as where you live. That reframe changes almost every technical decision downstream of it.

That is the whole book, and the whole series.

If you take one thing from all of it: stop treating “ready to ship” as a finish line. Make it the ground you stand on.

Footnotes

  1. Nicole Forsgren, Jez Humble, and Gene Kim, Accelerate: The Science of Lean Software and DevOps (IT Revolution, 2018) — the research behind the four key metrics and the finding that throughput and stability rise together. ↩ ↩2

  2. The DORA (DevOps Research and Assessment) program and its annual State of DevOps reports define and track the four keys: deployment frequency, lead time for changes, change failure rate, and time to restore service. ↩

  3. Melvin Conway’s 1968 observation that organizations design systems that mirror their own communication structures — the reason delivery speed is an organizational property, not just a technical one. ↩

Piwi hands a single letter to the user at a mailbox; a small note reads no noise.

Get the next one in your inbox

One email when a post goes out, with its sketch. Nothing in between, and one link to leave.

Sign in faster next time?

Add a passkey and skip the email link. Your fingerprint, face or device PIN is enough.