lean and kanban - · pdf filemass production management techniques in systems and software...

55
Agile © copyright 2011. Net Objectives, Inc. Lean and Kanban Michael Cox Vice President and Senior Consultant NetObjectives, Inc. [email protected]

Upload: ngocong

Post on 19-Mar-2018

229 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Agile

© copyright 2011. Net Objectives, Inc.

Lean and Kanban

Michael Cox

Vice President and Senior Consultant

NetObjectives, Inc.

[email protected]

Page 2: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

What is all this Agile

stuff about, anyway?” “

© copyright 2011. Net Objectives, Inc.

Page 3: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Lean and Kanban

How do they

compliment each

other?

How do you use them?

Why does it work?

© copyright 2011. Net Objectives, Inc.

Page 4: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Lean

• Value from the customers

perspective

• Identify and eliminate

waste – non value added

activities

• Flow of work at customer

demand

• Continuous improvement © copyright 2011. Net Objectives, Inc.

Page 5: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Kanban A management discipline. A constant exercise of matching demand with supply, to deliver the right thing at the right time.

See also: Visibility, Prioritization, WIP

limits, Pull

© copyright 2011. Net Objectives, Inc.

Page 6: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Agile

Agile is a method that features rapid delivery of

functional product iterations

Relies on immediate customer feedback

Allows for evolving understanding of system

© copyright 2011. Net Objectives, Inc.

Page 7: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Agile Agile is about

Business Iterations

not Development

Cycles © copyright 2011. Net Objectives, Inc.

Page 8: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Agility Predictability

Business Value

Realization

of

© copyright 2011. Net Objectives, Inc.

Page 9: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Where did this stuff come

from?” “

© copyright 2011. Net Objectives, Inc.

Page 10: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

How Did We Get Into This Spot?

Tremendous rise in the standard of living the past 100 years in all developed countries

Rise was largely driven by productivity improvements

– Agricultural up 3 to 5% a year since 1900 50% of workforce in 1900, < 2% today, more production

– Production up by 3% a year since Depression 35% of workforce in 1940, < 15% today, 100x output rise

Basis has been the Invention and Widespread

Adoption of Mass Production Techniques

© copyright 2011. Net Objectives, Inc.

Page 11: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Thought Basis for Current Management

Practices

How Did We Get Into This Spot?

Managing via hierarchy, command and control

Scientific management – the one best way

Economies of scale

Batch production

Lean Principles have generated Lean Practices

Mass Production Techniques & Mindset

© copyright 2011. Net Objectives, Inc.

Page 12: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

How Did We Get Into This Spot?

Mass production management techniques in systems and software development have largely failed

– Documentation = Understanding

– The right tasks, correct pressure - force it to happen

– “If they would freeze requirements, we would be fine”

– “Heroes” called in when program is in real trouble

A dissatisfied customer community has imposed more controls and rigidity

Contractors countered with rigid contracts and change orders to batter the customer with cost and schedule

Product owners were not involved until too late

© copyright 2011. Net Objectives, Inc.

Page 13: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

we are always working with uncertainty

© copyright 2011. Net Objectives, Inc.

Page 14: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Lean and Kanban help us deal with uncertainty

The result is agility

© copyright 2011. Net Objectives, Inc.

Page 15: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Lean suggests limit TIME between steps

time

Kanban suggests

limit # of items

being worked on in

each step

size of queue

© copyright 2011. Net Objectives, Inc.

Page 16: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

thinking points

Understanding Lean

1. Value from the

Customer’s

Perspective

2. Value stream

3. Flow

4. Pull

5. Perfection

• Define the value

• See the value stream

• Flow and where value comes from

• JIT

• Cycle time

• Reduce waste

© copyright 2011. Net Objectives, Inc.

Page 17: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

You cannot build the right thing

if you have not discovered it first!” “

The product owner must own the

definition of value!

© copyright 2011. Net Objectives, Inc.

Page 18: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Always

7%

Often

13%

