80
David J. Anderson LAS 2011 Zurich, September 2011 Kanban Explained! A counter-intuitive approach to creating a Lean Organization

Kanban explained David Anderson LAS 2011-zurich

Embed Size (px)

DESCRIPTION

Kanban is a technique that was elaborated in the manufacturing industry for years. But it also works nicely for knowledge work such as project development. Especially evolutionary change management in IT organizations lends itself perfectly to the Kanban field.David J. Anderson speaking about Kanban at the LAS Conference 2011 in Zurich.Read the summary on my blog at http://t.co/Mr7Be9T

Citation preview

Page 1: Kanban explained David Anderson LAS 2011-zurich

Dav

id J.

And

erso

n L

AS 2

011

Zuric

h, S

epte

mbe

r 201

1

Kanban Explained!A counter-intuitive approach to creating

a Lean Organization

Page 2: Kanban explained David Anderson LAS 2011-zurich

Published April 2010

A 72,000 word introduction

More to come in a future book

Page 3: Kanban explained David Anderson LAS 2011-zurich

Published in GermanJanuary 2011

Translation byArne Roock & Henning Wolf

of IT-Agile

Page 4: Kanban explained David Anderson LAS 2011-zurich

What is…Lean Software Development?

Page 5: Kanban explained David Anderson LAS 2011-zurich

The foundational pillars of Lean are debated by different authors,

however, most would agree on the following…

Page 6: Kanban explained David Anderson LAS 2011-zurich

Pillars of Lean

• Value• Value Stream• Flow• Pull• Continuous Improvement• Respect for People• Holistic Process Approach

(aka. Systems Thinking)

Page 7: Kanban explained David Anderson LAS 2011-zurich

Western Lean Thinking has focused on waste elimination in comparison with

Japanese “Toyota Way” that has a broader definition of muda, muri and

mura, and a cultural aspect Kaizen

Page 8: Kanban explained David Anderson LAS 2011-zurich

Western Lean literature and consulting tended to focus on waste elimination. This was both easy to do and useful in

manufacturing but has proven problematic in knowledge work areas.

Page 9: Kanban explained David Anderson LAS 2011-zurich

The concept of Lean Software Development has been

around since 1993, and yet by 2008 you didn't meet

anyone doing it

Page 10: Kanban explained David Anderson LAS 2011-zurich

Agile Management in 2003

Introduced some Lean ideas including the synthesis of Flow,

Visualization using Cumulative Flow

Diagrams &Bottleneck Management

Page 11: Kanban explained David Anderson LAS 2011-zurich

I’d been talking about

managing flow for 6 years, but despite support for cumulative flow diagrams in many Agile tools,

(almost) no one was doing it!

Page 12: Kanban explained David Anderson LAS 2011-zurich

I concluded that after 15+ years we must assume that Growing

Lean Adoption in the IT industry is hard!

Page 13: Kanban explained David Anderson LAS 2011-zurich

Agile Methods are not creating Lean Organizations …

Page 14: Kanban explained David Anderson LAS 2011-zurich

Extreme Programming is

evidently a very Lean method

Page 15: Kanban explained David Anderson LAS 2011-zurich

XP has very little waste

Page 16: Kanban explained David Anderson LAS 2011-zurich

TPS divides waste into 3 types

• Muda – non-value added tasks• Muri – unevenness (or variability) in flow• Mura – overburdening

Page 17: Kanban explained David Anderson LAS 2011-zurich

XP avoids Mura through use of tests and tight definition of "Done"

Page 18: Kanban explained David Anderson LAS 2011-zurich

XP avoids Muriwith skilled craftsmanship that can

"flow" a story without handoffs and a strict WIP limit policy of

1 story per pair

Page 19: Kanban explained David Anderson LAS 2011-zurich

XP has little Muda as planning, coordination and delivery are lightweight

and partly automated

Page 20: Kanban explained David Anderson LAS 2011-zurich

Some XP practitioners such as

