Yes You Kanban!
Join the DZone community and get the full member experience.Join For Free
kanban has been sweeping through the agile software development space leaving many a confused practitioner in its wake. is it hype? or is it a useful tool that we can add to our belts?
here at agile zone we definitely think that kanban is useful, and this morning we launched refcard #109: getting started with kanban for software development .
but before we delve into the why of kanban, let's take a brief look at its roots. kanban traces its history to the the mid-1900's, the birth of lean manufacturing, and the toyota production system. in his 1978 book by the same name, taiichi ohno wrote:
the two pillars of the toyota production system are just-in-time and automation with a human touch, or autonomation. the tool used to operate the system is kanban.
the principal aim of kanban is to enable minimization of work-in-process (wip), or inventory, between coordinating processes in a pull-based production system. an upstream process will only produce "widgets" if they are required by its downstream processes. by pull, we mean that workers downstream withdraw, or pull, the widgets that they need from an upstream store.
minimization of inventory (or wip) is a hallmark of lean thinking, as inventory is considered a key "waste" of any process. managing high amounts of inventory (or wip) increases costs (i.e. warehousing, tracking, loss of value over time, etc.) and hides inefficiencies in the process. by minimizing inventory, we can decrease costs and call attention to process inefficiencies so that they can be improved.
the kanban itself is a signaling device, usually a physical card in a clear plastic envelope, that instructs the moving or creating of parts. the worker wishing to withdraw widgets arrives at the upstream store with a "withdrawal kanban," which indicates precisely the type and quantity of widgets to be withdrawn. he matches this kanban to a "production kanban" on a palate of widgets containing the desired type and quantity. he then exchanges the kanbans, placing the production kanban on a production board to signal more production, and then attaching his withdrawal kanban to the palate. in this way, parts are neither produced or moved without a matching kanban .
so how does this translate into the software development space? kanban finds its way into software development by means of the renewed interest in lean software development, or the application of the principles of lean manufacturing (such as those espoused by the toyota production system) to software development. while the precise mechanisms for kanban implementation differ in software development, the key principles of workflow visualization and limited wip remain the same.
kanban systems typically manifest themselves on whiteboards or card walls quite similar to what you see pictured here:
columns are drawn to indicate the various process stages, and sticky notes representing work items are "pulled" from left to right as they flow through the process. wip limits are attached to each stage, limiting the number of work items that may be in progress in each step.
while it seems incredibly simple (and it is!), the two mechanisms of workflow visualization and limiting wip can provide an incredible catalyst for the optimization of software delivery flow and the birth of a kaizen culture. process bottlenecks and inefficiencies will quickly become visually apparent, and the slack created by limited wip can be used for collaboration around process improvement. limited wip also highly correlates with higher quality and improved predictability. context switching is dramatically reduced, and developers are far less overloaded. furthermore, the team can respond with greater agility to changing priorities and urgent requests.
notice that we have yet to discuss any specific process or practices. software kanban is not itself a process like extreme programming (xp), scrum, or the rational unified process (rup). at its heart, it is a tool for catalyzing and managing change. it is compatible with any methodology. as a matter of fact, the first documented application of kanban to software development was by a team following the team software process (tsp) , hardly recognized as an agile method.
kanban can and has been applied to scrum, often labeled "scrumban," and has been proven by corey ladas and others to help teams struggling with scrum achieve better results (for more on scrumban, see http://leansoftwareengineering.com/ksse/scrum-ban/ ).
and yes, you can apply kanban to your process and reap the same benefits described above. simply map your value stream (the path a work item takes from receipt to delivery, or "from concept to cash" as the poppendiecks have so aptly stated), collaborate with upstream and downstream stakeholders to define wip and other policies you deem necessary, and then create a physical and/or electronic card wall to visualize the system you're trying to control. meet daily around the board to attack problems and impeded work. retrospect regularly on the process itself to escalate efficiency. before you know it, quality will go up, lead times will go down, and everyone will be breathing easier.
thirsty for more? i highly encourage you to download this week's refcard . and if that's still not enough for you, i also highly recommend our refcard co-author's latest book, kanban: successful evolutionary change for your technology business . get a little additional learning under your belt and then go out and give it a try. yes you kanban!
 hiranabe, kenji. kanban applied to software development: from agile to lean. ( http://www.infoq.com/articles/hiranabe-lean-agile-kanban )
 anderson, david. kanban: successful evolutionary change for your technology business . blue hole press, april 2010.
Opinions expressed by DZone contributors are their own.