7.3 Kanban, XP, and SAFe
Key Takeaways
- Kanban focuses on visualizing work, limiting work in progress (WIP), and improving flow — it does not prescribe roles, iterations, or ceremonies
- Extreme Programming (XP) emphasizes technical practices like pair programming, test-driven development (TDD), continuous integration, and refactoring
- SAFe (Scaled Agile Framework) scales agile practices across large organizations using Program Increments, Agile Release Trains, and PI Planning
- Lean principles focus on eliminating waste, delivering value quickly, and continuously improving processes
- Each framework has different strengths: Scrum for team-level iteration, Kanban for continuous flow, XP for technical excellence, SAFe for enterprise scaling
Kanban, XP, and SAFe
While Scrum is the most popular agile framework, the CAPM exam also tests your knowledge of other adaptive methodologies. Understanding when to use each framework and their distinguishing characteristics is essential.
Kanban
Kanban is a lean method for managing and improving work across human systems. Unlike Scrum, Kanban does not prescribe roles, iterations, or ceremonies.
Core Kanban Practices
| Practice | Description |
|---|---|
| Visualize the workflow | Use a Kanban board to make work visible |
| Limit Work in Progress (WIP) | Set maximum items allowed in each stage to prevent bottlenecks |
| Manage flow | Monitor and optimize the movement of work through the system |
| Make policies explicit | Document and share the rules governing the workflow |
| Implement feedback loops | Regular reviews and retrospectives to improve |
| Improve collaboratively, evolve experimentally | Continuous, incremental improvement |
The Kanban Board
A typical Kanban board has columns representing workflow stages:
| To Do | In Progress (WIP: 3) | Review (WIP: 2) | Done |
|-------|----------------------|-----------------|------|
| Item A| Item D | Item F | Item H|
| Item B| Item E | Item G | Item I|
| Item C| | | |
WIP Limits
WIP limits are the defining feature of Kanban:
- Each column has a maximum number of items allowed
- When a column is at its WIP limit, no new items can enter until one moves forward
- This prevents overloading and improves flow
- It makes bottlenecks visible — work piles up before bottleneck stages
Kanban Metrics
| Metric | Definition |
|---|---|
| Lead Time | Total time from when an item enters the system to when it is delivered |
| Cycle Time | Time from when work begins on an item to when it is completed |
| Throughput | Number of items completed in a given time period |
| Cumulative Flow Diagram | Visual graph showing items in each workflow stage over time |
Extreme Programming (XP)
Extreme Programming (XP) is an agile methodology that emphasizes technical excellence and engineering practices. It is particularly focused on software development.
XP Values
- Communication — Team members and stakeholders communicate openly
- Simplicity — Do the simplest thing that works
- Feedback — Get frequent feedback to guide development
- Courage — Make bold decisions and speak up
- Respect — Respect team members and their contributions
Key XP Practices
| Practice | Description |
|---|---|
| Pair Programming | Two developers work together at one workstation |
| Test-Driven Development (TDD) | Write tests before writing code |
| Continuous Integration (CI) | Integrate code changes frequently (multiple times per day) |
| Refactoring | Continuously improve code structure without changing behavior |
| Small Releases | Release in short cycles to get rapid feedback |
| Collective Code Ownership | Any developer can modify any code |
| Coding Standards | Consistent coding conventions across the team |
| Simple Design | Keep the design as simple as possible |
| On-Site Customer | Customer representative available to the team at all times |
| Sustainable Pace | Work at a pace that can be maintained indefinitely (40-hour weeks) |
| Planning Game | Collaborative planning between business and developers |
| Metaphor | Shared description guiding the overall system architecture |
SAFe (Scaled Agile Framework)
SAFe is a comprehensive framework for scaling agile practices across large organizations with multiple teams working on related products.
SAFe Levels
| Level | Focus | Key Construct |
|---|---|---|
| Team | Individual agile teams | Scrum or Kanban teams |
| Program | Multiple teams working together | Agile Release Train (ART) |
| Large Solution | Multiple ARTs coordinating | Solution Train |
| Portfolio | Strategic alignment | Lean Portfolio Management |
Key SAFe Concepts
| Concept | Definition |
|---|---|
| Agile Release Train (ART) | A team of agile teams (50-125 people) that plans, commits, and executes together |
| Program Increment (PI) | A time-boxed planning interval (typically 8-12 weeks with 5 iterations) |
| PI Planning | A face-to-face event where all ART members align on objectives for the PI |
| Scrum of Scrums | Coordination meeting between representatives of multiple Scrum teams |
| Architectural Runway | Existing code, components, and technical infrastructure for near-term features |
| Innovation and Planning (IP) Iteration | Reserved time for innovation, planning, and infrastructure improvements |
Lean Principles
Lean thinking underpins many agile frameworks. The seven Lean principles (from Lean Software Development by Mary and Tom Poppendieck):
- Eliminate waste — Remove anything that does not add value
- Amplify learning — Develop knowledge through short feedback loops
- Decide as late as possible — Keep options open until the last responsible moment
- Deliver as fast as possible — Shorten cycle times to deliver value quickly
- Empower the team — Give teams autonomy and authority
- Build integrity in — Quality is everyone's responsibility
- Optimize the whole — Focus on the entire value stream, not just individual components
Comparing Agile Frameworks
| Feature | Scrum | Kanban | XP | SAFe |
|---|---|---|---|---|
| Iterations | Fixed Sprints | Continuous flow | Short iterations | PI (8-12 weeks) |
| Roles | PO, SM, Developers | No prescribed roles | Coach, Customer, Developers | Many defined roles |
| Planning | Sprint Planning | Just-in-time | Planning Game | PI Planning |
| WIP Limits | Sprint capacity | Explicit WIP limits | Small releases | Story-level |
| Primary focus | Team-level delivery | Flow optimization | Technical excellence | Enterprise scaling |
| Best for | Most agile projects | Support/maintenance | Technical teams | Large organizations |
What is the defining feature that distinguishes Kanban from other agile frameworks?
Which agile framework emphasizes technical practices like pair programming and test-driven development?
In SAFe, what is an Agile Release Train (ART)?
In Kanban, what does it mean when a column reaches its WIP limit?