Joshua Kerievsky, Arlo Belshee & Jim shore have sought to reduce waste in XP with techniques such

as Naked Planning, Agile Workcell, elimination of planning, estimation and time-

boxed iterations, and Limited Red

Page 21: Kanban explained David Anderson LAS 2011-zurich

The motivation for these changes, that involved introduction of "kanban"

style techniques, was (further)

elimination of waste

Page 22: Kanban explained David Anderson LAS 2011-zurich

However, Extreme Programming hasn't been for everyone!

Page 23: Kanban explained David Anderson LAS 2011-zurich

Some people & organizations have

resistedadoption of Agile methods!

Page 24: Kanban explained David Anderson LAS 2011-zurich

If not every organization is

ready to adopt an Agile method, how can we encourage

them to become more Lean?

Page 25: Kanban explained David Anderson LAS 2011-zurich

So What is the Kanban Method?

Page 26: Kanban explained David Anderson LAS 2011-zurich

Kanban is the enabler of a Kaizen Culture & emergence of a Lean organization

Page 27: Kanban explained David Anderson LAS 2011-zurich

So how do we go about introducing Lean into organizations that have

failed to adopt an Agile method such as TDD or failed to truly achieve a continuously

improving culture?

Page 28: Kanban explained David Anderson LAS 2011-zurich

The counter-intuitive answeris to use a

pull system that limitswork-in-progress as a catalyst for

introduction of other Lean concepts

Page 29: Kanban explained David Anderson LAS 2011-zurich

Kanban Systems are pull systems that limit work-in-progress and have been part of the Lean toolkit for

50+ years

Page 30: Kanban explained David Anderson LAS 2011-zurich

My motivation for adopting kanban systems was to

prevent mura, control muriand encourage an evolutionary

approach to change

Page 31: Kanban explained David Anderson LAS 2011-zurich

In developing the

Kanban Method, a change management approach that uses

kanban systems to provoke change, we are enabling the

emergence of Lean software development in organizations

Page 32: Kanban explained David Anderson LAS 2011-zurich

How does the

Kanban Method work?

Page 33: Kanban explained David Anderson LAS 2011-zurich

Kanban is based on 3 principles

1. Start with what you do now2. Agree to pursue incremental,

evolutionary change3. Initially, respect current processes,

roles, responsibilities & job titles

Page 34: Kanban explained David Anderson LAS 2011-zurich

adopt the 5 core practices that are observed

to be present in successful Kanban implementations

Then…

Page 35: Kanban explained David Anderson LAS 2011-zurich

5 core practices for successful Kanban adoption

1. Visualize Workflow2. Limit Work-in-Progress3. Manage Flow4. Make Process Policies Explicit5. Improve Collaboratively

(using models & scientific method)

Dep

th

Shallow

Deep

Page 36: Kanban explained David Anderson LAS 2011-zurich

It’s a question of shallow or deep!

Shallow implementations tend to produce fewer,

less dramatic results

It’s not a question of right or wrong …

Dep

th

Shallow

Deep

Page 37: Kanban explained David Anderson LAS 2011-zurich

all 5 core practices are adopted they form the seed conditions for Kanban

as a complex adaptive system that enables a Lean(er)

way of working to emerge

When…

Page 38: Kanban explained David Anderson LAS 2011-zurich
Page 39: Kanban explained David Anderson LAS 2011-zurich

Visualize Workflow

Page 40: Kanban explained David Anderson LAS 2011-zurich

Limit Work-in-Progress

3 220 4

Page 41: Kanban explained David Anderson LAS 2011-zurich

Observe Flow (empty test column)

Page 42: Kanban explained David Anderson LAS 2011-zurich

Observe Flow with a CFD

Device Management Ike II Cumulative Flow

020406080

100120140160180200220240

Time

Fe

atu

res

Inventory Started Designed Coded Complete

WIP

Avg. Lead Time

Page 43: Kanban explained David Anderson LAS 2011-zurich

Observe Flow with a lead time control chart

