Overview

6 Flow in your development cycle

This chapter argues that software delivery should be understood as a value stream, not as a collection of isolated tasks. Although teams may look busy merging code, reviewing pull requests, and watching pipelines, much of that time is spent waiting rather than creating user value. The key distinction is between activity and flow: flow measures how long it takes an idea to become production behavior, and it exposes where work truly stalls across the system.

By mapping the real path from request to production, the chapter shows how to separate value-adding work from necessary friction and pure waste. It emphasizes measuring lead time, cycle time, activity time, queue depth, and aging work so that teams can see the hidden inventory created by branches, pull requests, blocked environments, approval gates, and release windows. Smaller batches and lower work in progress improve flow by reducing delay, shortening feedback loops, and forcing completion instead of context switching. The goal is not to look productive, but to make value move faster and with less rework.

The chapter also explains that flow is governed by the slowest necessary step, so improvement must focus on bottlenecks rather than local speedups. Once the constraint is identified, teams can elevate it by removing unnecessary work, reducing demand, increasing capacity, or redesigning the flow around it. CI/CD is presented as helpful when it removes queues and harmful when it becomes the new constraint through slow or overloaded validation. The chapter closes by stressing that flow beyond deployment still depends on release strategy, and that lasting improvement comes from repeatedly mapping the system, choosing one delay to reduce, and measuring the result.

A typical manufacturing value stream from raw material to customers' hands.
A typical manufacturing value stream from raw material to customers' hands.
A typical software value stream from an idea to a feature in production, delivering user value.
A typical software value stream from an idea to a feature in production, delivering user value.
A full value stream exposing the length of time a typical small fix takes to flow through the system.
A full value stream exposing the length of time a typical small fix takes to flow through the system.
A clean, formal view of a typical value stream from request to production.
A clean, formal view of a typical value stream from request to production.
A realistic view of a typical value stream from request to production.
A realistic view of a typical value stream from request to production.
A feature value stream that shows typical delays that contribute to a low activity ratio.
A feature value stream that shows typical delays that contribute to a low activity ratio.
A defect value stream that shows typical phases that a bug fix flows through.
A defect value stream that shows typical phases that a bug fix flows through.
A deployment value stream that shows the role governance can play in a typical production push.
A deployment value stream that shows the role governance can play in a typical production push.
The true value stream extends beyond just what engineering delivers.
The true value stream extends beyond just what engineering delivers.
Batch size comparison for impact on the value stream and feedback flow.
Batch size comparison for impact on the value stream and feedback flow.
Causes of inflated WIP without any malice involved, just a desire to stay active and busy.
Causes of inflated WIP without any malice involved, just a desire to stay active and busy.
A simple flow-based decision-making method for WIP management for a team.
A simple flow-based decision-making method for WIP management for a team.
A growing bottleneck week by week as reviews become the constraint in the system.
A growing bottleneck week by week as reviews become the constraint in the system.
The simplified ToC model to focus on the low capacity constraint.
The simplified ToC model to focus on the low capacity constraint.
Current value stream of a simple work breakdown and acceptance cadence.
Current value stream of a simple work breakdown and acceptance cadence.
Future value stream designed to elevate the constraint
Future value stream designed to elevate the constraint

Summary

  • Flow is the movement of value from idea to user, not the speed of coding.
  • Activity ratio reveals where you spend more time waiting than adding real value.
  • Large batches amplify delay, risk, and rework. Small batches protect feedback and reduce the blast radius.
  • High WIP hides constraints; low WIP exposes them.
  • The bottleneck governs throughput, regardless of effort elsewhere.
  • Improving non-constraints increases inventory, not flow.
  • Future value streams must be designed deliberately, not assumed.
  • CI/CD protects flow when it reduces waiting; it disrupts flow when it becomes the constraint.
  • Release is part of the value stream; batching at the end reintroduces delay.
  • Flow improves through targeted Kaizen, not sweeping reform.

FAQ

What is a development value stream in software delivery?It is the full path an idea takes from request to production, including coding, review, testing, deployment, waiting, and rework. The goal is to see how value actually moves through the system, not just how individual steps perform.
How is flow different from velocity?Velocity measures how much work a team completes in an iteration, usually in story points. Flow measures how long it takes a single unit of value to reach the customer. Flow focuses on lead time and delivery speed across the whole system.
Why can a small code change still take days to reach production?Because most of the time is often spent waiting in queues such as backlog, review, deployment windows, or approvals. The coding itself may take minutes, but the value stream includes all the delays between steps.
What are the main types of software value streams?The chapter highlights three: a feature value stream from request to user-visible functionality, a defect value stream from bug discovery to production fix, and a deployment value stream from merge to live behavior.
Why is reducing batch size important for flow?Smaller batches move through the system faster, get reviewed sooner, and expose defects earlier. They also reduce rework, merge conflicts, and cognitive load, which improves lead time and feedback speed.
What does work in progress (WIP) mean, and why should it be limited?WIP is the number of items started but not finished. Limiting WIP prevents focus fragmentation, reduces inventory waste, and forces the team to complete work instead of constantly starting new tasks.
How do WIP limits help a team improve flow?They make constraints visible and encourage the team to finish or escalate blocked work rather than bypassing it. WIP limits also create pull-based flow, where new work enters only when capacity exists.
What is a bottleneck in a software delivery pipeline?A bottleneck is the slowest necessary stage relative to demand. It is the step that governs throughput, often showing symptoms like growing queues, increasing wait time, aging items, and low activity ratio.
How can a team elevate a bottleneck instead of just working faster?By targeting the constraint directly: removing unnecessary work from it, reducing demand on it, increasing its capacity, or redesigning flow around it. Examples include automating approvals, limiting PR size, or improving reviewer availability.
When does CI/CD improve flow, and when can it hurt flow?CI/CD improves flow when it removes waiting and speeds validation without adding unnecessary delay. It hurts flow when pipelines become too long, too sequential, or too congested, turning validation into the new bottleneck.

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Close
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Build High Value Software Systems Build High Value Software Systems ebook for free
Close
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Build High Value Software Systems Build High Value Software Systems ebook for free