cox lean and kan ban

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

Upload: dejv

Post on 03-Apr-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 1/55

Agile

© copyright 2011. Net Objectives, Inc.

Lean and Kanban

Michael CoxVice President and Senior Consultant

NetObjectives, [email protected]

Page 2: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 2/55

What is all this Agile stuff about, anyway?” 

“ 

© copyright 2011. Net Objectives, Inc.

Page 3: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 3/55

 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: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 4/55

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: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 5/55

Kanban 

 A management discipline. A constant exercise of matching demand

 with supply, to deliver the right thing atthe right time.

 See also: Visibility, Prioritization, WIPlimits, Pull

© copyright 2011. Net Objectives, Inc.

Page 6: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 6/55

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: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 7/55

AgileAgile is about

Business IterationsnotDevelopmentCycles

© copyright 2011. Net Objectives, Inc.

Page 8: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 8/55

AgilityPredictability

Business ValueRealization

of

© copyright 2011. Net Objectives, Inc.

Page 9: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 9/55

Where did this stuff comefrom?” 

“ 

© copyright 2011. Net Objectives, Inc.

Page 10: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 10/55

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: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 11/55

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 ProductionTechniques & Mindset 

© copyright 2011. Net Objectives, Inc.

Page 12: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 12/55

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: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 13/55

we are alwaysworking with

uncertainty 

© copyright 2011. Net Objectives, Inc.

Page 14: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 14/55

 Lean and  Kanban help

us deal withuncertainty The result is agility 

© copyright 2011. Net Objectives, Inc.

Page 15: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 15/55

 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: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 16/55

thinking

points

Understanding Lean

1. Value from theCustomer’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

© co ri ht 2011. Net Ob ectives Inc.

Page 17: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 17/55

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: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 18/55

Always

7%

Often

13%

Sometimes

16%

Rarely

19%

Never Used45%

Source: Standish Group

Study of 2000 projects at

1000 companies

Usage of Features and

Functions in Typical System

Page 19: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 19/55

Discover incremental

Business Value

Discover how tobuild & implement

it

Realize it

software

product

development

© copyright 2011. Net Objectives, Inc.

Page 20: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 20/55

visualize the entire value stream

© copyright 2011. Net Objectives, Inc.

Page 21: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 21/55

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: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 22/55© copyright 2011. Net Objectives, Inc.

ask S itching and Sched les

Page 23: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 23/55

Project 1

Project 2

Project 3

Month 3Month 2Month 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

ask-Switching and SchedulesLEAN THINKING 

Page 24: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 24/55

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: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 25/55

CycleTime

is Key!© copyright 2011. Net Objectives, Inc.

Page 26: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 26/55

Requirements … 

Decay and 

Lose Valueover time 

© copyright 2011. Net Objectives, Inc.

Page 27: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 27/55

Requirementsare not fully understood even

after a formal sign-off 

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

Page 28: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 28/55

Requirementschange often

during long development cycles

© copyright 2011. Net Objectives, Inc.

Page 29: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 29/55

Requirementspiled on

poorly prioritizedlong delivery cycles

© copyright 2011. Net Objectives, Inc.

Pull

Page 30: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 30/55

PullThe 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

P i i l f L S ft

Page 31: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 31/55

Principles of Lean SoftwareDevelopment 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: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 32/55

kanbanimproves quality and

lowers cost

 by eliminating delays

 by managing WIP

© copyright 2011. Net Objectives, Inc.

K b f S d

Page 33: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 33/55

Workflows can be seen and managed

You can divide the work into small valueadding increments

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

requirement to deployment

Kanban for Systems and

Software

© copyright 2011. Net Objectives, Inc.

K b f S d

Page 34: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 34/55

Kanban for Systems and

SoftwareLimit 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: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 35/55

Bus

Req

Dev.

ready Dev.

Dev.

Comp.

Build

ready TestRelease

ready Stage Prod.

Spec.

Comp.Spec.

