[heading] - Mattias.pdf

download [heading] - Mattias.pdf

of 43

Transcript of [heading] - Mattias.pdf

  • 7/28/2019 [heading] - Mattias.pdf

    1/43

    Mattias Skarin

    Kanban / Lean coachwww.crisp.se

    Exploring kanban optionsas a Scrum Team

    March 3, 2011

    [email protected]

  • 7/28/2019 [heading] - Mattias.pdf

    2/43

    2

    Kanban

    Signaling systemVisual

    Limited in supply

    Henrik Kniberg

    2

    Visual Card

  • 7/28/2019 [heading] - Mattias.pdf

    3/43

    3

    The Kanban Formula

    2011-03-05

    Mattias Skarin 3

    Y= [D (Tw+Tp) (1+a)] /AY= [D (Tw+Tp) ] /AY= [D (Tw+Tp) (1+a)] /A

    Source: Kaneyoshi Kusunoki

  • 7/28/2019 [heading] - Mattias.pdf

    4/43

    4

    Kanban in SW development

    Backlog Dev Done

    orem ipsum dolorsit amet, co nse

    ctetur

    orem ipsum dolorsit amet, co nse

    cteturorem ipsum dolorsit amet, co nse

    ctetur

    orem ipsum dolorsit amet, co nse

    ctetur

    orem ipsum dolorsit amet, co nse

    ctetur

    UAT Deploy5 3 2 3

    FLOW Avg lead time: days2

    orem ipsum dolorsit amet, co nse

    ctetur

    orem ipsum dolorsit amet, co nse

    ctetur

    orem ipsum dolorsit amet, co nse

    ctetur

    Visualize the workflow

    Limit WIP (work in progress)

    Measure & optimize flow

    Use explicit policies (definition of Done, WIP limits, etc)

    Pioneered byDavid Anderson

    in 2004

    SOLID Happy day DoD!

  • 7/28/2019 [heading] - Mattias.pdf

    5/43

    5

    A view on scrum

    2011-03-05

    Mattias Skarin 5

    Flow

    Cooperation modelContinuous

    improvement

    Prioritize

    .. we can choose to apply a standardized or optimized solution to ourproblem

  • 7/28/2019 [heading] - Mattias.pdf

    6/43

    6

    Scrum cadences

    2011-03-05

    Mattias Skarin 6

    Sprint Sprint

    Release

    Plan

    Retro

  • 7/28/2019 [heading] - Mattias.pdf

    7/43

    7

    Kanban cadences

    2011-03-05

    Mattias Skarin 7

    Plan

    Release

    Kanban Dev Test Build Done!BL

    Improve

  • 7/28/2019 [heading] - Mattias.pdf

    8/43

    8

    More prescriptive More adaptive

    Process tools

    Henrik Kniberg

    8

    XP

    (13)

    Scrum

    (9)

    Kanban

    (4)

    Do Whatever

    (0)

    RUP

    (120+) Architecture Reviewer

    Business Designer Business-Model Reviewer Business-Process Analyst

    Capsule Designer Change Control Manager

    Code Reviewer Configuration Manager

    Course Developer Database Designer

    Deployment Manager Design Reviewer

    Designer Graphic Artist Implementer Integrator

    Process Engineer Project Manager Project Reviewer

    Requirements Reviewer Requirements Specifier

    Software Architect Stakeholder

    System Administrator System Analyst Technical Writer

    Test Analyst Test Designer Test Manager

    Tester Tool Specialist

    User-Interface Designer Architectural analysis

    Assess Viability of architecturalproof-of-concept

    Capsule design Class design

    Construct architectural proof-of-concept

    Database design Describe distribution

    Describe the run-time architecture Design test packages and classes

    Develop design guidelines Develop programming guidelines

    Identify design elements Identify design mechanisms Incorporate design elements

    Prioritize use cases Review the architecture

    Review the design Structure the implementation

    model Subsystem design Use-case analysis Use-case design Analysis model

    Architectural proof-of-concept Bill of materials

    Business architecture document Business case

    Business glossary Business modeling guidelines

    Business object model Business rules

    Business use case

    Whole team Coding standard

    TDD Collective ownership

    Customer tests Pair programming

    Refactoring Planning game

    Continuous integration Simple design

    Sustainable pace Metaphor

    Small releases

    Scrum Master Product Owner

    Team Sprint planning meeting

    Daily Scrum Sprint review

    Product backlogt Sprint backlog

    BUrndown chart

    Visualize the workflow Limit WIP

    Measure and optimize flow Use explicit polices

    Miyamoto Musashi17th century samurai

    Do not develop an attachmentto any one weapon

    or any one school of fighting

    Business use case realization Business use-case model

    Business vision Change request

    Configuration audit findings Configuration management plan

    Data model Deployment model Deployment plan Design guidelines

    Design model Development case

    Development-organizationassessment

    End-user support mateirla Glossary

    Implementation model Installation artifacts

    Integration build plan Issues list

    Iteration assessment Iteration plan

    Manual styleguide Programming guidelines Quality assurance plan Reference architecture

    Release notes Requirements attributes

    Requirementsmanagement plan

    Review record Risk list

    Risk management plan Software architecture

    document Software development

    plan Software requirements

    specification Stakeholder requests Status assessment

    Supplementary businessspecification

    Supplementary specification Target organization assessment Test automation architecture

    Test cases Test environment configuration

    Test evaluation summary Test guidelines Test ideas list

    Test interface specification Test plan Test suite

    Tool guidelines Training materials Use case model

    Use case package Use-case modeling guidelines

    Use-case realization Use-case storyboard

    User-interface guidelines User-interface prototype

    Vision Work order

    Workload analysis model

    Henrik Kniberg, 2009

  • 7/28/2019 [heading] - Mattias.pdf

    9/43

    10

    Lets take a walk..

    2011-03-05

    Mattias Skarin 10

    Productbacklog

    Sprintplanning

    Sprint Demo Retrospective

    Product Owner

    Team

  • 7/28/2019 [heading] - Mattias.pdf

    10/43

    11

    PRODUCT BACKLOG

    The art of delivering value, without being sure

    2011-03-05

    Mattias Skarin 11

  • 7/28/2019 [heading] - Mattias.pdf

    11/43

    12

    Q: Should these patients share the samequeue?

    2011-03-05

    Mattias Skarin 12

  • 7/28/2019 [heading] - Mattias.pdf

    12/43

    13

    Option: Study your demand

    2011-03-05

    Mattias Skarin 13

    Cool Feature $$$

    Infrastructure upgrade

    Annoying customer bug

    Legislation committment

    ProductBacklog

    Unfinished from last sprint

  • 7/28/2019 [heading] - Mattias.pdf

    13/43

    14

    Studying demand in a real team

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    Sprint 1 Sprint 2 Sprint 3 Sprint 4 Sprint 5 Sprint 6 Sprint 7

    Value demand

    Failure Demand

    Average 28 %

    2011-03-05

    Mattias Skarin 14

  • 7/28/2019 [heading] - Mattias.pdf

    14/43

    15

    Option: Optimize on system level

    2011-03-05

    Mattias Skarin 15

    Analysis DevelopmentDesign Test

    Flow, D. Reinertsen, 2008

    Lets do Scrum

    here

  • 7/28/2019 [heading] - Mattias.pdf

    15/43

    17

    Option: Agree on a portfolio strategy for asustainable pace

    2011-03-05

    Mattias Skarin 17

    Feature

    Infrastructure

    Customer bugReady fordev

    Sprint #1 Sprint #3 Sprint #3

    Smooth pace

    WIP = 1/sprint. Do when arrive

    WIP = Fill upto the WIP limit using me

    WIP = 0,5/sprint.A little at a time, continuously

  • 7/28/2019 [heading] - Mattias.pdf

    16/43

    18

    Option: Decentralize decision making

    2011-03-05

    Mattias Skarin 18

    Ready fordev

    Backlog In Dev DoneSupport

    Team

    Key stakeholder

    Product Owner

    Pheew.. Less detailsfor me to worry about

  • 7/28/2019 [heading] - Mattias.pdf

    17/43

    19

    Option: Limit your queues

    2011-03-05

    Mattias Skarin 19

    Late startadvantage!

    Company A

    Company B

  • 7/28/2019 [heading] - Mattias.pdf

    18/43

    20

    PLANNING

    2011-03-05

    Mattias Skarin 20

  • 7/28/2019 [heading] - Mattias.pdf

    19/43

    21

    Respecting WIP, but in different ways

    Henrik Kniberg

    21

    Sprint 1 Sprint 2 Sprint 3 Sprint 4

    Long running task

    Long running task

    Scrum

    Kanban

    WIP limit = 3

    4

    2 1 4

    Velocity = 11

  • 7/28/2019 [heading] - Mattias.pdf

    20/43

    22

    Option: Learn your cycle time to knowwhen you can ship

    2011-03-05

    Mattias Skarin 22

    Backlog Dev Done

    orem ipsum dolorsit amet, co nse

    ctetur

    orem ipsum dolorsit amet, co nse

    ctetur orem ipsum dolorsit amet, co nsectetur

    orem ipsum dolorsit amet, co nse

    ctetur

    orem ipsum dolorsit amet, co nse

    ctetur

    UAT Deploy3 2 3

    oremipsumdolorsit amet, co nse

    ctetur

    orem ipsum dolorsit amet, co nse

    ctetur

    orem ipsum dolorsit amet, co nse

    ctetur

    Free slot

    Cycle time

  • 7/28/2019 [heading] - Mattias.pdf

    21/43

    23

    Option: Lightweight estimation

    23

    SM L

    Hours?Days?

    Weeks?

    S M L

    T-shirt sizing SLA service level agreement

    Example: SLA is 12 days Can we do this item within 12 days?

    If yes:just pull it in. If no: reject it, or break it down, or

    estimate/negotiate

  • 7/28/2019 [heading] - Mattias.pdf

    22/43

    24

    Option: Higher predictability, on whatreally matters

    2011-03-05

    Mattias Skarin 24

    Story

    Story

    Story

    Story

    Story

    Story

    Story

    Story

    Story

    Story

    Story

    Story Story

    Story

    Story

    Story

    Story

    Story

    Time

    Throughput / Velocity

    High

    Medium

    Low

    Predictability

    We have a

    largecoordinationcost

    No estimation,only continuous

    delivery

  • 7/28/2019 [heading] - Mattias.pdf

    23/43

    25

    Big project effect

    2011-03-05

    Mattias Skarin 25

  • 7/28/2019 [heading] - Mattias.pdf

    24/43

    26

    Illusion: Invested sum != money lost

    Mattias Skarin 26

    $

    Project A Project B

    Project Bt + 1Project At + 1

    Product backlog

    Project A

    Project B

    Cost of delay

    $ 1000

    $ 9000

  • 7/28/2019 [heading] - Mattias.pdf

    25/43

    32

    Be careful with scheduling systems

    2011-03-05

    Mattias Skarin 32

    Time is up!Sprint

    Debt

    Debt

    Debt

    Time is up!Time is up!

  • 7/28/2019 [heading] - Mattias.pdf

    26/43

    33

    Option: Release when ready, frequently

    2011-03-05

    Mattias Skarin 33

    Release train

    Is it good? Is it good? Is it good?

    A

  • 7/28/2019 [heading] - Mattias.pdf

    27/43

    35

    IN SPRINT

    2011-03-05

    Mattias Skarin 35

  • 7/28/2019 [heading] - Mattias.pdf

    28/43

    36

    What does your sprint burndown looklike?

    2011-03-05

    Mattias Skarin 36

    A B

  • 7/28/2019 [heading] - Mattias.pdf

    29/43

    37

    Option: Try out WIP limits

    2011-03-05

    Mattias Skarin 37

    To do In Work Done

    oremipsumdolorsit amet, co nse

    ctetur

    [3]

    orem ipsum dolorsit amet, co nse

    ctetur

    oremipsumdolorsit amet, co nse

    ctetur

    Sun

    Rob

    Jane + Bob

    Sprint burndown

  • 7/28/2019 [heading] - Mattias.pdf

    30/43

    38

    Option: Daily standup: Flow over activity

    2011-03-05

    Mattias Skarin 38

    Backlog Dev Done

    orem ipsum dolorsit amet, co nse

    ctetur

    orem ipsum dolorsit amet, co nse

    cteturorem ipsum dolorsit amet, co nse

    ctetur

    orem ipsum dolorsit amet, co nse

    ctetur

    orem ipsum dolorsit amet, co nse

    ctetur

    UAT Deploy5 3 2 3

    oremipsumdolorsit amet, co nse

    ctetur

    orem ipsum dolorsit amet, co nse

    ctetur

    orem ipsum dolorsit amet, co nse

    ctetur

    Team

    1. [Point at story] 2. Anything blocking our flow? 3. Act

  • 7/28/2019 [heading] - Mattias.pdf

    31/43

    39

    TEAMWORK

    2011-03-05

    Mattias Skarin 39

  • 7/28/2019 [heading] - Mattias.pdf

    32/43

    40

    Kanban allows bothspecialists & generalists

    Henrik Kniberg

    40

    Backlog Design

    orem ipsum dolorsit amet, co nse

    ctetur

    Fold Tape

    orem ipsum dolorsit amet, co nse

    ctetur

    orem ipsum dolorsit amet, co nse

    ctetur

    orem ipsum dolorsit amet, co nse

    ctetur

    orem ipsum dolorsit amet, co nse

    ctetur

    orem ipsum dolorsit amet, co nse

    ctetur

    Trim Draw3 2 2 1 4 3

    orem ipsum dolor

    sit amet, co nsectetur orem ipsum dolorsit amet, co nse

    ctetur

  • 7/28/2019 [heading] - Mattias.pdf

    33/43

    41

    Option: Start using existing roles

    2011-03-05

    Mattias Skarin 41

    Analyze Design Code Done!Req

    Architect

    Projectmanager

    Manager

    BusinessAnalyst

    Product owner

    Scrum

    Scrum Master

    Kanban

  • 7/28/2019 [heading] - Mattias.pdf

    34/43

    42

    Option: Expand team concept

    Mattias Skarin

    42

    Concept To Doorem ipsum dolorsit amet, co nse

    ctetur

    In Dev Test

    orem ipsum dolorsit amet, co nse

    ctetur

    orem ipsum dolorsit amet, co nse

    ctetur

    orem ipsum dolorsit amet, co nse

    ctetur

    orem ipsum dolorsit amet, co nse

    ctetur

    orem ipsum dolorsit amet, co nse

    ctetur

    Done Deploy3 2 2 1 4 3

    orem ipsum dolorsit amet, co nse

    cteturorem ipsum dolorsit amet, co nse

    ctetur

    I now seewhats coming!

    We can nowdemo what is blocking

    flow

    Scrum Team

    Sysadmin

    Customerfacing

    We can track ourideas!

    Sprint After sprintBefore sprint

  • 7/28/2019 [heading] - Mattias.pdf

    35/43

    43

    RETROSPECTIVES

    Options to

    2011-03-05

    Mattias Skarin 43

  • 7/28/2019 [heading] - Mattias.pdf

    36/43

    44

    How many residents live here?

    2011-03-05

    Mattias Skarin 44

  • 7/28/2019 [heading] - Mattias.pdf

    37/43

    45

    ..and how many live here?

    2011-03-05

    Mattias Skarin 45

  • 7/28/2019 [heading] - Mattias.pdf

    38/43

    46

    It is important tounderstand the problem

    2011-03-05

    Mattias Skarin 46

  • 7/28/2019 [heading] - Mattias.pdf

    39/43

    47

    Option: Visualize the problem

    2011-03-05

    Mattias Skarin 47

    Team A

    Team B

    Add training Stop half finished work

  • 7/28/2019 [heading] - Mattias.pdf

    40/43

    48

    Option: Quantify the problem

    2011-03-05

    Mattias Skarin 48

    0

    5

    10

    15

    20

    25

    30

    35

    40

    45

    50

    Where could production issues havebeen caught?

  • 7/28/2019 [heading] - Mattias.pdf

    41/43

    49

    Lookback: The Kanban Formula

    2011-03-05

    Mattias Skarin 49

    ?

  • 7/28/2019 [heading] - Mattias.pdf

    42/43

    50

    Every tool needs...

    Mattias Skarin 50

    Direction

    A purpose

    Are you using the toolor is it using you?

    Second Generation Lean

  • 7/28/2019 [heading] - Mattias.pdf

    43/43

    Expand your toolkit!www.crisp.se/utbildning

    Mattias Skarin

    Kanban Training for managers

    June 2-3

    David Anderson

    Second Generation Lean- Learn the economics

    May 12-13

    Don Reinertsen

    Kanban starting points on the web:http://www.crisp.se/kanban

    http://www.limitedwipsociety.com

    Leading Lean Software DevelopmentMay 19-20

    Mary & Tom Poppendieck