<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Lean Software Engineering &#187; kanban</title>
	<atom:link href="http://leansoftwareengineering.com/category/kanban/feed/" rel="self" type="application/rss+xml" />
	<link>http://leansoftwareengineering.com</link>
	<description>Essays on the Continuous Delivery of High Quality Information Systems</description>
	<lastBuildDate>Fri, 07 Aug 2009 04:07:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A swimlane for ad-hoc workflow</title>
		<link>http://leansoftwareengineering.com/2009/07/01/a-swimlane-for-ad-hoc-workflow/</link>
		<comments>http://leansoftwareengineering.com/2009/07/01/a-swimlane-for-ad-hoc-workflow/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 06:12:40 +0000</pubDate>
		<dc:creator>Corey Ladas</dc:creator>
				<category><![CDATA[kanban]]></category>
		<category><![CDATA[lean]]></category>

		<guid isPermaLink="false">http://leansoftwareengineering.com/?p=1900</guid>
		<description><![CDATA[Swimlanes are used to track parallel work streams within a common resource.  The most typical use might be grouping composite work items with a parent.  Another typical use is an expedited lane for emergency work items that can skip queues and preempt other work.  Swimlanes generally indicate some kind of branching.  That can be either [...]]]></description>
			<content:encoded><![CDATA[<p>Swimlanes are used to track parallel work streams within a common resource.  The most typical use might be grouping composite work items with a parent.  Another typical use is an expedited lane for emergency work items that can skip queues and preempt other work.  Swimlanes generally indicate some kind of branching.  That can be either work item branching or workflow branching.</p>
<p>Kanban systems can be used when the work generally follows some kind of common workflow.  For many software development projects, this is an easy constraint.  Most software involves some kind of problem definition, some kind of design activity, and some kind of verification.  Most software development also involves the use of a limited set of technology applied to a limited set of systems within a limited problem domain, so that most of the work done falls into a few general types.</p>
<p>Most is not all, however, and sometimes work will appear that doesn&#8217;t fit neatly into any well-defined type.  Or maybe it does have a type that we haven&#8217;t defined yet.  If the work is non-value-added, we can chalk it up to overhead.  If the work is value-added, we will want to track it like all of the other value-added work.  A useful trick for managing that kind of work is to reserve a swimlane for ad-hoc workflow:</p>
<p style="text-align: center;"><img class="size-full wp-image-1904 aligncenter" title="adhoc_swimlane" src="http://leansoftwareengineering.com/wp-content/uploads/2009/06/adhoc_swimlane.png" alt="adhoc_swimlane" width="684" height="410" /></p>
<p>If you find yourself using the ad-hoc swimlane frequently, you might want to map the value stream of some of the work items to see if you can discover some latent or emerging workflow.</p>
]]></content:encoded>
			<wfw:commentRss>http://leansoftwareengineering.com/2009/07/01/a-swimlane-for-ad-hoc-workflow/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CONWIP systems</title>
		<link>http://leansoftwareengineering.com/2009/06/28/conwip-systems/</link>
		<comments>http://leansoftwareengineering.com/2009/06/28/conwip-systems/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 05:00:39 +0000</pubDate>
		<dc:creator>Corey Ladas</dc:creator>
				<category><![CDATA[kanban]]></category>
		<category><![CDATA[lean]]></category>
		<category><![CDATA[petri net]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://leansoftwareengineering.com/?p=1751</guid>
		<description><![CDATA[Part 2 of Patterns of Software Engineering Workflow
The simplest kind of kanban system is the CONWIP system, for CONstant Work In Process.  The simplest kind of CONWIP system is no more than our fundamental kanban element:

The simplest CONWIP cardwall is a classic Agile cardwall with a limit on work-in-process:

An equally intuitive interpretation of CONWIP defines [...]]]></description>
			<content:encoded><![CDATA[<p><em>Part 2 of <a href="http://leansoftwareengineering.com/patterns-of-software-engineering-workflow">Patterns of Software Engineering Workflow</a></em></p>
<p>The simplest kind of kanban system is the CONWIP system, for CONstant Work In Process.  The simplest kind of CONWIP system is no more than our fundamental kanban element:</p>
<p style="text-align: center;"><img class="size-full wp-image-1581 aligncenter" title="kanban" src="http://leansoftwareengineering.com/wp-content/uploads/2009/06/kanban.png" alt="kanban" width="394" height="186" /></p>
<p>The simplest CONWIP cardwall is a classic Agile cardwall with a limit on work-in-process:</p>
<p style="text-align: center;"><img class="size-full wp-image-1770 aligncenter" title="conwip" src="http://leansoftwareengineering.com/wp-content/uploads/2009/06/conwip.png" alt="conwip" width="229" height="267" /></p>
<p>An equally intuitive interpretation of CONWIP defines capacity simply as the number of people available to work, so that each person is the kanban:</p>
<p style="text-align: center;"><img class="size-full wp-image-1775 aligncenter" title="manban" src="http://leansoftwareengineering.com/wp-content/uploads/2009/06/manban.png" alt="manban" width="304" height="267" /></p>
<p>CONWIP is a rule about work items, not a rule about workflow.  We are free to define any workflow we like as long as we observe the global limit.  This can be a helpful approach when we want to observe the flow of work, but expect a lot cycling between states, perhaps in an exploratory design mode:</p>
<p style="text-align: center;"><img class="size-full wp-image-1800 aligncenter" title="conwipworkflow" src="http://leansoftwareengineering.com/wp-content/uploads/2009/06/conwipworkflow.png" alt="conwipworkflow" width="445" height="201" /></p>
<p>The <a href="http://leansoftwareengineering.com/2007/10/31/spreadsheet-example-for-a-small-kanban-team/">earliest Scrumban design</a> was just such a CONWIP workflow, which we can represent directly in a simple cardwall.  Here we have no limits on any specific column, but the total number of work items is limited by the yellow kanban cards, which are returned to the &#8220;Free&#8221; box when the task they contained is complete:</p>
<p style="text-align: center;"><img class="size-full wp-image-1798 aligncenter" title="conwip_workflow" src="http://leansoftwareengineering.com/wp-content/uploads/2009/06/conwip_workflow.png" alt="conwip_workflow" width="361" height="295" /></p>
<p style="text-align: left;">Breaking out a workflow implies a sense of sequence.  If there is no real sequence, we could define a global &#8220;busy&#8221; state and reduce specific activities to a checklist.  Exposing the workflow to visual control might suggest a need to level resource utilization or that we value reducing backflows as an improvement goal.  Pooling the WIP limit suggests that the visual control is enough feedback to help the team achieve leveling.  My personal preference is to work in this way where possible.</p>
<p>If a person can be the kanban, then how about a pair?  If we combine pairing and kanban with a workflow or checklist, then we get something like Arlo Belshee&#8217;s <a href="http://aaron.sanders.name/agile/naked-planning-explained-kanban-in-the-small">Naked Planning</a>:</p>
<p style="text-align: center;"><object width="512" height="322" data="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.40" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="AllowScriptAccess" value="always" /><param name="bgcolor" value="#000000" /><param name="flashVars" value="id=6801952&amp;vid=2150754&amp;lang=en-us&amp;intl=us&amp;thumbUrl=http%3A//l.yimg.com/a/p/i/bcst/videosearch/2160/59816180.jpeg&amp;embed=1" /><param name="src" value="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.40" /><param name="flashvars" value="id=6801952&amp;vid=2150754&amp;lang=en-us&amp;intl=us&amp;thumbUrl=http%3A//l.yimg.com/a/p/i/bcst/videosearch/2160/59816180.jpeg&amp;embed=1" /><param name="allowfullscreen" value="true" /></object></p>
<p>I think the most interesting kind of CONWIP system is the Bucket Brigade. Everybody is allowed one card at a time, which can either be moving upstream or downstream. People can either pair (at the cost of some queueing) or work solo as much as they prefer.  Constant WIP, zero queueing, full utilization, soft specialization, balanced workflow&#8230;what&#8217;s not to love?</p>
<p style="text-align: center;"><img class="size-full wp-image-1401" src="http://leansoftwareengineering.com/wp-content/uploads/2009/05/bucket_brigade.png" alt="" height="304" /><img src="http://leansoftwareengineering.com/wp-content/uploads/2009/06/bucket_brigade_cardwall.png" alt="" /></p>
<p style="clear:both">The <a href="http://leansoftwareengineering.com/wp-content/uploads/2009/05/bucket_brigade.xml">model</a> can be edited and simulated in <a href="http://pipe2.sourceforge.net/">PIPE2</a>.</p>
<p>If we can assign tasks and limit work by pairs, then why not do this with whole teams?  That is essentially the approach of Microsoft&#8217;s <a href="http://blogs.msdn.com/teams_wit_tools/archive/2008/04/03/how-microsoft-devdiv-uses-tfs-chapter-2-feature-crews.aspx">Feature Crews</a> with their quality gates.</p>
<p style="text-align: center;"><img src="http://leansoftwareengineering.com/wp-content/uploads/2009/04/feature_crews.png" alt="" /></p>
<p>Some value streams are too long or too complex to effectively manage with a single WIP limit.  Many development teams exist within some larger organization that requires coordination between teams and competition for resources.</p>
<p>Where do features come from?  Smaller shops may interact directly with the customer, but larger shops may have a more complex process for dealing with a large number of customers or with highly sensitive customers. If we peer inside the black box of the Product Owner, we might discover a whole team of people working to understand customers and define requirements: business analysts, product managers, usability researchers, product designers. Work-in-process on the business analysis side can just as easily go off the rails as development work.  Have you ever seen an epic requirements specification or a bottomless product backlog and wondered where it came from?  Your product owner might represent another group of people who feel pressure to produce and look busy.  Value stream thinking encourages us to take an interest in what those people are up to and why.</p>
<p>Where do features go after we&#8217;ve built them?  A large enterprise may have complex deployment requirements that involve integrating code into a manufacturing process or provisioning a datacenter.  This work probably involves a different team than the development team, but they are still part of the value stream and their throughput affects everybody.  Operations teams often have to deal with long lead times and different natural batch sizes than the development teams that feed them.  Each group can benefit from understanding the status and availability of the other.</p>
<p>A small team may be able to self-regulate with visual control, but a long value stream may need more explicit control.  Kanban gives us an easy solution by chaining together pooled segments.  Within each segment, we manage by visual control, but between segments, we manage by kanban:</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1852" title="pooled_wip_pn" src="http://leansoftwareengineering.com/wp-content/uploads/2009/06/pooled_wip_pn.png" alt="pooled_wip_pn" width="734" height="605" /></p>
<p>CONWIP systems allow us to regulate team workflow with a lighter touch.  Pooling kanban across closely related functions and zooming out by one level of scale makes it easier to think about using kanban to manage large systems.</p>
]]></content:encoded>
			<wfw:commentRss>http://leansoftwareengineering.com/2009/06/28/conwip-systems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Patterns of software engineering workflow (part 1)</title>
		<link>http://leansoftwareengineering.com/2009/06/08/workflow-patterns/</link>
		<comments>http://leansoftwareengineering.com/2009/06/08/workflow-patterns/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 07:00:41 +0000</pubDate>
		<dc:creator>Corey Ladas</dc:creator>
				<category><![CDATA[kanban]]></category>
		<category><![CDATA[lean]]></category>
		<category><![CDATA[design pattern]]></category>
		<category><![CDATA[petri net]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://leansoftwareengineering.com/?p=1431</guid>
		<description><![CDATA[Part 1 of a three-part series
Any kanban-controlled workflow system can be described by combinations and variations1 of a basic pattern:

Sometimes we can simplify the diagram by replacing the kanban backflow with a simple capacity parameter2, but often it is better to show the flow of kanban explicitly.  Many of the software development kanban systems we&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p><em>Part 1 of a <a href="http://leansoftwareengineering.com/patterns-of-software-engineering-workflow">three-part series</a></em></p>
<p>Any kanban-controlled workflow system can be described by combinations and variations<sup>1</sup> of a basic pattern:</p>
<p style="text-align: center;"><img class="size-full wp-image-1495 aligncenter" style="border: 0pt none;" title="kanban" src="http://leansoftwareengineering.com/wp-content/uploads/2009/06/kanban.png" alt="kanban" width="394" height="186" /></p>
<p>Sometimes we can simplify the diagram by replacing the kanban backflow with a simple capacity parameter<sup>2</sup>, but often it is better to show the flow of kanban explicitly.  Many of the software development kanban systems we&#8217;ve seen are simple workflow systems composed by chaining this basic element:</p>
<p style="text-align: center;"><img class="size-full wp-image-1500 aligncenter" title="workflow" src="http://leansoftwareengineering.com/wp-content/uploads/2009/06/workflow.png" alt="workflow" width="566" height="170" /></p>
<p>I would like to think that any professional software engineer would be able to think up more interesting workflows than just a linear cascade.  Then again, I would also like to think that any professional software engineer would understand the value of keeping things simple.  I have personally come to prefer a more symmetrical call-stack style of flow for software development, because I believe that any person who requests custom work should also be responsible for approving the completion of that work. Consumers pull value from producers, not the other way around:</p>
<p style="text-align: center;"><img class="size-full wp-image-1561 aligncenter" title="symmetric-workflow" src="http://leansoftwareengineering.com/wp-content/uploads/2009/06/symmetric-workflow.png" alt="symmetric-workflow" width="558" height="216" /></p>
<p>Petri nets are ideal for describing workflow systems because they are a) concurrent; b) formal, simulable, and sometimes even verifiable; and c) relatively easy to read by humans.  <strong>Any Petri net that can be drawn without crossing edges can easily be made into a &#8220;card wall&#8221; for visual control</strong><sup>3</sup>:</p>
<p style="text-align: center;"><img class="size-full wp-image-1585 aligncenter" title="cardwall" src="http://leansoftwareengineering.com/wp-content/uploads/2009/06/cardwall.png" alt="cardwall" width="532" height="343" /></p>
<p>Sometimes a different workflow is needed, depending on the kind of thing being made:</p>
<p style="text-align: center;"><img class="size-full wp-image-1546 aligncenter" title="or-branch" src="http://leansoftwareengineering.com/wp-content/uploads/2009/06/or-branch.png" alt="or-branch" width="476" height="178" /></p>
<p>Some tasks can be done in parallel by specialized resources:</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1517" title="and-branch" src="http://leansoftwareengineering.com/wp-content/uploads/2009/06/and-branch.png" alt="and-branch" width="664" height="222" /></p>
<p>When we split tokens, we may need to keep track of their common ancestor so that we can merge them again.  Colored Petri nets let us associate composite work items across branches:</p>
<p style="text-align: center;"><img class="size-full wp-image-1525 aligncenter" title="color" src="http://leansoftwareengineering.com/wp-content/uploads/2009/06/color.png" alt="color" width="263" height="148" /></p>
<p>Sometimes a large work item can be decomposed into smaller work items of a similar type.  We might think of a branching workflow to model this, but that is hard to do if we don&#8217;t know how many component work items will be created.  Petri nets allow us to take another approach by generating new tokens in-place and then executing them concurrently on the same workflow branch:</p>
<p style="text-align: center;"><img class="size-full wp-image-1551 aligncenter" title="decompose" src="http://leansoftwareengineering.com/wp-content/uploads/2009/06/decompose.png" alt="decompose" width="442" height="158" /></p>
<p>When all of the unit work items are complete, they are integrated into their parent work item:</p>
<p style="text-align: center;"><img class="size-full wp-image-1553 aligncenter" title="compose" src="http://leansoftwareengineering.com/wp-content/uploads/2009/06/compose.png" alt="compose" width="355" height="126" /></p>
<p>While that might look a little complicated, in practice it&#8217;s as simple as the &#8220;2-tier&#8221; style (or n-tier) cardwall that is often used for project management:</p>
<p style="text-align: center;"><img class="size-full wp-image-1593 aligncenter" title="cardwall2" src="http://leansoftwareengineering.com/wp-content/uploads/2009/06/cardwall2.png" alt="cardwall2" width="684" height="343" /></p>
<p>A state transition is a black box that may have some internal process.  We might expose that process with a hierarchical model.  Alternately, we might want to collapse extraneous diagram detail into a single supertransition.  Hierarchy is a simple syntax extension to any workflow model.</p>
<p>Feedback should be considered implicit to any creative process, but it can complicate these models without much benefit to understanding<sup>4</sup>.  In practice, kanban systems regulate feedback very well, because the limits serve as a ratchet function that gracefully responds to feedback and damps oscillation.  A process operating at capacity will not accept new work, and a process operating over capacity will also not accept new work.  Again, it&#8217;s awkward to model &#8220;over capacity&#8221; so we have to be mindful to treat our models for what they are: models.</p>
<p>Once we understand some of these basic design elements, we can use them to describe or design a wide variety of product development processes.  A computer scientist armed with Petri nets and a bit of knowledge about queueing, networks, and processor scheduling has some wicked tools at his disposal for Value Stream Analysis.</p>
<hr />1. Some variations involve rules about queue placement and timing of the kanban backflow.  GKCS and EKCS are examples in the literature.  I wrote about some of that <a href="http://leansoftwareengineering.com/2008/06/20/completion-queue-as-incremental-throttle/">here</a>.<br />
2. Whether or not you can simplify in this way depends on which queuing rules are used.<br />
3. I debated using the blink tag for this point.<br />
4. You can usually cheat by adding an &#8220;escape&#8221; transition to send all feedback to the beginning of the model and allow it to repropagate downstream without friction.  Feedback is easier to account for in matrix representations than in graphic representations.  Feedback in a dependency matrix looks like row elements or &#8220;rabbit ears&#8221; on the &#8220;wrong&#8221; side of the diagonal.</p>
]]></content:encoded>
			<wfw:commentRss>http://leansoftwareengineering.com/2009/06/08/workflow-patterns/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Make a place for good things to happen</title>
		<link>http://leansoftwareengineering.com/2009/06/03/make-a-place-for-good-things-to-happen/</link>
		<comments>http://leansoftwareengineering.com/2009/06/03/make-a-place-for-good-things-to-happen/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 20:00:28 +0000</pubDate>
		<dc:creator>Corey Ladas</dc:creator>
				<category><![CDATA[kanban]]></category>
		<category><![CDATA[lean]]></category>
		<category><![CDATA[checklist]]></category>
		<category><![CDATA[inspection]]></category>
		<category><![CDATA[retrospective]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://leansoftwareengineering.com/?p=1394</guid>
		<description><![CDATA[Motherhood and apple pie
A staple of software engineering research is the effectiveness of design reviews and code inspections for discovering defects.  Methodologists love inspections, but they seem to be difficult to sustain in practice.  I&#8217;ve seen a few typical reasons for this:

Inspection is a specific skill that requires training and discipline.  Naive, unstructured &#8220;code [...]]]></description>
			<content:encoded><![CDATA[<h4>Motherhood and apple pie</h4>
<p>A staple of software engineering research is the effectiveness of design reviews and code inspections for discovering defects.  Methodologists love inspections, but they seem to be difficult to sustain in practice.  I&#8217;ve seen a few typical reasons for this:</p>
<ol>
<li>Inspection is a specific skill that requires training and discipline.  Naive, unstructured &#8220;code review&#8221; is worse than useless and eventually self-destructs.</li>
<li>Inspection is quick to be dropped under acute schedule pressure, and slow to restart as a habit once it has been broken.</li>
<li>Inspection works well for frequent small batches and badly for infrequent large batches.</li>
</ol>
<p>Reason 1 is a matter of skill, and can be solved with education.  Reasons 2 and 3 are process issues.</p>
<p>The &#8220;inspection gap&#8221; illustrates a curious aspect of human nature.  There are certain behaviors that a group of people will agree should be practiced by its members.  Individual members of the group, when asked, will say that they believe that members of the group should practice the behavior.  But then, in practice, those same individuals do not practice that behavior or practice it inconsistently.  If you point this out to them, they may agree that they should do it, or even apologize for not doing it, and then continue to not do it anyway.</p>
<p>In my mind, this is a good part of what Lean thinking has to offer.  Lean methods like Visual Control recognize this aspect of human nature and provide people with enough structure and context to act in a way that is consistent with their own beliefs.  If people using a Lean process agree that code inspections are a good idea, then it will not be hard to get them to agree to incorporate inspections into the process in a way that is hard to neglect.  Lean strives to make it easier to do the right thing than do the wrong thing.  Lean helps people align their actions with their values.</p>
<h4>Checklists</h4>
<p>One practice that works well in most workflow systems is the simple checklist.  Human attention is a delicate thing.  People get distracted, make mistakes, and overlook things even when they know better. A checklist is a simple device to keep your intentions aligned with your actions. Doctors who use checklists deliver <a href="http://www.boston.com/news/health/blog/2009/01/use_of_simple_o.html">dramatically improved patient outcomes</a>.  Would you get on an airliner with a pilot who didn&#8217;t use a pre-flight checklist?  Would you get on an airliner controlled by software that was written without using checklists?</p>
<p>Checklists and kanban are highly complementary because you can attach a checklist directly to a kanban ticket and make the checklist part of the completion transaction.  Checklists improve confidence and trust, and expose tacit knowledge.  Checklists relieve anxiety and reduce fear.  Can you think of any part of your development process where you&#8217;d sleep better at night knowing that all of the important questions were answered correctly by somebody you trust?</p>
<h4>Workflow</h4>
<p>Checklists work well for individual activities that do not require specific sequencing, but they don&#8217;t work as well for activities that require collaboration from people who have competing commitments.  We can raise the stakes for everybody if we elevate our checklist item to the workflow and subject it to the pull discipline.  That makes your problem everybody&#8217;s problem and gives your peers sufficient incentive to collaborate.</p>
<p>Inspections are a typical example at the scale of a single developer, but there are other practices and scales that we might consider.  <a href="http://en.wikipedia.org/wiki/Failure_mode_and_effects_analysis">Failure Mode and Effects Analysis</a> (FMEA) is another highly effective technique that many people agree with in principle but find difficult to implement in practice.  FMEA is a systemic method and often targets components or subsystems that are much larger than &#8220;user story&#8221; scope .  Security lifecycle and regulatory compliance activities may also fall into this category.  An advantage of using <a href="http://leansoftwareengineering.com/wp-content/uploads/2009/04/kanban_matrix.png">composite workflow</a> is that you can schedule activities that apply to different scales of work.</p>
<p>Process retrospectives can also be attached to workflow in this way.  Compared to a more open-ended periodic retrospective, a workflow-bound retrospective asks a more specific question:  <em>How could we have created this work product more effectively?</em> Such a workflow-based retrospective directly implements Deming&#8217;s Plan-Do-Study-Act cycle.</p>
<p>Are there any practices you would like to see your team use consistently, but have trouble fitting in to your schedule?</p>
]]></content:encoded>
			<wfw:commentRss>http://leansoftwareengineering.com/2009/06/03/make-a-place-for-good-things-to-happen/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Shingo on cargo cult kanban</title>
		<link>http://leansoftwareengineering.com/2009/05/27/shingo-on-cargo-cult-kanban/</link>
		<comments>http://leansoftwareengineering.com/2009/05/27/shingo-on-cargo-cult-kanban/#comments</comments>
		<pubDate>Wed, 27 May 2009 14:40:02 +0000</pubDate>
		<dc:creator>Corey Ladas</dc:creator>
				<category><![CDATA[kanban]]></category>
		<category><![CDATA[lean]]></category>

		<guid isPermaLink="false">http://leansoftwareengineering.com/?p=1376</guid>
		<description><![CDATA[


What is the Toyota Production System?  When asked this question most people (80 percent) will echo the view of the average consumer and say: &#8220;It&#8217;s a kanban system&#8221;;  another 15 percent may actually know how it functions in the factory and say: &#8220;It&#8217;s a production system&#8221;; only a very few (5 percent) really [...]]]></description>
			<content:encoded><![CDATA[<table>
<tr>
<td>
<em>What is the Toyota Production System?  When asked this question most people (80 percent) will echo the view of the average consumer and say: &#8220;It&#8217;s a kanban system&#8221;;  another 15 percent may actually know how it functions in the factory and say: &#8220;It&#8217;s a production system&#8221;; only a very few (5 percent) really understand its purpose and say: &#8220;It&#8217;s a system for the absolute elimination of waste.&#8221;</p>
<p>Some people imagine that Toyota has put on a smart new set of clothes, the kanban system, so they go out and purchase the same outfit and try it on.  They quickly discover that they are much too fat to wear it!  They must eliminate waste and make fundamental improvements in their production systems before techniques like kanban can be of any help.  The Toyota production system is 80 percent waste elimination, 15 percent production system, and only 5 percent kanban.</p>
<p>This confusion stems from a misunderstanding of the relationship between basic principles of production at Toyota and kanban <strong>as a technique</strong> to help implement those principles.</em></p>
<p>&#8211; Shigeo Shingo, <a href="http://www.amazon.com/Study-Toyota-Production-System-Engineering/dp/0915299178/">A Study of the Toyota Production System</a>
</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://leansoftwareengineering.com/2009/05/27/shingo-on-cargo-cult-kanban/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>More conference coverage</title>
		<link>http://leansoftwareengineering.com/2009/05/13/more-conference-coverage/</link>
		<comments>http://leansoftwareengineering.com/2009/05/13/more-conference-coverage/#comments</comments>
		<pubDate>Wed, 13 May 2009 21:59:20 +0000</pubDate>
		<dc:creator>Corey Ladas</dc:creator>
				<category><![CDATA[kanban]]></category>
		<category><![CDATA[lean]]></category>

		<guid isPermaLink="false">http://leansoftwareengineering.com/?p=1355</guid>
		<description><![CDATA[
Alisson Vale has another take on the events of the Lean/Kanban 2009 conference.  Alisson&#8217;s demo was quite amazing, BTW.
Conference summaries from John Heintz and Dean Leffingwell, courtesy of The Agile Executive.
Alan Shalloway:  Lean Kanban 2009 &#8211; Wow!

]]></description>
			<content:encoded><![CDATA[<ul>
<li>Alisson Vale has <a href="http://alissonvale.com/englishblog/post/Inside-the-Lean-Kanban-Conference.aspx">another take</a> on the events of the Lean/Kanban 2009 conference.  Alisson&#8217;s demo was quite amazing, BTW.</li>
<li>Conference summaries from <a href="http://theagileexecutive.com/2009/05/11/john-heintz-on-the-lean-kanban-2009-conference/">John Heintz</a> and <a href="http://theagileexecutive.com/2009/05/09/dean-leffingwell-on-the-lean-kanban-2009-conference/">Dean Leffingwell</a>, courtesy of<a href="http://theagileexecutive.com"> The Agile Executive</a>.</li>
<li>Alan Shalloway:  <a href="http://www.netobjectives.com/Lean+Kanban+Conference+2009">Lean Kanban 2009 &#8211; Wow!</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://leansoftwareengineering.com/2009/05/13/more-conference-coverage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kanban makes SPC easy!</title>
		<link>http://leansoftwareengineering.com/2009/05/12/kanban-makes-spc-easy/</link>
		<comments>http://leansoftwareengineering.com/2009/05/12/kanban-makes-spc-easy/#comments</comments>
		<pubDate>Tue, 12 May 2009 20:38:00 +0000</pubDate>
		<dc:creator>Corey Ladas</dc:creator>
				<category><![CDATA[kanban]]></category>
		<category><![CDATA[lean]]></category>

		<guid isPermaLink="false">http://leansoftwareengineering.com/?p=1360</guid>
		<description><![CDATA[I&#8217;ve talked a bit before about how kanban systems facilitate basic Statistical Process Control by creating an event-rich environment that produces meaningful and timely data about team performance.  Benjamin Mitchell has written a helpful article on using control charts to understand variation in user story completion using a kanban system.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve talked a bit before about how kanban systems facilitate basic Statistical Process Control by creating an event-rich environment that produces meaningful and timely data about team performance.  Benjamin Mitchell has written a helpful article on <a href="http://benjaminmitchell.blogspot.com/2009/05/control-capability-charts-on-kanban.html">using control charts to understand variation in user story completion</a> using a kanban system.</p>
]]></content:encoded>
			<wfw:commentRss>http://leansoftwareengineering.com/2009/05/12/kanban-makes-spc-easy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Obligatory conference post</title>
		<link>http://leansoftwareengineering.com/2009/05/06/obligatory-conference-post/</link>
		<comments>http://leansoftwareengineering.com/2009/05/06/obligatory-conference-post/#comments</comments>
		<pubDate>Thu, 07 May 2009 02:17:16 +0000</pubDate>
		<dc:creator>Corey Ladas</dc:creator>
				<category><![CDATA[kanban]]></category>
		<category><![CDATA[lean]]></category>

		<guid isPermaLink="false">http://leansoftwareengineering.com/?p=1351</guid>
		<description><![CDATA[I&#8217;m at the Lean&#38;Kanban conference in Miami.  Mike Cottmeyer has done a nice play-by-play of the conference so far.  Overall, I thought today&#8217;s speakers were very good.
I should be more enthusiastic, but I bit down on a stone in my food and broke a tooth yesterday.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m at the Lean&amp;Kanban conference in Miami.  <a href="http://www.leadingagile.com">Mike Cottmeyer</a> has done a nice play-by-play of the conference so far.  Overall, I thought today&#8217;s speakers were very good.</p>
<p>I should be more enthusiastic, but I bit down on a stone in my food and broke a tooth yesterday.</p>
]]></content:encoded>
			<wfw:commentRss>http://leansoftwareengineering.com/2009/05/06/obligatory-conference-post/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Three ways to go about queue sizing</title>
		<link>http://leansoftwareengineering.com/2009/04/09/three-ways-to-go-about-queue-sizing/</link>
		<comments>http://leansoftwareengineering.com/2009/04/09/three-ways-to-go-about-queue-sizing/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 20:48:10 +0000</pubDate>
		<dc:creator>Corey Ladas</dc:creator>
				<category><![CDATA[kanban]]></category>
		<category><![CDATA[lean]]></category>

		<guid isPermaLink="false">http://leansoftwareengineering.com/?p=1314</guid>
		<description><![CDATA[
Start every limit at 1.  Add tokens 1 at a time until one person is always busy, then apply Theory of Constraints.
Start every limit at an arbitrarily large value, like 10.  Subtract tokens 1 at a time until flow is observed.  Then start looking for a way to remove 1 more.
Create a Value Stream Map [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>Start every limit at 1.  Add tokens 1 at a time until one person is always busy, then apply <a href="http://en.wikipedia.org/wiki/Theory_of_Constraints">Theory of Constraints</a>.</li>
<li>Start every limit at an arbitrarily large value, like 10.  Subtract tokens 1 at a time until flow is observed.  Then start looking for a way to remove 1 more.</li>
<li>Create a <a href="http://en.wikipedia.org/wiki/Value_Stream_Mapping">Value Stream Map</a> and measure the time-on-task distribution of each activity. Use <a href="http://en.wikipedia.org/wiki/Little%27s_law">Little&#8217;s Law</a> to calculate the corresponding queue sizes.</li>
</ol>
<p>Notice that &#8220;match the number of people currently available&#8221; is not one of the ways.  You&#8217;re trying to discover how many people you <strong>need</strong> not how many you <strong>have</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://leansoftwareengineering.com/2009/04/09/three-ways-to-go-about-queue-sizing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Feature Crews: kanban systems for software engineering in the large</title>
		<link>http://leansoftwareengineering.com/2009/04/07/feature-crews/</link>
		<comments>http://leansoftwareengineering.com/2009/04/07/feature-crews/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 06:30:38 +0000</pubDate>
		<dc:creator>Corey Ladas</dc:creator>
				<category><![CDATA[kanban]]></category>
		<category><![CDATA[lean]]></category>
		<category><![CDATA[feature crew]]></category>

		<guid isPermaLink="false">http://leansoftwareengineering.com/?p=1212</guid>
		<description><![CDATA[
.par { display: table }
h4 { padding-bottom: 1em }

The Feature Crew process was originally developed at Microsoft for managing the Office development program, and has since spread to other parts of the company. Feature Crew is an iterative process which has some resemblance to other contemporary iterative processes like those of the Agile family. Like [...]]]></description>
			<content:encoded><![CDATA[<style>
.par { display: table }
h4 { padding-bottom: 1em }
</style>
<div class="par">The Feature Crew process was originally developed at Microsoft for managing the Office development program, and has since spread to other parts of the company. Feature Crew is an iterative process which has some resemblance to other contemporary iterative processes like those of the Agile family. Like most things from Microsoft, Feature Crews evolved independently in order to meet the distinct requirements of a sprawling project like Office. Consequently, some of the concerns and practices of the Feature Crew model are different from common Agile practice.</p>
<p class="par">The Feature Crew model is important to the Lean software development discussion because it is another major variety of kanban system, and is probably the most successful application of pull scheduling in software engineering to date.  Feature Crews are a strong and direct expression of the Lean principles of <em>pull, flow, </em>and <em>value</em>.</div>
<div class="par">
<h4>Features</h4>
<p>Value is represented in Feature Crews by the <em>feature</em>. A feature is roughly defined as a unit of customer-valued functionality that can be built and fully integrated within an interval of a few weeks. The feature is the fundamental unit of scheduling in Feature Crews. Features are generally derived from a user-centered analysis practice like Personas/Scenarios, and they should be bundled into customer- and business-valued packages for integration and deployment. Defined in this way, features are roughly equivalent to the <a href="http://www.softwarebynumbers.org/">Minimum Marketable Feature</a> (MMF) concept. Personally, I define features exactly as MMFs and therefore I define:</p>
<p style="padding-left: 30px;"><em>The Feature Crew process is a one-piece-flow pull system for Minimum Marketable Features.</em></p>
</div>
<h4>Feature Crews</h4>
<p>The namesake attribute of a Feature Crew is the cross-functional workcell. A crew should contain most of the capability that it needs to fully specify, design, verify, and integrate a complete product feature. Typically that means a Program Manager (in the Microsoft sense of the title), a handful of developers, and a couple of testers. Depending on the type of feature, there may also be a product designer or other specialist, but we&#8217;ll see how such a resource might be shared across workcells.</p>
<h4>Branch-by-Feature</h4>
<p>One of the primary problems that Feature Crews address is the difficulty of maintaining the integrity of very large code bases under development (imagine 1000 developers coding against a 10,000,000 line system). FC poses the problem as the tension between a) keeping the main branch as current as possible, and b) keeping the main branch as robust as possible. The FC solution is to make features an atomic transaction. A feature is either 0% complete or 100% complete, and a feature is not 100% complete until it can be demonstrated that it satisfies the same quality criteria as the rest of the main branch.</p>
<p>Features-in-process are not allowed on the main branch. The FC alternative is branch-by-feature. A crew takes a branch when it takes possession of the feature kanban. The crew is responsible for forward-integrating any changes that are checked into main while their feature is in process. That is, if another crew integrates and breaks your feature-in-process, it&#8217;s your responsibility, not theirs. When your feature is finally complete AND you have integrated with all changes on main AND you pass all of the quality gates, THEN you can reverse integrate your feature into the main branch, and everybody else will have to forward integrate your changes.</p>
<p style="text-align: center;"><img src="http://leansoftwareengineering.com/wp-content/uploads/2009/04/branch_by_feature.png" /></p>
<p>From a Lean perspective, even without the scale issue, there is an argument to be made for atomic MMFs and branch-by-feature. MMFs are business-valued. User stories are merely user-valued. Customers demand features. Users merely request them. Allowing features-in-process on the main branch exposes the product to inventory and market risk. A Lean deployment model should be transactional at the granularity of business value, not user value. The purpose of the MMF practice is to bring those values as close together as possible.</p>
<div class="par">
<h4>One Feature, One Crew</h4>
<p><img src="http://leansoftwareengineering.com/wp-content/uploads/2009/04/feature_crews.png" style="float:right" />A feature is an atomic customer-valued work item (value). A Feature Crew is a dedicated cross-functional team (flow). We need one more thing to implement pull, a rule: <em>One Feature, One Crew</em>. A Feature Crew works on one and only one feature until the feature is fully integrated into the main branch. When such a feature is finally accepted, then capacity becomes available to begin another feature. Such a rule about the relationship between work-in-process and available resources is a kanban rule, thus Feature Crew is a kanban system, where each token represents the capacity of one workcell and is exchanged for exactly one feature.</p>
<p>What happens to a Feature Crew when its feature is complete? There are a couple of variations. One style keeps the crew intact and reschedules it as a unit. Another returns the crew to a resource pool from which new crews can be allocated. Neither pure strategy is necessary. I like mostly durable teams with light rotation of individuals.
</p></div>
<h4>Quality Gates</h4>
<p>While things like unit tests and customer acceptance tests are necessary to meet the quality criteria of a multi-million-line codebase, they are certainly not sufficient. A Minimum Marketable Feature, taken as a whole, has properties that are more than the sum of its component tasks. There are certain kinds of design and quality control activities that have a larger natural granularity than user stories.</p>
<p>Quality Gates ensure that all of the systemic work gets done that does not fit naturally into the functional development process.  A good deal of security and reliability engineering has nothing to do with the intended functionality of a feature, and everything to do with how components of a system will behave in the presence of other components of that system under a wide range of operating conditions.  Quality Gates also facilitate the sharing of specialized resources, like a security engineer or a system architect, that are impractical to include on every crew.</p>
<h4>Feature Crew is only a process framework</h4>
<p>The Feature Crew model treats both features and workcells essentially as black boxes. Like Scrum, the Feature Crew method is not prescriptive about workflow.  What happens inside the crew is somewhat up to the crew.  One could imagine that a crew implements a mini-phase/gate (and some do, though we know that isn&#8217;t wise).  A crew could choose to implement an off-the-shelf process like Cleanroom or XP for their internal workflow, and many do.  Some crews will use an ad-hoc local body of practice, or git-r-done cowboy craft.  The quality gates set the bar, how you meet the bar is your concern.</p>
<p>Since Feature Crews address a different scale than Scrum, we can even combine Feature Crews with Scrum.  If a crew takes on a 6-week feature, that crew could then overlay a 1-week timebox within those 6 weeks and decompose the feature into Scrum-like work items and goals, which are then implemented according to local custom.  Again, this is not uncommon practice.</p>
<h4><a name="matrix-workcell">Kanban hierarchy and matrix workcells</a></h4>
<p>Since we already understand Feature Crews as a type of kanban system, and we see how can we can overlay Scrum as a secondary planning process, then it follows that we can use something like  <a href="http://leansoftwareengineering.com/ksse/scrum-ban">Scrumban</a> as the internal scheduling process.  We don&#8217;t have to do this, but doing so buys us some symmetry between the layers of planning hierarchy, and allows us to share metrics, tools, and terminology between workers and management.  The cumulative flow report for your team is of a similar kind to the cumulative flow report for the project as a whole.</p>
<p>Feature Crews are an effective method of capacity calculation, but they are also a blunt instrument for that purpose.  Making a team self-contained can result in boom-and-bust duty cycles for individual team members.  The beginning of a feature branch may be heavy on analysis and high-level design, and the end of a feature branch may be heavy on system testing and bug fixing.  A UI designer might find herself very busy for the first couple of weeks and mostly idle for the last couple of weeks.  Such a team may be able to learn a certain amount of task leveling, but only so much before running into other problems.</p>
<p>The complementary dysfunction of individual bursting is poor total resource utilization.  If every crew employs their own UI designer at 50% capacity, then you&#8217;ve hired twice as many designers as you really need to get the work done.  As much as we love flow, that is a high price to pay for it.  Introducing a second level of kanban granularity gives us access to a finer set of controls that we can use to dial in a better balance between availability and utilization.</p>
<p>Nested Scrumban is enough to give us a more consistent process between the whole and its parts, but it doesn&#8217;t help us directly with our utilization problem.  For that, we will appeal to a little bit of <a href="http://leansoftwareengineering.com/2008/06/02/pool-queue/">queueing theory</a>.  For some development functions we may be able to share resources between workcells with the same low delay as more dedicated resources, but at much higher utilization.  Software development costs are overwhelmingly dominated by labor costs, so paying at least some attention to labor utilization is worth our consideration.  Lean cares a lot about labor utilization, it just cares about it in the right order.</p>
<p>Given these tools, we can design a hybrid feature crew / matrix organization.  Some resources can be feature-aligned and dedicated to their workcells.  Other resources can be function-aligned and pooled across workcells.  A product group with 10 workcells probably doesn&#8217;t need 10 security engineers, 10 user researchers, 10 architects, and 10 database administrators.  But there is some right ratio of each of these functions to each other, and those ratios can be determined by value stream analysis, theory of constraints, and other heuristics.</p>
<p style="text-align: center;"><img class="size-full wp-image-1275 aligncenter" title="kanban_matrix" src="http://leansoftwareengineering.com/wp-content/uploads/2009/04/kanban_matrix.png" alt="kanban_matrix" width="746" height="375" /></p>
]]></content:encoded>
			<wfw:commentRss>http://leansoftwareengineering.com/2009/04/07/feature-crews/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.826 seconds -->