5 4 43 2 2

Courtesy Olav Maassen QNH

Blocked

Standard

Defect

Fixed Date

design the kanban board

Page 36: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 36/55

© copyright 2011. Net Objectives, Inc.

Page 37: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 37/55

 

Kanban boards reflect

PriorityWIP

Process

© copyright 2011. Net Objectives, Inc.

Business Value Kanban

Page 38: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 38/55

? ? ? ? ? ? ? ? ? ?

Input Prioritize Sequence /

incrementalTechnical

Analysis Staging Readiness Specify Execute

Deploy &

Ready to UseImplement

10

   E  n  t  r  y

   E  x   i  t

Business Value KanbanBusiness Discovery Business Delivery

© copyright 2011. Net Objectives, Inc.

Page 39: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 39/55

 

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.

K b S

Page 40: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 40/55

Courtesy David Anderson

Kanban Success 

Focus on Quality Reduce WIP

Balance demand against throughput

Prioritize

Page 41: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 41/55

© copyright 2011. Net Objectives, Inc.

Page 42: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 42/55

Stop StartingStart Finishing

David Anderson

and

Pull

Page 43: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 43/55

PullThe 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.

IP Limit

Page 44: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 44/55

IP 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 becompleted and flowed downstream

 In Knowledge Work, complexity grows

exponentially with WIP  © copyright 2011. Net Objectives, Inc.

 asses o erv ce

Page 45: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 45/55

asses o erv ceExpedite

Specific

Delivery Date

Standard Maintenance orBreak-Fix Work 

Standard New orValue-Added Work 

Impediment

Outside

Impact

service level agreements

Development

Story

Red FlagIssue

Policies & SLAs

Page 46: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 46/55

Policies & SLAs

1. Class of Service

2. SLA  3. Blocked Items

4. FIFO

Direct the teamin the priority of processing work items

© copyright 2011. Net Objectives, Inc.

Page 47: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 47/55

Courtesy Olav Maassen QNH

Bus

ReqDev.

ready Dev.

Dev.

Comp.

Build

ready TestRelease

ready Stage Prod.

Spec.

Comp.Spec.

5 4 43 2 2

Blocked

Standard

Defect

Fixed Date

Monitoring flow: Kanban for portfolio

Page 48: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 48/55

Project X

Project Y

Project Z

WIP

Limit

BacklogStatus

Support

ExecuteSpecify

(right size)

Smooth Flow

Done/

Released

4 3

F r  om R  o a d m a  p

Validate

314

o to g o : a ba o po t o o

© copyright 2011. Net Objectives, Inc.

Page 49: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 49/55

0

5

10

15

20

25

30

35

40

0 1 2 3 4 5 6 7 8 9

   n   u   m    b   e   r

   o    f   s   t   o   r   i   e   s

week number

Backlog

Analysis

Implmnt

Test

Done

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

Page 50: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 50/55

0

5

10

15

20

25

30

35

40

0 1 2 3 4 5 6 7 8 9

   n   u   m    b   e   r

   o    f   s   t   o   r   i   e   s

week number

Backlog

Analysis

Implmnt

Test

Done

 

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

Page 51: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 51/55

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 Oldesto Blockedo Class of Serviceo 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.

Getting started with kanban

Page 52: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 52/55

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

g

Kanban

Page 53: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 53/55

KanbanWhat you will see:

• Queues start backing up immediately

following any blockage

• Predictable consequences

• The entire board will slow down as a resultof flow issues

• Teams see issues right away and act

together to fix them

© copyright 2011. Net Objectives, Inc.

Page 54: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 54/55

 Lean and 

 Kanban  Lean is the theory 

Kanban is the approach

 Agile is the result

© copyright 2011. Net Objectives, Inc.

Page 55: Cox Lean and Kan Ban

7/28/2019 Cox Lean and Kan Ban

http://slidepdf.com/reader/full/cox-lean-and-kan-ban 55/55

Questions?