Is Batching Ten Changes Into One Friday Deploy Really More Efficient?
Ship ten changes as one batch and the first one reaches production at 10:55. Ship them in five pairs and it arrives at 9:20, but the approver's review time grows from 10 to 30 minutes. Using the theory of constraints and DORA's small-batch view to decide whose time you are measuring.
For the approver, signing off once on Friday is easiest. The developer who finished their fix at 9 a.m. is doing different math. Their change is ready, but it won't reach customers until the tenth change is done. To know which approach is more efficient, you first have to decide whose time, and which outcome, you're measuring.
The theory of constraints in The Goal looks for the point that limits overall flow when several steps depend on each other. DORA also notes that working in small batches gets you feedback sooner. Let's apply both views to ten deploys on a Friday morning.
Batch size trades the time the first change reaches customers against how many reviews the approver has to do. Which side wins depends on where the team's real constraint sits.
What changes between one batch of ten and five batches of two?
The setup is simple (times and durations are illustrative). Independent changes become ready every ten minutes starting at 9:00, so the tenth is done at 10:30. Reviewing a batch takes five minutes and rolling it out takes five. Change 9 has a bug that's found at the end of review and takes ten minutes to fix. After the fix, the whole batch is re-reviewed for five minutes. Assume the approver can review each batch as soon as it's ready.
| Measure | One batch of ten | Five batches of two |
|---|---|---|
| Time the first change waited for review to start | 90 min | 10 min |
| When the first change reached production | 10:55 | 9:20 |
| Scope of re-review after the fix | 10 changes | 2 changes |
| Approver review sessions, including re-review | 2 | 6 |
| When the tenth change reached production | 10:55 | 10:55 |
With pairs, the first batch starts review at 9:10 and lands in production at 9:20. By 10:35, when change 9's bug is found, the first eight changes are already in users' hands. Ship all ten together and that single bug holds the first change until 10:55 as well. On the other hand, the approver who chose small batches spends 30 minutes reviewing in total. With one big batch, review takes 10.
What if the approver only has time once a day?
In practice that last difference matters. If the approver can only make time once a day, sending five deploy requests just creates a different queue. The constraint isn't development, it's the approver's calendar. In that case it's worth trying another approach: finish each change's tests and review material as soon as it's ready, then approve them together at a fixed production window.
What should you measure at the next retro?
At your next release retro, attach three timestamps to your last ten changes: ready, review started, and in production. Once you know where the first change waited longest, you can talk concretely about whether the team needs a different batch size, better review material, or more protected approval time. The faster coding agents write code, the more that wait stands out, which I wrote about in when coding agents write all the code, where does the bottleneck go?.
- #devops
- #deployment
- #change-management
- #cicd
- #sre