Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ship It Faster With Kanban (PHP Benelux 2015)

Josh Butts
January 24, 2015

Ship It Faster With Kanban (PHP Benelux 2015)

Scrum is so last-decade. The Kanban method for managing software projects lowers the barrier to shipping working code and dramatically reduces the project management overhead for engineers participating in the process. In short, Kanban allows engineers and product groups to deliver value to the business at a very rapid pace, while still maintaining some sanity. Kanban is an excellent complement to the technical aspects of a continuous delivery process. We’ll learn what Kanban means to your team, how to get started transitioning to it, and how to avoid common mistakes.

Josh Butts

January 24, 2015
Tweet

More Decks by Josh Butts

Other Decks in Programming

Transcript

  1. About Me • Over 10 years of “pro” PHP •

    VP of Engineering at Offers.com • Austin PHP organizer • Taught several PHP classes • github.com/jimbojsb @jimbojsb
  2. An abbreviated history of Kanban • Originated inside Toyota manufacturing

    - 1940s • Designed to manage inventory & component production • Inspired by grocery store inventory management • Applied for business / software process by David J. Anderson ~2005-2007
  3. What problems does Kanban Solve? • “Just In Time” production

    • Flow control • Incremental change management • Communication through visualization
  4. 3 fundamental principles of Kanban • Start with what you

    do now • Agree to pursue incremental, evolutionary change • Respect the current process, roles and responsibilities
  5. Start With What You Do Now • You can start

    this today • No sweeping changes • No heartburn for managers • Start with step 0, figure out how to get to step 1
  6. Agree to pursue incremental change • Incremental change lowers resistance

    • Keep building products while you build process • You won’t get it right the first time • Everyone can afford small changes
  7. Respect the current process • Your current process is not

    100% broken (I hope) • People fear change • Gain support, manage expectations • Be aware of emotional resistance
  8. Encourage leadership at all levels • Kanban is about continuous

    improvement (“kaizen”) • Everyone can improve the process • People who execute it daily understand it best • Solicit new ideas from all levels
  9. Plan% Priori)ze% Build% Accept% Release% Plan% Priori)ze% Build% Accept% Release%

    Plan% Priori)ze% Build% Accept% Release% Plan% Priori)ze% Build% Accept% Release% Plan% Priori)ze% Build% Accept% Release% Plan% Priori)ze% Build% Accept% Release% Plan% Priori)ze% Build% Accept% Release% Plan% Priori)ze% Build% Accept% Release%
  10. Visualize the workflow • You need some sort of Kanban

    Board • Can be post-its or notecards • Lots of great software out there • Commit to moving the cards real-time • Communication flows from the board • Honest & Transparent
  11. Kanban Board Basics • Items are “pulled” from left to

    right • Set limits on key columns • Columns are ranked in absolute priority order • If items become blocked, move on to the next one • Everyone can see immediate absolute and relative priority
  12. Mange the Flow • Goal is constant output from the

    process • Watch for bottlenecks • Measure facts of the system • Use metrics to improve choke points • Make policies explicit
  13. Limiting Work-In-Process • Enforce constraints on the length of columns

    • How many tasks can one person actually do • Board must actually reflect status for effective communication
  14. What metrics should you track? • Length of time an

    item is in a given state • Actual time spent on an item • Items exiting the process, per day • Number of blocking or dependent items encountered • Calendar time from beginning to end for items
  15. How to move from Scrum to Kanban? • Keep your

    sprints, but review stories as they are completed • Remove sprint durations • Review progress • Define workflow columns & steps
  16. Kanban enables continuous feature delivery • Features are defined and

    built as incrementally as possible • Automated tests can provide evidence against regressions • Acceptance of a shippable product is done in feature context • When features are accepted, they can ship
  17. Upgrade your infrastructure for added benefits • Strive for a

    one-click deployment • “Hotfixing” is a thing of the past • Ditch your version numbers • Fail Forward • If you can’t deliver code to production fast, you’ve created a bottleneck
  18. Implications on your VCS model • I believe git-flow is

    too heavy for Kanban • Ditch your develop branch • Every item on the board is a feature branch off master • Master is golden • Recommend using a pull request process
  19. Resistance to Kanban • “We already do Scrum, and it

    works fine” • “We can’t enforce deadlines with this” • “But Billy is our scrum master….” • “What about our release manager, what will they do”
  20. Where Kanban may not work • Short client projects with

    one deliverable • Businesses that are driven by hard external deadlines • Software that is hard to release / deploy
  21. Learn From My Mistakes • When we designed our board,

    we had too many columns • Things tend to languish in the middle • It’s easy to fall into a trap of too many “status columns” • Don’t forget to iterate