KANBAN

15/02/2024

Kanban is a popular Agile framework used for managing work on a visual board. It originated from Toyota's manufacturing process and has since been adapted for various industries, including software development, project management, and other knowledge work domains.


Here's a brief overview of how Kanban works:

  1. Visual Board: At the heart of Kanban is a visual board divided into columns representing different stages of the workflow. Typically, these columns include states like "To Do," "In Progress," and "Done," but they can be customized based on the specific needs of the team or project.

  2. Work Items: Work items, often represented by cards or sticky notes, move through the columns on the board as they progress from initiation to completion.

  3. Work in Progress (WIP) Limits: Kanban emphasizes limiting the amount of work in progress at any given time to avoid overburdening the team and maintain a steady flow of work. WIP limits are set for each column to ensure that teams focus on completing tasks before starting new ones.

  4. Continuous Improvement: Kanban encourages continuous improvement through the use of metrics and regular retrospectives. Teams monitor key performance indicators (KPIs) such as lead time and cycle time to identify bottlenecks and areas for improvement.

  5. Pull System: Kanban operates on a pull-based system, meaning that work is pulled into the system only when there is capacity to handle it, rather than being pushed onto the team. This helps prevent overloading and ensures that the team can maintain a sustainable pace.

  6. Adaptability: Kanban is highly adaptable and can be used in conjunction with other Agile methodologies such as Scrum or Lean. Teams can tailor the framework to suit their specific needs and processes.

Overall, Kanban promotes transparency, collaboration, and efficiency by visualizing work, limiting work in progress, and fostering a culture of continuous improvement. It's a flexible framework that can be applied to a wide range of projects and teams.

KANBAN METRICS

Kanban is a popular method used in software development and project management to visualize and manage work. While there are various metrics used in Kanban to measure performance and improve processes, here are some common ones:

  1. Lead Time: The time it takes for a task or work item to move from the starting point to completion. This metric helps in understanding the efficiency of the workflow and identifying bottlenecks.

  2. Cycle Time: Similar to lead time, cycle time measures the time it takes for a task to be completed once work begins on it. It excludes waiting time and focuses solely on the time spent actively working on the task.

  3. Throughput: The number of tasks or work items completed within a specific time period. Throughput helps in assessing the team's productivity and capacity.

  4. Work In Progress (WIP): The number of tasks or work items that are currently in progress but not yet completed. Monitoring WIP helps in maintaining a manageable workload and identifying potential overburdening.

  5. Cumulative Flow Diagram (CFD): A graphical representation showing the flow of work items through different stages of the workflow over time. CFDs help in visualizing bottlenecks, tracking progress, and predicting future trends.

  6. Blocked Time: The amount of time a task spends waiting for external dependencies or unresolved issues. Monitoring blocked time helps in identifying impediments and improving workflow efficiency.

  7. Aging Work Items: The duration for which tasks or work items have been in the system without making progress. Aging work items highlight areas of stagnation and help in prioritizing tasks.

  8. Escaped Defects: The number of defects or issues identified after a task or work item has been completed and delivered to the customer. Tracking escaped defects helps in improving quality and identifying areas for improvement in the development process.

  9. SLE forecasts:  How long it should take a given item to flow from start to finish within your workflow. The SLE itself has two parts: a period of elapsed days and a probability associated with that period (e.g., "75% of work items will be finished in 7 days or less" which can also be stated as "7 days with 75% confidence/probability").

These metrics provide valuable insights into the performance of Kanban systems and help teams identify areas for improvement to enhance efficiency, productivity, and quality.

Little's law

Little's Law is a fundamental concept in queuing theory that is often applied in the context of Kanban systems. Little's Law states that the average number of items in a system (L) is equal to the average arrival rate of items (λ) multiplied by the average time each item spends in the system (W). Mathematically, it can be expressed as:

L= λ×W             OR  Throughput = WIP/Cycle Time

In the context of Kanban, Little's Law helps teams understand and optimize their workflow by providing insights into key performance metrics. Here's how it relates to Kanban:

  1. Average Number of Items in the System (L): In a Kanban system, this refers to the average number of work items (such as user stories, tasks, or features) that are in progress or in the queue at any given time. Understanding this metric helps teams identify bottlenecks and manage their work in progress (WIP) limits effectively.

  2. Average Arrival Rate of Items (λ): This represents the rate at which new work items are entering the system. It could be the number of new user stories being added to the backlog per day or any other relevant time period. By monitoring this metric, teams can gauge the demand on their system and adjust their capacity accordingly.

  3. Average Time Each Item Spends in the System (W): Also known as cycle time, this metric measures the average time it takes for a work item to move through the entire workflow from start to finish. By analyzing cycle time, teams can identify inefficiencies, streamline their processes, and improve overall productivity.

By applying Little's Law in the context of Kanban, teams can gain valuable insights into their workflow dynamics and make data-driven decisions to optimize their processes, improve throughput, and deliver value more efficiently.

KANBAN PRINCIPLES


Kanban is a popular agile framework for managing work in a visual manner. It is based on several key principles:

  1. Visualize Workflow: The fundamental concept of Kanban is to visualize the workflow. This means representing each work item (task, user story, etc.) as a card on a Kanban board, where columns represent different stages of the workflow (e.g., "To Do," "In Progress," "Done").

  2. Limit Work in Progress (WIP): Kanban emphasizes limiting the amount of work that is actively being worked on at any given time. By setting WIP limits for each stage of the workflow, teams can avoid overloading themselves, reduce multitasking, and maintain a steady flow of work.

  3. Manage Flow: The goal of Kanban is to achieve a smooth, continuous flow of work through the system, from start to finish. Teams focus on optimizing flow by identifying and addressing bottlenecks, reducing cycle times, and improving efficiency.

  4. Make Policies Explicit: Kanban encourages teams to define explicit policies for how work moves through the workflow. These policies clarify expectations, establish standards, and provide guidance for team members, ensuring consistent and transparent decision-making.

  5. Implement Feedback Loops: Feedback loops are essential for continuous improvement in Kanban. Teams regularly review performance metrics, such as lead time and cycle time, and use this data to identify opportunities for improvement, adjust their processes, and make informed decisions.

  6. Improve Collaboratively, Evolve Experimentally: Kanban promotes a culture of collaboration and experimentation. Teams continuously seek opportunities to improve their processes, experiment with new approaches, and adapt to changing circumstances through incremental changes.

  7. Encourage Leadership at All Levels: In Kanban, leadership is distributed across the team, and everyone is encouraged to take ownership of their work and contribute to the improvement of the system. This decentralized approach fosters autonomy, accountability, and innovation.

By adhering to these principles, teams can leverage Kanban to optimize their workflow, increase productivity, and deliver value more effectively.