How assembly-line thinking is hurting your DevOps teams

by Carl Weller on 11/04/2019 01:30

This is the fourth post in a series exploring Lean thinking and DevOps.

In my previous post Increasing the speed of your DevOps teams I covered multi-tasking and large amounts of work in progress as two significant issues impacting the speed of work flowing through teams to customers. In this post we are going to cover another key reason work takes longer than it should; time lost due to work sitting in non-productive states.

Most knowledge-working companies still have many attributes of early 20th Century production-line thinking, particularly hyper-specialisation and a focus on utilisation. To use a factory analogy, we have many very special machines that are very good at what they do and what we care most about is how well utilised they are.

This utilisation focus comes from a cost-accounting perspective. If I spend a lot on a machine (or a highly skilled specialist), then the more they are loaded with work the less each individual work item costs. This is also known as 'economies of scale' and is the basis for the massive improvement in production and living standards in the 19th and 20th Centuries.

We've structured our IT teams around similar thinking. A good SDLC has a very standardised set of processes, done in a certain order, and with agreed outputs (even Agile teams follow this with their Definition of Done). Because we tend to focus on utilisation and following process, we forget a key difference in IT work, which is often project-based (i.e. one-off, not mass-production at all).

 It is not possible to sufficiently remove sources of variation from knowledge work. And we use very specialist resources. These two factors create interruptions in the flow of work and lead to a lot of 'queuing'.

To keep being 'efficient' while dealing with variation the common tactic is to assign people more work. If they are waiting for something from upstream that hasn't arrived they may be able to progress one of their other tasks. Viewed through a utilisation lense this makes sense, right? I am keeping my 'machine' highly utilised, thus keeping unit costs low.

The greatest sin is 'to not be working on something', even if that would be better overall for the whole work system (as that 'headroom' allows a team to absorb variation, just as your PC works better when it has spare processor or memory capacity).

In Lean we call this local optimisation – a focus on the efficiency of one element rather than the efficiency of the whole system.

Here's what it probably looks like for a single task. We have a series of value-adding steps that reflect a typical SDLC.

Value-adding steps in a typical SDLC

However, because of variation in work item size and the availability of skilled resource, there is often waiting time between these steps that is non-value-adding.

Waiting time between steps that is non-value adding

There isn't as much data available online as I would like, but what I have found puts the typical ratio of non-value-adding to value-adding steps at about three to one. That is, the time lost in forms of waste (waiting, knowledge loss at handovers, fixing defects, etc.) is about 75% of the total time taken for any given work item. Some international conference speakers have reported a 'flow efficiency' of one or two percent (flow efficiency is the percentage of value-adding time when looking at the total time a work item takes).

If we assume a 25% flow efficiency, then our production process looks like this (with value-adding and non-value-adding steps shown in the green and red bar below the process steps):

Flow efficiency in an SDLC

So how do we think we are being so efficient? Well, because whenever we look at a person they are doing something. When you look at point A, B or C on the diagram below, people are 'busy'. Sometimes they may have more things on the go than at other times, but they are always working.

We focus on a person doing something, they're utilised and busy

We are looking at a point in time snapshot focused solely on utilisation, not effectiveness.

Effectiveness is getting something completed as quickly as possible after it has started. Why? Because it doesn't deliver value until it is complete and, as we know from my third post in this series Increasing the speed of your DevOps teams, the more things you have on the go at once the longer they all take!

Looked at another way, if my non-value-adding time is 75% of my total time, then I am much better off trying to cut the time my work is sitting in waste states (usually just waiting for a specialist to become available to perform the next process step) than I am trying to speed up the value-adding parts of the exercise.

Trying to perform work faster

If I spend on average three days not adding value and one day adding value, then doubling the speed of my value-adding part (what most people see as 'doing the work') shaves off half a day. And its really, really hard to get twice as fast at something you are already reasonably good at. Let's call that an unlikely scenario.

Trying to work faster is unlikely to deliver significant gains

If I cut half the time something is sitting in a queue, it means the work item is delivered in 2.5 days instead of 4. So, a 37.5% reduction in delivery time by just reducing the amount of time no-one is working on something!

Reducing the amount of time on-one is working on something should deliver significant gains

So how do I make this work?

You need to see the flow of work. Its that simple. You need to see when work starts, how it progresses through different process states, where it sits waiting. In fact, all the things you would see if we were talking about physical manufacture rather than knowledge work.

In a small factory you would see a pile of half constructed work items. You would see the worker clear their bench, put the new work item on it, get the right tools for that job, do what they can, put it on the floor next to the other unfinished work items, put the tools away, grab the next work item…

The best way to see what is happening in a knowledge-work setting is using a visual work board that represents the process states you have. The board below contains the minimum information most teams need to see flow (or lack of flow).

Visual work board used for DevOps or Kanban

We are not managing work in progress through limits or using queues to smooth flow, but we can see work progress through different process states. We can count how much work is in each state and see how much work each individual has in progress. We can see when a state gets overloaded with work.

All of these things should drive team behaviour. For example:

  • When a state is overloaded upstream states should slow down and use some capacity to assist to clear the growing blockage
  • When all states are reasonably full no more new work should be started
  • When a state has free time, but can't pull more work from an upstream state, then it could focus on process improvement…

This post has gotten longer than I expected, and we're not done yet! Stay tuned for more.

Carl Weller is a Principal Consultant specialising in Project Management and Agile Leadership, based in our Wellington office.

0 Comments

Get blog posts by email