Sometimes

16%

Rarely

19%

Never Used

45%

Source: Standish Group Study of 2000 projects at 1000 companies

Usage of Features and

Functions in Typical System

Page 19: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Discover incremental

Business Value

Discover how to build & implement

it

Realize it

software

product

development

© copyright 2011. Net Objectives, Inc.

Page 20: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

visualize the entire value stream

© copyright 2011. Net Objectives, Inc.

Page 21: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

The value stream

• Continuous flow of valuable work and features into deployment

• Includes everybody from the customer to operations and support engineers, and not just development

visualize the entire value stream

© copyright 2011. Net Objectives, Inc.

Page 22: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

© copyright 2011. Net Objectives, Inc.

Page 23: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Project 1

Project 2

Project 3

Month 3 Month 2 Month 1 Month 4

Three ways to do three projects

Do one at a time – may not be politically feasible.

Do them all at once, switching between them when delayed waiting for answers

Do them guided by Minimal Marketable Features

Product Development for the Lean Enterprise by Michael Kennedy. Oaklea Press. 2003

Task-Switching and Schedules LEAN THINKING

Page 24: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

DELAY IS hand-offs

bottlenecks

information delay

untested code

unread requirements

transaction related

coordination related

finding

redoing

reworking

waiting

© copyright 2011. Net Objectives, Inc.

Page 25: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Cycle Time is Key!

© copyright 2011. Net Objectives, Inc.

Page 26: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Requirements …

Decay and Lose Value

over time © copyright 2011. Net Objectives, Inc.

Page 27: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Requirements are not fully understood even

after a formal sign-off

the nature of requirements © copyright 2011. Net Objectives, Inc.

Page 28: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Requirements change often

during long development cycles

© copyright 2011. Net Objectives, Inc.

Page 29: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Requirements piled on

poorly prioritized

long delivery cycles

© copyright 2011. Net Objectives, Inc.

Page 30: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Pull The work enters a queue. When someone needs new work, they pull from the queue. The work goes through a number of stages. When the work is done in a stage, it flows down to the next stage. Until it is done.

© copyright 2011. Net Objectives, Inc.

Short Cycle Time

Page 31: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Principles of Lean Software

Development Optimize the Whole

Eliminate Waste

Build Quality In

Deliver Fast

Defer Commitment

Create Knowledge

Empower People

Low Cost

Speed

Quality

© copyright 2011. Net Objectives, Inc.

Page 32: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

kanban improves quality and

lowers cost

by eliminating delays

by managing WIP

© copyright 2011. Net Objectives, Inc.

Page 33: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Workflows can be seen and managed

You can divide the work into small value adding increments

It is possible to develop value-adding increment in a continuous flow, from

requirement to deployment

Kanban for Systems and

Software

© copyright 2011. Net Objectives, Inc.

Page 34: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Kanban for Systems and

Software Limit Work in Process (WIP)

Pull value through

Make it visible

Increase throughput

Prioritized Backlog

Quality is built in

Team continuously monitor and improve

© copyright 2011. Net Objectives, Inc.

Page 35: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Bus

Req Dev.

ready Dev.

Dev.

Comp.

Build

ready Test Release

ready Stage Prod.

Spec.

Comp. Spec.

5 4 4 3 2 2

Courtesy Olav Maassen QNH

Blocked

Standard

Defect

Fixed Date

design the kanban board

Page 36: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

© copyright 2011. Net Objectives, Inc.

Page 37: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Kanban boards reflect

Priority

WIP

Process

© copyright 2011. Net Objectives, Inc.

Page 38: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

? ? ? ? ? ? ? ? ? ?

Input Prioritize Sequence /

incremental

Technical

Analysis Staging Readiness Specify Execute

Deploy &

Ready to Use Implement

10

Entr

y Exit

Business Value Kanban Business Discovery Business Delivery

© copyright 2011. Net Objectives, Inc.

Page 39: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Don’t build features that nobody needs (right now or in some cases, ever)

