Continuous Delivery, Continuous Deployment: there is no shortage of definitions. They tell you what the two practices are. They rarely tell you why they work, in other words why a small change released often carries less risk than a big change released rarely.
Continuous Delivery vs Continuous Deployment: the difference in one sentence
Continuous Delivery keeps the software ready to go to production at any time. Continuous Deployment sends it there automatically, as soon as the pipeline is green.
In both cases, every change goes through the same deployment pipeline: build, automated tests, checks. Jez Humble and Dave Farley, the authors of the book that defined Continuous Delivery, Continuous Delivery, describe Continuous Deployment as that same pipeline with its last step, the deployment to production, made automatic.
In Continuous Delivery, the decision to release stays with a person. The software is ready; someone chooses the moment. The two authors add a rule: even when you have good reasons not to release every change, you should work as if you were going to.
One pipeline. Only the last step changes: a human decision in Continuous Delivery, automatic in Continuous Deployment.
The rest of this article applies to both practices. What they share matters more than what sets them apart: small, frequent changes.
Why a small change is less risky than a big one
A small change touches few things. If a test fails right after it, the cause lies in that change. The developer who has just written it still has it in mind. They fix it straight away, or they revert their commit.
A big change touches many things. When an error shows up, it hides among all the changes it contains. Finding the cause takes time. Reverting the whole thing also removes what was working.
In his book Continuous Delivery Pipelines, Farley makes this a founding principle of Continuous Delivery. Small, simple, frequent changes are less risky than big, complicated, infrequent ones. Being simpler, they are easier to understand and easier to revert. Smaller steps mean smaller mistakes and faster feedback.
Humble and Farley apply the same reasoning to releases. The more often you release, the less risky each release is, because the amount of change between two releases goes down. If you release every change, the risk is limited to the risk of that one change.
Over the same period, a big batch hides the error among many changes; a small batch shows it straight away.
The opposite reflex is common: add more controls. Approval by a committee, one more sign-off before every release. Farley describes what follows. Releases become less frequent, so bigger and more complex, so more likely to introduce mistakes. He quotes the report from DORA, Google Cloud’s research programme on how software is built and released to production: approvals by an external body are negatively correlated with lead time, deployment frequency and restore time, and have no correlation with change failure rate.
Delivering feature by feature: what it changes for users
A small change is not a feature. A feature is built from several commits, each one tested and ready to go to production. Farley puts it this way: build features from multiple commits, so that the product evolves step by step, with frequent feedback from users. And if a feature is too big, break it down into smaller pieces.
For him, a change is only complete when it is in the hands of its users. That is where small steps pay off. Each feature quickly reaches the people who use it, and how they use it, provided you measure it, shows whether it was worth building.
This is the loop we describe in our approach: “As soon as a feature goes live, the feedback we gather from your users tells us what to do next: remove it, adjust it, or add a new one.”
Every feature in production generates feedback, and that feedback decides what comes next.
That leaves the question of what to break down, and in what order. We do not break work down by estimated duration. We ask a single question: what is the most useful thing to do now? A time estimate remains a guess; we explain why in the article on software projects that go over budget.
Deploying is not releasing
A feature built from several commits goes through intermediate states. A half-built screen must not appear to users. Do you have to wait until it is finished to deploy? No. You only need to separate two actions.
deploying is the technical act of copying a new version of the software to an environment and starting it up, ready for use;
releasing is making a new feature available for a user to use.
In everyday speech, “going to production” often covers both. At DEVEDANOS, we keep “release” for the second one. We deploy code continuously, then release the feature once it has been signed off.
Farley points out that you can deploy changes that are not yet ready for use. From this, he derives a working rule: every commit must be safe, tested and ready to deploy to production, even when the feature it contributes to is not ready yet.
How does deployed code stay invisible? Humble and Farley describe one solution. The new code is deployed with everything else, but no link leads to it until it is finished; it is wired up last. When that is not possible, there is the feature toggle, a switch in the configuration, which we cover in the article on feature flags.
The code is in production long before the feature is visible. Releasing is a separate action.
For our clients, this separation makes it possible to sign off a feature before it is released. This is how we put it in our approach: “Once the feature has been accepted and approved, we update the application in production. The code is already deployed via our automated deployment pipeline and awaits this go-ahead to be activated in production.”
When a change breaks something: fix or revert within ten minutes
Working in small steps does not remove errors. It makes them small, and quick to spot. That still requires fast feedback.
Farley gives three timescales, which he presents as his rules of thumb:
the commit stage tests run in under 5 minutes;
when a test fails, allow about 10 minutes to identify and commit a fix, or to revert the change;
the acceptance tests and all the other checks in the pipeline run in under an hour, which gives several chances to find and fix a problem on the same day.
Why revert rather than investigate? If the problem is not understood, or takes too long to fix, you revert the change. That gives you time to think, and keeps the pipeline free for everyone else.
When the change is small, reverting removes only that change. The history stays readable:
$ git log --oneline -6
9c41e2a Revert "Calculate the discount on the total including tax"
7d0f3b1 Calculate the discount on the total including tax
5a8e6c4 Show the discount breakdown on the invoice
3b27d90 Reject a discount larger than the order amount
1f9a5e7 Add the discount field to the form, not wired up
0c62b18 Save the discount entered on the order
What the DORA metrics measure, and what they say about small batches
The DORA research programme tracks software delivery performance with five metrics, split into two groups.
Throughput:
change lead time, the time it takes for a change to go from a commit in version control to a deployment in production;
deployment frequency;
failed deployment recovery time.
Instability:
change fail rate, the share of deployments that require immediate intervention;
deployment rework rate, the share of deployments that are unplanned and happen because of an incident in production.
DORA writes that speed and stability are not a trade-off: for most teams, these metrics are correlated.
The book Accelerate (2018), by Nicole Forsgren, Jez Humble and Gene Kim, brings together four years of “State of DevOps” surveys, from 2014 to 2017: more than 23,000 responses from more than 2,000 organisations. In the 2017 survey, compared with the lowest performers, the highest performers deployed 46 times more often. Their lead time from commit to deploy was 440 times shorter. After an outage, they restored service 170 times faster. Their changes failed five times less often. Over several years of surveys, their organisations were twice as likely to exceed their goals for profitability, market share and productivity.
Farley quotes other figures on Continuous Delivery from the 2014 and 2017 “State of DevOps” reports: a 50% lower change failure rate, 44% more time spent on new features and 21% less time spent on unplanned work and rework.
Small batches affect both groups. According to DORA, working in small batches reduces the time it takes to get feedback on changes, which makes it easier to diagnose and fix problems. The 2024 report repeats it: DORA’s data has shown for years that larger changes are slower and more prone to creating instability.
These are correlations drawn from surveys, not proof of cause. To date, in the studies cited here, they are consistent with the mechanism described above.
How we work
We develop in small changes, deployed continuously, and released once they have been signed off.
For bespoke software development, we work to a fixed budget, invoiced at the end of each month for the work done. Your application is usable within a month, with a few essential features: your users start working with it straight away, and how they use it determines which features come next. Once a feature has been signed off and released, it is judged on how your users respond, and we decide the next ones with you right away, for as long as you wish. An application is never finished.
And to make sure that what worked last month still works this month, we apply a zero-regression guarantee: every regression is fixed and covered by an automated test so that it does not come back, at no extra cost.
We also offer software production chain audits and training for technical teams. The audit checks whether a malfunction can be fixed within minutes, before it affects your customers, and what remains to be put in place.
Further reading
In our guide, you will find the questions to ask before signing a quote for developing your custom tool.
Do you need software built, and want it built this way? Shall we talk?