Page 44: Kanban explained David Anderson LAS 2011-zurich

Observe Flow with a spectral analysis histogram of lead time

SLA of 51 dayswith 98% on-timea

from mean)

Lead Time Distribution

0

0.5

1

1.5

2

2.5

3

3.5

Days

CR

s &

Bu

gs

Page 45: Kanban explained David Anderson LAS 2011-zurich

Development is a Bottleneck

This is an example of using a model to identify an improvement opportunity

Page 46: Kanban explained David Anderson LAS 2011-zurich

Analysis is overloaded

Analysis suffers from non-instant availability of subject matter experts / business owners

Page 47: Kanban explained David Anderson LAS 2011-zurich

Couple observation of non-instant availability of expertise with visual & quantitative evidence of muri in flow to encourage better availability

Page 48: Kanban explained David Anderson LAS 2011-zurich

Conversation & Leadership

Page 49: Kanban explained David Anderson LAS 2011-zurich

Leadership is the magic ingredient

sprinkle liberally over the 5 seed properties

Page 50: Kanban explained David Anderson LAS 2011-zurich

The WIP limit provokes the conversation

Page 51: Kanban explained David Anderson LAS 2011-zurich

Without a WIP limit the Idle & Stuck comments may never emerge

Page 52: Kanban explained David Anderson LAS 2011-zurich

The team has a choice to break the WIP limit and ignore the issues, or face up to the issues and address them using the models

Page 53: Kanban explained David Anderson LAS 2011-zurich

The WIP limit simply provokes the conversation.

Leadership encourages discussion about improvement. Use of Models and other evidence leads to an improvement suggestion and implementation

Page 54: Kanban explained David Anderson LAS 2011-zurich

Kanban & Emergence

Page 55: Kanban explained David Anderson LAS 2011-zurich

Emergent behavior is seen in nature when systems adapt to unfolding

events and changing circumstances in their surroundings

Page 56: Kanban explained David Anderson LAS 2011-zurich

Often very complex behavior is derived out of system with simple rules. When these rules can change over time, the systems are referred to as

Complex Adaptive Systems

Page 57: Kanban explained David Anderson LAS 2011-zurich

Kanban has been observed to stimulate

emergent behaviors in many organizations

Page 58: Kanban explained David Anderson LAS 2011-zurich

The simple rules of Kanban such as WIP limits,

Cadence, Pull Criteria & Classes of Service, are adaptable over time. Hence, Kanban creates a

Complex Adaptive System within an organization

Page 59: Kanban explained David Anderson LAS 2011-zurich

This explains why Kanban provides a good

mechanism for dealing with

complexity in knowledge work processes

Page 60: Kanban explained David Anderson LAS 2011-zurich

There is a growing list of emergent behaviors observed in practice

1. Process uniquely tailored to each project/value stream

2. Decoupled Cadences (aka Iterationless Development)

3. Work Scheduled by (opportunity) Cost of Delay 4. Value Optimized with Classes of Service5. Risk Managed With Capacity Allocation6. Tolerance for Process Experimentation7. Quantitative Management8. Viral Spread (of Kanban)9. Small teams merged for more liquid labor pools

Page 61: Kanban explained David Anderson LAS 2011-zurich

Typically

No Enterprise Process DefinitionNo "shrink to fit.“Nor is there "stretch to fit.“

The existing process evolves over time and emerges as a new leaner process, based on

simple rules and operational performance models.

Page 62: Kanban explained David Anderson LAS 2011-zurich

Iterationless Flow is a

common motivation for adopting the use of a kanban system

However, it is not core to the Kanban Method for change management

e.g. you can add a kanban system to Scrum and provoke evolutionary change without abandoning

Sprints

Page 63: Kanban explained David Anderson LAS 2011-zurich

A WIP limit on the input queue

focuses attention on what to start next

Provokes focus on value(market payoff function, aka cost of delay

function)

Page 64: Kanban explained David Anderson LAS 2011-zurich