Don’t write more specs than you can code

Don’t develop more code than you can test

Don’t test more code than you can deploy

© copyright 2011. Net Objectives, Inc.

Page 40: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Courtesy David Anderson

Kanban Success

Focus on Quality

Reduce WIP

Balance demand against throughput

Prioritize

Page 41: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

© copyright 2011. Net Objectives, Inc.

Page 42: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Stop Starting Start Finishing

David Anderson

and

Page 43: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Pull The work enters a queue. When someone needs new work, they pull from the queue. The work goes through a number of stages. When the work is done in a stage, it flows down to the next stage. Until it is done.

© copyright 2011. Net Objectives, Inc.

Page 44: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

WIP Limit… Governs the maximum number of work items that can be in that state at any instant. Below its limit:

Receive a work item from upstream At its limit:

Wait for one of its own items to be completed and flowed downstream

In Knowledge Work, complexity grows exponentially with WIP

© copyright 2011. Net Objectives, Inc.

Page 45: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Classes of Service Expedite

Specific

Delivery Date

Standard Maintenance or

Break-Fix Work

Standard New or

Value-Added Work

Impediment

Outside

Impact

service level agreements

Development

Story

Red Flag

Issue

Page 46: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Policies & SLAs

1. Class of Service

2. SLA

3. Blocked Items

4. FIFO

Direct the team

in the priority of

processing work items

© copyright 2011. Net Objectives, Inc.

Page 47: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Courtesy Olav Maassen QNH

Bus

Req Dev.

ready Dev.

Dev.

Comp.

Build

ready Test Release

ready Stage Prod.

Spec.

Comp. Spec.

5 4 4 3 2 2

Blocked

Standard

Defect

Fixed Date

Page 48: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Project X

Project Y

Project Z

WIP

Limit

Backlog Status

Support

Execute Specify

(right size)

Smooth Flow

Done/

Released

4 3

Fro

m R

oad

map

Validate

3 14

Monitoring flow: Kanban for portfolio

© copyright 2011. Net Objectives, Inc.

Page 49: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

0

5

10

15

20

25

30

35

40

0 1 2 3 4 5 6 7 8 9

nu

mb

er

of

sto

rie

s

week number

Backlog

Analysis

Implmnt

Test

Done

cumulative flow diagram © copyright 2011. Net Objectives, Inc.

Page 50: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

0

5

10

15

20

25

30

35

40

0 1 2 3 4 5 6 7 8 9

nu

mb

er

of

sto

rie

s

week number

Backlog

Analysis

Implmnt

Test

Done

© copyright 2011. Net Objectives, Inc. cumulative flow diagram

Page 51: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Kanban Stand-up Who Talks?

• Only Team members moving stickies across the board! Do This

• Start from the right • Work by the highest priority • Pay attention to:

o Oldest o Blocked o Class of Service o SLA in jeopardy

• Ask o Do we have a bottleneck (congestion or gaps in the

queues)? o Do we have a “blocker” not dealt with? o Are we keeping to our WIP limits? o Are priorities clear?

When done

• Update the board • Remove done items from the board

© copyright 2011. Net Objectives, Inc.

Page 52: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Agree to goals

Map the value stream

Define a set of work item types

Meet with external stakeholders

Create board for tracking

Agree to standup

Agree to operational review

Educate the team

Start doing it

David Anderson. XTC, London 2009, October

Getting started with kanban

Page 53: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Kanban What you will see: • Queues start backing up immediately

following any blockage • Predictable consequences • The entire board will slow down as a result

of flow issues • Teams see issues right away and act

together to fix them

© copyright 2011. Net Objectives, Inc.

Page 54: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Lean and Kanban

Lean is the theory

Kanban is the approach

Agile is the result

© copyright 2011. Net Objectives, Inc.

Page 55: Lean and Kanban - · PDF fileMass production management techniques in systems and software development have largely failed ... Getting started with kanban . Kanban What you will see:

Questions

?