Tapestry for Nonbelievers
A new article by I. Drobiazko and R. Zubairov introduces v. 5 of the Apache Tapestry component-oriented web framework. The tutorial shows how to create a component and covers IoC in Tapestry and Ajax.
Tracking change and innovation in the enterprise software development community

Posted by Roman Pichler on Feb 27, 2008 01:58 AM
The discussion of applying lean principles to software development has largely focused on identifying and eliminating waste (in Japanese: muda). Lean Thinking equally aims to remove overburden (Japanese: muri) and unnecessary variation (Japanese: mura). Muda, muri and mura are called "the three M's." Together they form a dissonant triad. All three M's must be eliminated to create a sustainable lean process. This article discusses the relationship between the three M's and argues that the elimination of overburden should be the first step for software development organizations in order to create a lean process.
Fighter Jets and Agile Development at Lockheed Martin (Case study)
IBM Agile Development eKit: Free Articles, Expert Q&A, Educational Resources
IBM software architect eKit: Grady Booch podcast, whitepapers, articles
Waste, in lean thinking, is defined as: all activities that do not add value from a customer perspective and that can be removed. Examples are overproduction and over-processing, work-in-process or inventory, defects, hand-over and task switching, waiting and unused employee creativity.
Value-creating activities enhance the product from a customer perspective. A good question to ask is: "Would I be happy to pay for this activity as the customer?" If the answer is yes, it is likely to be a value-creating activity. Examples are discovering and understanding customer needs and writing code. Additionally, activities such as prototyping that create the relevant knowledge to develop the software system are also valuable as the late Allen C. Ward points out. Any activities that do not create value and cannot be eliminated under the current conditions are called "non-value added" activities. Examples are configuration management and project planning activities.
The Agile Manifesto acknowledges the importance of focusing on value-creating activities in software development when it states that working software is more important than comprehensive documentation. By eliminating waste we are able to create better products, faster.
So what's wrong with focusing, first and foremost, on seeing and eliminating waste? Even though most traditional development organizations carry out few activities that truly add value, the right approach is often to attack a different disease first: overburden. As long as people work crazy hours, and as long as projects and teams are overwhelmed by the amount of work, the removal of waste alone is ineffective. Waste is likely to creep back in unless we limit the amount of work to the capacity and capabilities of the organization. Let's assume you try to eliminate defects but the project still suffers from overburden. Chances are that quality problems reappear since the project members still feel pressured and are overworked. In fact, overburden is a major source of waste such as work-in-process, waiting and delays, task-switching and defects.
Limiting demand to capacity and capabilities is exactly what Scrum and Extreme Programming do. By empowering the team to select a realistic amount of work for a given iteration, overburden is stopped and systematically avoided. A sustainable pace is achieved. Additionally, Scrum and XP create a pull process and a steady cadence where the team essentially pulls requirements from the product backlog and transforms them into product increments on a regular basis.
One of the benefits of a pull process is that in addition to avoiding overburden, it also makes waste and other problems visible. With excessive inventory buffers gone, problems now surface quickly. Scrum recognizes the importance of recognizing and removing problems and impediments. Its daily Scrum meeting serves to systematically identify problems.
A pull process with a steady cadence creates visibility of unnecessary variation, such as differences in the size and granularity of requirements put forward to the team in the iteration planning meeting, or the use of different build scripts. Other examples of unnecessary variation are using different development tools, applying development practices such as test-first and refactoring inconsistently, as well as not following coding standards. Variation creates waste such as defective software, over-processing and rework. Standards and norms eliminate variation.
Not all variation in software development is bad, though! For instance, formulating requirements at different levels of detail in the product backlog can avoid overproduction, over-processing and rework. Creating prototypes to explore different technology and design options is a form of necessary variation that creates the relevant knowledge to make the right architecture and technology decisions. Notice that is more economical to invest in organized experimentation early on rather than to bet on one grand but possibly unproven design idea only to partly rewrite the software system later on.
To establish a lean process, the traditional development system must be fundamentally changed and the right process must be established. For software development organizations this is best achieved by applying a pull process with a steady cadence as created by Scrum and XP. This is a form of radical improvement also called kaikaku in Japanese. Once the new way of working has been established, waste and variation must be systematically eliminated. The process is hence incrementally and continuously improved, which is also known as continuous improvement or kaizen in Japanese. Reflexion and continuous improvement is facilitated by regular retrospectives. In sum, establish the right process first by removing overburden. Then empower and encourage the teams to eliminate waste and unnecessary variation relentlessly.
Roman Pichler of Pichler Consulting Limited, -works as an independent consultant, trainer and coach. Roman's clients value his rich and diverse experience ranging from helping start-ups as well as large global companies to apply Lean Thinking and Scrum. He is the author of the book "Scrum - Agiles Projektmanagement richtig einsetzen" (dpunkt 2007).
Do japanese words muda, muri, mura, etc. add any value or context to this article? Are they used to prove or illustrate any point? Are not they the waist? Do they create a variationfrom the "standard" article language? On the same note: Is value solely defined by the customer perspective? Would customer always agree to pay for activity that wold not benefit him in the short term? What is about the value in the case of conflict of interests between short term needs of customer A, sustainability of your organization and future needs of the future customer B? Is it always easy to see immediatly if variation could bring a value? How new innovative standards could take of from the ground if we ban variations from the existing standards? Does overburden has no rationale at all? Could (should?) overburden be always avoided?
On similar lines we tried to use the Toyota lean concepts in working with a distributed team. The project was a huge sucess. More details here --> Agile Offshoring : It’s hard work but it works! on how we worked to make the project a success. http://vikashazrati.wordpress.com
Alexander, Since lean thinking originated in Japan, I use the original Japanese terms in addition to their English translations – like most other Western authors do. This avoids ambiguity that can arise when words are translated. As explained in the article, I consider software development activities as valuable if they create relevant knowledge or add value from a customer perspective. Once a lean process has been established, unnecessary variation is systematically eliminated by applying continuous improvement. Watch out for two things: First, create pull or flow and then stabilize the new system before you try to standardize. Second, empower and encourage the doers (developers, testers etc.) to improve their work. I consider overburden a curse. It is plain wrong. You may gain short term wins but you sacrifice a better and brighter future. Roman
Thought it's worth pointing to Jim Womack's e-letter that describes how mura creates muri that undercuts efforts to remove muda.
Hi Jason, Thanks for the link – I had completely forgotten about this e-letter :-) I would still argue that in software development, the first thing you should do is to remove overburden by establishing a pull process. This will cause problems and variation to surface. Once the new process has been stabilized, tackle variation by practicing continuous improvement and standardizing the work. You may also find Jim Womack’s e-letter on cadence helpful: http://www.leanuk.org/articles/jim_eletter_200801.pdf. It talks about creating a levelled workflow (heijunka) across the organization. I have found that even though upstream processes such as strategy and portfolio management often need to be improved too, software development is usually the right place to start. Only once we know how much work the development teams can pull and consume, the upstream processes can be adequately adjusted so that value flows smoothly through the entire system. Best regards, Roman
I agree. Muri first. then Mura, then Muda. that is the wisdom handed down from the original thinkers of the toyota way. A little explanation may help here. Overburden is only one symptom of Muri. Possibly the most obvious. But the word really means "irrational". Until rationality is introduced, i.e. an empirical approach, based on fact and logic, expressed through standards, then there is no foundation for future improvement. So eliminating muri is the essential first step. This link might help here: http://www.chcanys.org/clientuploads/downloads/Clinical_resources/Leadership%20Articles/Toyotaleanproduction.pdf Thanks Richard Henderson
A new article by I. Drobiazko and R. Zubairov introduces v. 5 of the Apache Tapestry component-oriented web framework. The tutorial shows how to create a component and covers IoC in Tapestry and Ajax.
In this interview, Burton Group consultant Pete Lacey talks to Stefan Tilkov about his disillusionment with SOAP, his opinion on REST, and addresses some of the perceived shortcomings REST vs. WS-*.
Jay Fields presents his concept of Business Natural Languages - a type of Domain Specific Languages geared towards being readable by domain experts.
Adoption and interest for Distributed Version Control Systems is constantly rising. We will introduce the concept of DVCS and have a look at 3 actors in the area: git, Mercurial and Bazaar.
Deborah Hartmann interviewed Segundo Velasquez about his experience as customer with an Agile team during the initial phase of software design of a product.
David Cooksey shows how to fine grained versioning to a ClickOnce deployment using an HttpHandler written with ASP.NET, making partial rollouts to a test audience much easier.
Windows workflow (WF) is an excellent framework for implementing business processes, but lacks support for human activities. This article describes a completely generic approach for changing this.
In this interview taken during OOPSLA 2007, Markus Voelter talks about the importance of documenting the software architecture, and gives some good and also bad examples on how it could be done.
6 comments
Reply