Sketching a market payoff function to visualize cost of delay is easier than asking for an absolute

value

Cost of delay for an online Easter holiday marketing promotion for a hotel chain is visualized as the difference in integral under two curves

Ro

om

Nig

hts

Desired Release Date

Page 65: Kanban explained David Anderson LAS 2011-zurich

Example classes of service

• Expedite• Fixed Delivery Date

– Significant delay incurred on or from a specific date in near future

• Standard Class– (Near) linear cost of delay beginning

immediately

• Intangible Class– No tangible cost of delay within

reasonable lead time to delivery window

Page 66: Kanban explained David Anderson LAS 2011-zurich

Allocate capacity across classes of service mapped against customer demand

5 4 43 2 2= 20 total

Allocation

10 = 50%

...

+1 = +5%

4 = 20%

6 = 30%

InputQueue

DevReady In Prog DoneDoneIn Prog

DevelopmentAnalysis BuildReady Test

ReleaseReady

Page 67: Kanban explained David Anderson LAS 2011-zurich

Quantitative Management where data is used to drive improvement

(change) decisionsLead Time Distribution

0

0.5

1

1.5

2

2.5

3

3.5

Days

CR

s &

Bu

gs

Outliers

Majority of CRs range 30 -> 55

Ignore outliers and makes changes to shorten lead times

on typical (common cause) work

Page 68: Kanban explained David Anderson LAS 2011-zurich

Some early examples of viral spread

1. CorbisProcess team, Dictionary team, BI team, upstream BAs

2. IPC Media5 teams

3. BBCBBC Worldwide 1 to 7 teams, BBC PBS now at least 11

teams

4. VanguardSpread across 4000 person organization

5. ASRFrom 1 team to 18 teams

Page 69: Kanban explained David Anderson LAS 2011-zurich

Merged teams share members across swim lanes

LKBE10

Page 70: Kanban explained David Anderson LAS 2011-zurich

Conclusions

Page 71: Kanban explained David Anderson LAS 2011-zurich

Limiting work-in-progress can

catalyze incremental changes

Page 72: Kanban explained David Anderson LAS 2011-zurich

The team must respect the WIP limit

and value the conversations it provokes about problems

Page 73: Kanban explained David Anderson LAS 2011-zurich

Leadership is the secret sauce! Encourage it from any team member regardless of position, experience or

authority

Page 74: Kanban explained David Anderson LAS 2011-zurich

Arm the team with transparency of

process (visualization of workflow and explicitly stated policies.) Use

models for understanding problems

and improvements will occur.

Page 75: Kanban explained David Anderson LAS 2011-zurich

These improvements will provide

better economic and sociological

outcomes

Page 76: Kanban explained David Anderson LAS 2011-zurich

What emerges is an organization that lives all the pillars of

Lean

Page 77: Kanban explained David Anderson LAS 2011-zurich
Page 79: Kanban explained David Anderson LAS 2011-zurich

http://www.limitedwipsociety.org

Yahoo! Groups: kanbandev

Yahoo! Groups: kanbanops

http://leankanbanuniversity.com

LinkedIn Groups: Software Kanban

Page 80: Kanban explained David Anderson LAS 2011-zurich

About…David Anderson is a thought leader in managing effective software teams. He leads a consulting firm dedicated to improving economic performance of knowledge worker businesses – improving agility, reducing cycle times, improving productivity and efficiency in technology development.

He has 25+ years experience in the software industry starting with computer games in the early 1980’s. He has led software teams delivering superior productivity and quality using innovative agile methods. He developed MSF for CMMI Process Improvement for Microsoft. He is a co-author of the SEI Technical Note, CMMI and Agile: Why not embrace both!

David is the author of 2 books, Agile Management for Software Engineering – Applying the Theory of Constraints for Business Results, and Kanban – Successful Evolutionary Change for your Technology Business.

David is a founder of the Lean Software & Systems Consortium, a not for profit dedicated to promoting greater professionalism and better economic outcomes in our industry. Email… [email protected]