Agile Architecture – The Foundation of Agile Delivery
local graph
Chapter 2 — Agile Architecture – The Foundation of Agile Delivery
Section titled “Chapter 2 — Agile Architecture – The Foundation of Agile Delivery”“Simplicity is the ultimate sophistication.”
– Leonardo da Vinci
In this era of innovative and disruptive digital transformation, Agile software development is no longer a marketing buzzword. Agile software development methodologies have enabled many organizations at scale (at the required size) to significantly accelerate their ambitious journey to accomplish and sustain organizational agility. Agile architecture and the new Agile ways of developing architecture and design are incredibly important in delivering an uninterrupted, continuous flow of values to meet the needs and wants of customers. However, architecture and architects need a radical reshaping to be relevant in the world of Agile software development.
This chapter takes you through the evolution of software development and analyzes the lessons learned, which help in reinforcing the vital need of architecture in Agile software development initiatives.
In this chapter, we’re going to cover the following main topics:
- The journey leading to Agile software development
- Agile development and traditional architecture – an oxymoron?
- Agile and architecture – the battle between speed and sustainability
- Comparing different scaling Agile frameworks
- Measuring Agile architecture
- Lessons learned from Snow in the Desert
This chapter focuses on the Agile Architecture focal point of the Agile Architect Lens, as shown in the following diagram:

Figure 2.1 – The Agile Architect Lens – focal point
Technical requirements
Section titled “Technical requirements”Additional materials such as posters and Agile architecture assessment parameters referenced in this chapter are available to download from https://github.com/PacktPublishing/Becoming-an-Agile-Software-Architect/tree/master/Chapter2.
The journey leading to Agile software development
Section titled “The journey leading to Agile software development”Interestingly, unlike many other natural evolutions, software development has gone through many forms, shapes, and, notably, cycles over the years. One of the significant parameters in software development evolution has been the risk of failure. The likelihood of risk dramatically reduced as a result of this evolution.
Software development is a young discipline, with only just under seven decades of legacy. Grady Booch, Chief Scientist at IBM, in his speech History of Software Engineering, at the Association for Computing Machinery, observed that the first mention of software was by John Turkey back in 1952.
The Agile method of software development has become increasingly popular in the last decade, but the traces of Agile development are deeply rooted in history. The paper Iterative and Incremental Development: A Brief History published by IEEE highlighted the existence of Agile development even before that. The article stated that, back in the 1960s, NASA’s Project Mercury ran with an iterative approach of very short, half-day cycles and used test-driven development practices. The more interesting observations came from the Software Engineering report at a conference sponsored by the NATO science committee held back in 1968. Kinslow, a computer systems consultant, articulated very well in this paper that the software design process is an iterative one. Ross, another attendee of the conference from MIT, also highlighted the deadly symptom of traditional software development as first specifying what you are going to do and then doing it. Both Kinslow and Ross were pointing toward what is today called the Agile software development approach.
Most of the software development during the 1960s followed the waterfall approach, and the earlier statements came from frustration at the failures and challenges of waterfall-style software development. Sequentially staged software development was first proposed by Dr. Winston W. Royce back in the 1970s, which appeared in an IEEE publication, Managing Development of Large Software Systems. Later, the term “waterfall” was introduced by Bell and Thayer in the second International Conference on Software Engineering referring to Royce’s approach. Royce, in his paper, explained a step-by-step approach, as shown in the following diagram, as a better way of software development:

Figure 2.2 – Sequential approach to software development
The most interesting part is that Royce called out the risk of this sequential step-by-step approach in the same paper, highlighting that the testing phase only occurs at the end of the development cycle.
As Royce expected and clearly articulated, the biggest challenge in the waterfall model of software development is the risk associated with late validation. As shown in the following diagram, the risk is much higher in the waterfall approach since we confirm the design too early in the development cycle, with almost no means for immediate feedback. When we start receiving feedback, it is too late as the cost of rework is going to be unimaginably huge:

Figure 2.3 – Risk of not meeting customer expectations
The most attractive aspect of iterative software development is managing potential risks and, therefore, better management of the cost of delays and reworks.
Even though there were many traces of Agile software development before the 1990s, Agile software development practices eventually became popular as an aftereffect of the failures of many software development projects in the 1990s. As a result of this hue and cry, an alternate set of lightweight methods emerged, such as Scrum, Extreme Programming (XP), Feature Driven Design (FDD), and a few more. Later, in 2001, a group of Agile software development practitioners joined together and developed a manifesto for Agile software development, documenting a set of values and principles.
What is Agile software development?
Section titled “What is Agile software development?”The most important document for Agile software development is the manifesto for Agile software development. The manifesto is positioned as uncovering better ways of developing software, but it does not prescribe any approach or process for Agile software development.
Agile software development is a software development practice based on a set of values and principles defined in the manifesto for Agile software development. Manifesto statements are pretty simple, abstract, and general, for the right reasons. But the marketing buzz around it led to many interpretations and complicated explanations.
One of the most radically simple models to explain Agile is The Heart of Agile, proposed by Alistair Cockburn, one of the signatories of the manifesto for Agile software development. He summarized Agile with four imperatives: Collaborate, Deliver, Reflect, and Improve, as shown on the left-hand side of the following diagram:

Figure 2.4 – The Heart of Agile and PDCA cycles
The meaning of collaborate, deliver, reflect, and improve is as follows:
- Collaborate: Collaboration in this context is a mix of trust, culture, motivation, and the act of collaboration between people.
- Deliver: Deliver means delivering business value with a continuous, uninterrupted flow, that essentially helps to earn more revenue and learn things such as market potential, among others.
- Reflect: Reflect is about collecting and examining subjective data from people and processes, and objective information from the ecosystem of the business and its customers.
- Improve: Improve is about solving problems based on past learnings and experimenting, to explore further and acquire new knowledge.
The Heart of Agile is pretty much similar to the Plan-Do-Check-Act (PDCA) cycle applied in the context of Agile, as shown on the right-hand side of the preceding diagram. PDCA was first introduced by Walter Shewhart in his book Statistical Method from the Viewpoint of Quality Control back in 1939. It is also called the Shewhart cycle and the Deming cycle. PDCA is a continual process improvement model for organizations to plan actions, execute those actions, study deviations from the plan, and act on what has been learned from the study.
In reality, Agile software development means two key things:
- Decompose problems in to small bite-size chunks so that PDCA can be applied repeatedly.
- Continually optimize the PDCA cycle time, without compromising purpose and quality.
We see these two key Agile philosophies in the following diagram:

Figure 2.5 – Two key concepts of Agile: small batch size and cycle time
The PDCA cycle time can be improved dramatically by continuously monitoring and optimizing activities across different steps and, more importantly, diligently applying Lean principles.
Is Lean different from Agile?
Section titled “Is Lean different from Agile?”We always use the words Lean and Agile almost interchangeably. But what is Lean? How is it related to Agile?
Back in the 1990s, when many large software projects started failing, many industry gurus looked at the reasons for failure and opportunities to improve. Up until then, software engineering was always compared with the construction industry as they both used engineering practices. However, there is a substantial difference between these two. In the construction industry, there is always a detailed plan. Once the architect signs off the plan, it goes for approval from the authorities before engineers start construction. Unfortunately, we had replicated this in software engineering with a stage-gate process with audits and approvals.
Finally, when things fell apart, the hunt for best practices extended to adjacent industries. The manufacturing industry was doing quite well with Lean manufacturing principles. The Toyota Production System (TPS) was leading this space, focusing considerably on enumerating and eradicating wastage, shortening lead times, relentless improvements, moving work to the fixed capacity workforce, using just-in-time production, and delaying critical decisions.
The following diagram shows key parts of the Lean manufacturing process, with a focus on minimizing lead time from order to cash:

Figure 2.6 – Concepts of Lean manufacturing
As you will have noticed, Agile and Lean have many characteristics in common. The reason is, many Agile software development frameworks got inspired by the Lean thinking of manufacturing and adopted many of those practices into software development even before the manifesto for Agile software development was constructed in 2001.
Agile software development has the best of both worlds: all Lean principles are also reflected in Agile software development practices. Effectively, many of those principles help to reduce the PDCA cycle time in Agile software development, which brings enormous benefits to software development, businesses, and customers.
Five benefits of Agile software development
Section titled “Five benefits of Agile software development”There are many benefits when adopting Agile software development at scale. Some of the benefits, such as a set of motivated individuals and an empowered team, are considered to be indirect benefits, essentially contributing to one of the direct benefits.
The top five benefits of Agile-based software development are as follows:
- Reduced risk: The iterative development, faster release cycles, visible and transparent progression, and short feedback loops increase predictability, reduce risk, and eliminate unnecessary cost.
- Better productivity: Agile methodologies focus on continuous sustainable delivery of business values to maximize customer satisfaction by removing forces that impose delays in the software delivery flow. It also helps the organization to organize teams systematically without burdening them with management overheads.
- Improved quality: The people-centric approach, with a high degree of collaboration together with fast learning cycles of inspect, feedback, and adapt mechanisms improve the quality and maintainability of products.
- Shorter cycle time: The quick turnaround nature of Agile development helps businesses to respond quickly ahead of the competition. The test and learn approach in Agile assists faster and cheaper innovation cycles.
- Business agility: The ability to smoothly manage frequent priority changes in business as a mechanism by design, dramatically improves business agility to respond rapidly to changes in trading conditions and market dynamics.
As we see here, Agile brings many benefits, and Agile architecture inherits principles and practices from Agile software delivery to develop architecture as an integrated software development activity.
Agile software development is most important for organizations to successfully swim through the increasingly difficult environment. We will explore Agile software development and how architecture fits into the flow of work in the next section.
Agile development and traditional architecture – an oxymoron?
Section titled “Agile development and traditional architecture – an oxymoron?”The perception of paradox came out of contrasting approaches adopted by Agile software development and the waterfall model. While Agile software developments are heavily rooted in iterative development, traditional developments follow rigid sequential steps.
To comprehend the cause of this perception, it is imperative to define what we mean by software architecture and its purpose.
Architecture as a continuum
Section titled “Architecture as a continuum”Architecture is often misunderstood and misused in the software industry. There are many architecture definitions referenced in the document What is Your Definition of Architecture, published by the Software Engineering Institute at Carnegie Mellon University.
The very first definition of architecture came from Fred Brooks, writing about computer architecture in his book, Planning a Computer System: Project Stretch 1962, inspired by structural engineering:
“Computer architecture, like other architecture, is the art of determining the needs of the user of a structure and then designing to meet those needs as effectively as possible within economic and technological constraints.”
A more concise definition of software architecture is from IEEE-1471-2000:
“Architecture is the fundamental organization of a system embodied in its components, their relationships to each other, and to the environment, and the principles guiding its design and evolution.”
The IEEE definition is the most logical and straightforward definition of architecture and has been followed widely ever since it was defined.
The Rational Unified Process (RUP) provides a more elaborate definition of architecture as follows:
A set of sign ificant decisions about the organization of a software system, the selection of the structural elements and their interfaces by which the system is composed together with their behavior as specified in the collaboration among those elements, the composition of these elements into progressively larger subsystems, the architectural style that guides this organization, these elements, and their interfaces, their collaborations, and their composition. Software architecture is not only concerned with structure and behavior, but also with usage, functionality, performance, resilience, reuse, comprehensibility, economic and technological constraints and tradeoffs, and aesthetics.
– RUP (Kruchten, 1998)
Martin Fowler, in the IEEE journal Who Needs an Architect?, defined architecture as important stuff that is expensive to change, whereas Grady Booch called it significant decisions, where the cost of change measures significance.
There is no debate on these definitions of architecture itself in the context of Agile software development methodologies. However, any architecture definition that treats architecture as “the foundation”, “hard to change”, “things that you need to know upfront”, or “get it right early” are up for debate and no longer stack up in Agile development.
The purpose of architecture is to shape a solution that meets near-term customer needs, and address any technical risks that could hinder operations. A simple definition of software architecture in the context of Agile development is: architecture is a series of irreversible decisions for the development of a sustainable technology solution. The keywords in this definition are the following:
- Irreversible: Irreversible decisions are significant decisions that are hard to change without incurring considerable cost. For example, you decided to build an order management system on an off-the-shelf ERP. It is almost impossible to reverse that decision halfway through without an expensive change.
- Sustainable: Ability to maintain the state of the solution beyond immediate needs with an optimal run cost.
- Technology solution: A working software component or a hardware component or, in most scenarios, a mix of both, consisting of one or more products or services.
- Decisions: Decisions are related to defining the right solution for a given purpose, and the organization of the solution, context, elements, and relationships between various elements.
The preceding architecture definition from RUP touched on behavior. Behavior could be anything from the messaging style of an interface, such as synchronous or asynchronous, to the flow of data represented with a dynamic interaction diagram. This often leads to another question: whether the behavior is a question of architecture or design.
The distinction between architecture and design is not always clear. Simon Brown, who introduced C4 models, observed that the ” significant decisions are architecture, and everything else is design.” Grady Booch’s viewpoint is that ” all architecture is design, but not all design is architecture.” The definition from Tom Hollander, Microsoft evangelist, is more appropriate in the Agile software development context. Hollander described architecture as ” a continuum where coarse-grained is architecture and fine-grained is design.”
Architecture can be represented as a continuum, as shown in the following diagram:

Figure 2.7 – Architecture represented as a continuum
As shown, there is no real cut-off point between architecture and design or high-level and low-level. The number of people who touch architecture also increases as we go from left to right in the continuum. However, in the traditional waterfall, both architecture and design activities are performed as part of the upfront design stage.
Traditional development methods frontload architecture efforts
Section titled “Traditional development methods frontload architecture efforts”Traditional architecture is an upfront activity that is deterministic and finite. In traditional projects, architects had the time and luxury of clearly knowing the requirements at the very early phase of the project to define the architecture upfront. This approach commits technologies and design decisions too early, which are unvalidated until close to going live. Often this is done without understanding the purpose and the business drivers, and, more importantly, draws unnecessary attention to many imaginary requirements. Neal Ford from ThoughtWorks observed that ” spending too much time upfront won’t guarantee that you will know everything that you need to know about the system to future proof architecture.”
The following diagram shows the timelines for architecture decisions in a typical waterfall project as well as in Agile software development:

Figure 2.8 – Architecture decision timelines in waterfall and Agile
As shown in the diagram, the Agile architecture approach flattens the architecture efforts over time compared to the upfront decisions in traditional development.
Big Upfront Design (BUFD) is treated as one of the anti-patterns when developing architecture in Agile software development projects. In iterative development, upfront architecture is unfeasible as the requirements are not known until we are close to the end of the iteration. Architecturally significant requirements may surface even at a later stage, which in effect impact the resiliency of the architecture and cause significant rework.
Overengineering is a symptom of upfront designs. In the early 2000s, the abstract database factory was a common pattern, as many architects believed that they needed to cater to multiple databases such as MySQL, Oracle, and so on, but in reality, the need does not exist. Overengineering makes the system significantly complex and expensive to develop, operate, and evolve.
Before Agile, architecture was treated as a solid foundation, and therefore the notion of architecture decisions had to be taken upfront in the project life cycle. As a result, architects used to spend a lot of time creating abstractions. The notion of an architecture foundation came from building physical architecture where foundations are critical and have to be strong. Alistair Cockburn observed that ” some technologies exist today to replace the foundation of buildings without even moving the tenants out.”
In my own experience from one of the largest successful home-grown projects, back in early 2000, we spent a good initial 6 months for requirements analysis. During this period, as architects, we spent time and effort in building an architecture foundation and a development framework. We had to do that as EJB was underperforming, and Spring was just in its nascent stage. We committed all decisions upfront, including the selection of technologies. It was successful in the end, mainly because of the spirited mindset of the team. Two years down the line, when we deployed in production, the technologies were already obsolete, which severely impacted the longevity of the solution.
One of the key lessons from this project resonates with Dietzler’s law, which we see in the following diagram:

Figure 2.9 – Dietzler’s law applied to abstraction
Creating an abstraction upfront will make the developer’s life easier for 80% of the customer requirements, 10% is hard to achieve, and the last unanticipated 10% is impossible to achieve. However, customers always want 100%. The last 10% will break the abstraction and contribute to architecture complexities.
Developing architecture in Agile projects is more demanding than in traditional waterfall projects and therefore needs special attention and treatment. In applying the lessons learned from the failed story of Kodak, where it failed to embrace innovations, teams must fearlessly adopt Agile architecture.
We have learned that traditional architecture is not suitable for Agile software development. We will explore the importance of architecture in Agile and the reasons why it is termed the foundation of Agile software development in the following sections.
Agile architecture – architecting with Agile practices
Section titled “Agile architecture – architecting with Agile practices”Agile architecture is a combination of doing architecture using Agile methodologies, as well as building resilient architecture to meet evolving customer needs. Agile architecture treats architecture as a continuous flow of decisions delivering sustainable solutions that maximize business value. It is a disciplined way of iteratively developing and managing architecture in line with the values, principles, and practices of Agile software development.
The art of Agile architecture is described as follows:
- Anticipating, discovering, and stacking architecture decisions with an overarching intent
- Systematically solving problems by considering options
- Careful prioritization to minimize the cost of delay
- Continually evolving and improving solutions
- Transparently evaluating and addressing possible technical risks
- Maintaining velocity from demand to delivery
Agile architecture avoids large upfront design activities and provides guardrails for feature teams to avoid offshoot from the right directions without slowing down delivery flow.
Balancing speed and sustainability
Section titled “Balancing speed and sustainability”Agile means quick and easy, whereas good architecture provides sustainability; Agile architecture balances speed and sustainability. There is a notion that Agile is all about fast and cheap, and everything else is secondary. Often development teams want to go just too fast. But developing sustainable solutions needs checks and balances. Fred Brooks made an interesting observation in his book The Mythical Man-Month:
“Good cooking takes time; some tasks cannot be hurried without spoiling the result.”
Kevlin Henney, the author of the book 97 Things Every Programmer Should Know, shared the analogy of a speeding car. Driving a car at 150 km an hour is always great, but only if in the right direction. Otherwise, it creates more damage than benefits as backtracking will consume time and money. Kevlin Henney also shared another great metaphor of the four forces that keep aircraft in the air and compared them with Agile software development. A modified version of this metaphor is shown in the following diagram:

Figure 2.10 – Speed and sustainability – aircraft metaphor
Traveling faster without balancing sustainability will create more tech debts, which eventually drag the project back. This is where sustainability, and hence architecture, is immensely important. The architecture keeps the required checks and balances to ensure delivery is heading in the right direction by continually managing technical debts and preparing the architecture for the next set of iterations.
In Agile development, BUFD is not acceptable, but at the same time, having no upfront architecture is also not the right thing to do. Simon Brown, in his book Software Architecture for Developers, quoted Dave Thomas’s observation that ” the big upfront design is dumb but no design upfront is even dumber.”
Developing a little architecture upfront, but how much?
Section titled “Developing a little architecture upfront, but how much?”While big upfront architecture is an anti-pattern for Agile architecture, it is inevitable to have some elements of architecture upfront. In earlier days, an example of such an upfront decision was the technology stack and programming language. However, with the evolution of microservices, this is no longer an issue.
How much architecture upfront depends on the nature, size, and complexity of the project. In larger and critical projects, not doing enough architecture upfront leads to higher exposure to risk and may lead to failure. Philippe Kruchten observed this in the IEEE paper Software architecture and Agile software development: a clash of two cultures? as ignoring the architecture focus for certain classes of systems will lead projects to hit a wall and collapse.
In addition to nature, size, and complexity, there are several other forces proposed by Michael Waterman, James Noble, and George Allan in the IEEE paper How Much Up-Front? A Grounded Theory of Agile Architecture. The paper emphasizes the importance of considering technical and environmental factors such as the organizational context and domain-related parameters, as well as social factors such as the experience and skills of the architects.
When there are multiple solution options, the Value, Cost, Risk (VRC) model can calculate the upfront design score. The one that is highest is the solution with the right upfront design. The formula is shown in the following diagram:

Figure 2.11 – VRC model for calculating the amount of upfront architecture
A good metaphor to explain how much upfront design to have is building an airport runway. Usually, massive investments are directly proportional to revenue generation. In the case of airports, the expansion will by and large depend on the growth in passenger volumes. This metaphor is shown in the following diagram:

Figure 2.12 – Extending the runway based on immediate needs
Let’s say the initial plan for the first year is to only handle Cessna-type aircraft, which only need a runway length of 2,000 feet. There is no point in building an 8,000-foot runway upfront as it is not going to add any business value. In the second year, the airport wants to handle narrow-body aircraft. This means we need to widen and lengthen the runway to 7,000 feet. We do this incrementally while operations are in progress. In the third year, the airport wants to accept wide-body aircraft. This means we will have to further widen and extend the runway to 8,000 feet. Again, runway upgrades will be done incrementally while aircraft movements are in progress. In this metaphor, we need to have an architecture intent to build an 8,000-foot runway, which can accept wide-body aircraft over 3 years, but we build incrementally based on what the airport needs at each point, which balances the present and the future.
Simon Brown summarized the elements of upfront design quite nicely in his article Contextualizing just enough up front design, published at codingthearchitecture.com. He observed that upfront architecture brings clarity on the big picture, how significant elements fit together, and identified the key risks to be mitigated, such as quality attributes, environment, and so on.
A disciplined approach, following a set of principles for developing Agile architecture, helps to bring agility without leading to heavy rework. We will discuss this in the next section.
Agile architecture principles
Section titled “Agile architecture principles”Agile architecture revolves around five core principles. Culture is one of the most important factors in Agile architecture and is considered as embedded in every principle.
The following diagram captures the five key Agile architecture principles:

Figure 2.13 – Agile architecture principles
These five principles act as guiding forces for any successful transformation to Agile architecture. As we know, Agile software development practice does not prescribe anything, so the implementations can take different shapes.
Architecture needs a collective effort
Section titled “Architecture needs a collective effort”Architecture development needs collective effort from all team members. One of the principles from the manifesto for Agile software development is ” the best architectures, requirements, and design emerge from self-organizing teams.” This also resonates with the Heart of Agile, where Collaborate is one of the keywords. Agile architecture moves away from prescriptive to collaborative architecture development with no more throwing architecture over the fence to developers.
Three key aspects around this principle are as follows:

Figure 2.14 – Agile collaboration triangle
Let’s understand each of these principles:
- Collective intelligence: In Agile architecture, architecture is collaboratively developed by all team members. The collective intelligence of all the team members is far better than an individual’s knowledge and intelligence.
- Collective ownership: Collaborative development brings collective ownership. The nature of human beings is they take better care of things that they own. The team strives for success for those decisions taken collectively by them.
- Collective knowledge: Collaboratively built solutions eliminate the need for extensive knowledge sharing, documentation, and communication. This also improves the resiliency of the team in case they lose an individual’s service.
This principle increases the cohesiveness of the team, which results in better quality, reduced maintenance cost, faster delivery cycles, and reduced risk of losing knowledge.
Architecture is continuous
Section titled “Architecture is continuous”If architecture is a continuum, then architecture development is a continuous activity. One of the principles of the manifesto for Agile software development emphasizes ” customer satisfaction through early and continuous delivery of valuable software.”
A continuous architecture needs an intent called intentional architecture and an incremental evolution called emergent design, as shown in the following diagram:

Figure 2.15 – Intentional architecture and emergent design
The concepts of intentional architecture and emergent design are as follows:
- Intentional architecture: Intentional architecture defines the big picture and shared understanding of the purpose, vision, contextual guardrails, and guidelines that the development teams must know to protect, align, and balance the customer’s and organization’s interests. It also provides economic conditions for trade-offs and sets shared goals when multiple teams are working on a solution.
- Emergent design: With intentional architecture in place, development teams evolve the design of the solution continuously over several iterations to meet the immediate needs of the customer. The emergent design is a natural outcome of the response to new customer demands, as well as addressing findings coming from constant refactoring efforts.
The bridge girder erection machine is a great real-world metaphor for intentional architecture and emergent design. The working principle for the bridge girders is that pillars are already developed, and girders are built as the machine moves forward. The pillars represent intentional architecture, and girders represent the emergent design.
Architecture is Lean and efficient
Section titled “Architecture is Lean and efficient”Architecture development must not perform non-value-added activities that potentially dent the continuous delivery flow. The parent principle for this is ” at regular intervals, the team reflects on how to become more effective, then tunes and adjusts its behavior accordingly.” Relentlessly looking for the eradication of potential wastage is one of the key concepts adopted from Lean manufacturing. The team must systematically determine and drive continuous improvement on the end-to-end cycle time.
By applying this principle, the team can identify and utilize untapped capacity by shifting focus from non-value-adds to the flow of values. The architecture wastage comes predominantly from the following sources:
- Avoid hand-offs: One source of wastage in traditional architecture development is from hand-offs. The architect creates architecture documentation and throws it over the wall to the team, as opposed to collaborative development. Clarity will deteriorate as the information flows from architects to developers and results in additional back-and-forth conversations. The collaborative solution design approach in Agile architecture powers the continuous flow of work without hand-offs.
- Keep it simple: Traditional architecture assumes many imaginary future requirements without understanding the full context and business vision. The Abstract Factory example discussed earlier is a classic scenario of overengineered complex architecture. Cost and lead time increase as the complexity of architecture goes up. Agile architecture is always a function of business value and is based on near-term customer needs.
- Alignment over governance: Agile teams need faster decision cycles and are usually autonomous and empowered to make appropriate decisions. Often, traditional governance boards meet infrequently, causing teams to wait longer for decisions, which interrupts the flow. The basis for Agile architecture is alignment, utilizing constant feedback over fixed bureaucratic governance.
- Communication over documentation: Creating massive documentation upfront is one of the challenges in traditional architecture development. This not only wastes time and effort to build documentation but also contributes to the cost of maintenance. Agile architecture promotes free-flowing communication, collaborative development, and the use of visual aids.
Every team is different in terms of skills, culture, technologies, and the nature of their work. Self-organized teams find themselves an ideal way to collaborate for better results. They use inspection and feedback to facilitate continuous process improvements.
Test and learn architecture early and often
Section titled “Test and learn architecture early and often”Architecture has to be continuously refactored and evolved using the frequent test, learn, and refactor cycles to maintain quality. The team explores every possible scenario to improve steps in the delivery by bringing efficiency as well as enhancing the quality. One of the development principles in the manifesto for Agile software is working software is the primary measure of progress and is the motivation for this principle.
Key aspects related to this principle are the following:
- Test architecture early and often: One of the significant risks in the waterfall model is the late validation of the software. In Agile architecture, teams use every opportunity to test architecture using automated test scripts as part of the continuous delivery pipelines starting from the very first iteration, possibly in production alongside business features. Use spikes to prove the design when the team is not confident.
- Learn and refactor constantly: Using fast, integrated learning, identify potential shortcomings of the design and refactor as early as possible as part of the day job to develop long-lasting fixes. The team has to constantly solve problems in production, with triage connecting to backlog items, which leads to refinement of solutions by refactoring, redesigning, and stepping up monitoring.
Feedback-driven learning is a great mechanism to evolve architecture continuously and to be in a better position to respond to changes quickly.
Architecture enables agility
Section titled “Architecture enables agility”Architecture and design have to be adaptable to absorb requirements coming even at a later stage of the project. One of the principles in the manifesto for Agile software development is ” welcome changing requirements even late in the development” and is linked to this architecture principle. To achieve this, the architecture has to be evolvable.
Evolutionary architecture is the term coined by Neal Ford and the team at ThoughtWorks to define evolvable architecture. They described evolutionary architecture as an architecture that supports incremental guided changes as a first-class citizen.
Key aspects of this principle are the following:
- Automate: Agile architecture promotes automation as an integral part of the solution. This includes Continuous Integration (CI), Continuous Delivery (CD), and releases on demand. Use extensive, automated telemetry to understand architecture behaviors and quality attributes in production.
- High on technical excellence: Growth mindset, continuous investment in learning, and passion for breakthrough innovations are essential team behaviors to enable constant improvement in technology, techniques, practices, and patterns. Faster time to delivery by adopting proven patterns as code, using data for trade-off, and building cost and risk-aware architecture are positive signs of good Agile architecture practices.
- Reduce blast radius: Using techniques such as microservices to break architecture into smaller chunks that are modular and loosely coupled. This will help to reduce the blast radius in case of issues or changes such as technology upgrades.
These five principles are agnostic to any Agile framework, and guide architecture and design in Agile software development projects. In the next section, we will examine how some of the Agile scaling frameworks approach Agile architecture.
Comparing different enterprise Agile frameworks
Section titled “Comparing different enterprise Agile frameworks”The 14th Annual State of Agile Report 2020 (https://stateofAgile.com) indicates that Scaled Agile Framework has been adopted far more than other Agile scaling frameworks. For this book, we will consider comparing Scaled Agile Framework (SAFe), Disciplined Agile (DA), and Large-Scale Scrum (LeSS).
Scaled Agile Framework (SAFe)
Section titled “Scaled Agile Framework (SAFe)”SAFe (www.scaledAgileframework.com) is built on four values: alignment, built-in quality, transparency, and program execution. Program execution is particularly important in SAFe and is accomplished with a team construct called Agile Release Trains (ART). There are four levels of team constructs in SAFe: portfolio, solution, program or essential, and team.
SAFe defines Agile architecture as a set of values, practices, and collaborations for architecting a sustainable system. The focus areas of Agile architecture in SAFe are a continuous flow of values, collaboration, intentional architecture, emergent design, and design simplicity.
Three key SAFe principles that are related to Agile architecture are as follows:
- Assume variability; preserve options.
- Build incrementally with fast, integrated learning cycles.
- Decentralized decision-making.
Agile architecture evolves over a period of time to support the needs of current customers and avoid delays related to phase-gate processes and big upfront designs. SAFe uses the term, the Architectural Runway as a key focus area in Agile architecture. The Architectural Runway is built to evolve architecture with a series of enablers just in time to support upcoming business features.
Agile architecture in SAFe also emphasizes DevOps, continuous integration, continuous deployment, and release on demand. It also proposes to organize teams around business values with value streams. SAFe also talks about the alignment of architecture with the enterprise architecture technology strategy and roadmap.
Disciplined Agile (DA)
Section titled “Disciplined Agile (DA)”DA (www.pmi.org/disciplined-Agile) is a process- and goal-driven framework with a strong philosophy of ” not one size fits all.” It further provides guidelines for different categories of Agile projects. The framework proposes three stages: inception, construction, and transition. DA offers a lot for architecture in the inception phase, as well as in the transition phase.
In the inception phase, a lightweight, just-enough-upfront architecture will be developed, consisting of an architecture vision, architecture models, and non-functional requirements. One of the first activities in the construction phase is proving the architecture. DA’s belief is that envisioning architecture in the inception phase will help in getting the initial technical direction. DA observes that a good architecture strategy is necessary for the success of the project.
DA is a firm supporter of intentional architecture and emergent design. It states architecture is not a one-time activity; it exists throughout the life cycle of an initiative and evolves through a series of decisions. DA puts a lot of emphasis on appropriate modeling of architecture and design. The architecture modeling requirement is based on the size of the project. DA calls for team collaboration.
During the transition phase, DA emphasizes a continuous delivery life cycle consisting of continuous integration, continuous deployment, and DevOps.
Large-Scale Scrum (LeSS)
Section titled “Large-Scale Scrum (LeSS)”LeSS (https://less.works) uses a simple approach for scaling scrum teams based on basic scrum, Lean, and Agile development philosophies with minimal processes. LeSS defines fewer roles compared to other scaling frameworks to avoid additional overheads. Similar to SAFe, LeSS also puts emphasis on system thinking as a fundamental mental model required to implement long-lasting fixes.
LeSS focuses more on emergent design, collaboratively implemented by the team. The inspirational metaphor compares architecture and design with a desire line in a snow park. Desire lines in a snow park are organically created based on how people naturally choose to walk. They also depend on volumes of people. Where to build them, how to build them, how wide, and so on are not planned upfront. LeSS observes that designs are created based on demand rather than speculatively pushed. LeSS gives adequate focus to technical excellence, with strong references to continuous integration, continuous deployment, test-driven development, and test automation.
Three interesting observations from LeSS on architecture are the following:
- The sum of all the source code is the true design blueprint or software architecture.
- The real software architecture evolves (for better or worse) every day of the product, as people do programming.
- The real living architecture needs to be grown every day through acts of programming by master programmers.
LeSS took a team-centered approach for developing architecture and reiterated that the architecture design is an important activity and must happen within the team.
Just like Agile practices, Agile architecture needs to be measured frequently to determine areas of improvement. In the next section, we will explore a simple measurement framework for measuring Agile architecture practice.
Measuring Agile architecture maturity
Section titled “Measuring Agile architecture maturity”Measuring and improving is as important as adopting Agile architecture. It provides a simple mechanism for teams to reflect, determine areas of improvement, and take the right steps toward the desired target without top-down enforcement. These assessments are done collectively by the team, and help to quantify the maturity of architecture practices and efficiently drive continuous improvements. The measurement system itself must be Agile and Lean to be efficient and effective. These assessments ideally should be done periodically, such as the end of every third iteration.
There is no global ideal target state for these assessments. Instead, self-organized teams determine what their desired state is not required as a team and work toward achieving their goals. The Agile architecture measurement framework shown in the following diagram is based on the five principles of Agile architecture on a five-point scale:

Figure 2.16 – Measuring Agile architecture
For each parameter, as shown in the diagram, the team collectively decides which behaviors score one and which behaviors score five. The spider chart on the right shows the visual view of the outcome. Once the overall score is calculated by summing individual scores, using the maturity model shown in the following diagram reflects the current state of the Agile architecture:

Figure 2.17 – Agile architecture maturity model
The five maturity levels shown in the preceding diagram are adopted from the AgilityHealth radar (https://agilityhealthradar.com).
A number of cues provided for each question to help collective assessment is available in the Git repository for download.
Lessons learned from Snow in the Desert
Section titled “Lessons learned from Snow in the Desert”Snow in the Desert is a fictitious global tour and travel company that we are going to have as a point of reference to get this contextualized viewpoint. We are using Snow in the Desert as a case study for reinforcement of our learning throughout this book. The nature of Agile software development is not prescriptive. Since it is guided, and principle- and practice-driven, there are many ways to embrace and implement Agile engineering concepts. The organization’s context mostly determines adoption, and therefore it is hard to have a generic opinionated view.
In this chapter, we are introducing Snow in the Desert and the way Agile architecture is adopted to accomplish organization agility.
The group has four business verticals, as shown in the following diagram:

Figure 2.18 – Snow in the Desert business units
Snow in the Desert is a company with a long legacy, having footprints across the globe with close to 2 billion USD revenue per year and 6,000 employees. As shown in the preceding diagram, there are four distinct lines of business. The front office consists of brick and mortar shops as well as online sales. The field operations handle the day-to-day operations, conducting tours. The majority of the field operations are outsourced to tour partners. The vehicle and asset management line of business manages operating fleets such as tour buses. The back-office line of business consists of finance, HR, and other supporting services.
Snow in the Desert has its own central IT department with more than 500 employees. Over 100 systems power the business with a mix of home-grown as well as vendor-managed systems.
With the recent economic crisis, Snow in the Desert conducted a review of the entire business. The report from the management consultant alluded to a fat organization and complexity in business processes as key points of failure. The board of directors kicked off a transformation program to bring back agility. As part of this, the IT department was asked to streamline its processes in line with industry trends. The CTO’s vision was to build an IT organization that was nimble, right-sized, and right-shaped to be in a position to respond swiftly to changes in the business strategies.
Traditionally, Snow in the Desert was a heavy waterfall shop. They have been using silos of Agile development for some time. The executive decided to go for a big bang organizational transformation with Lean and Agile product delivery at the center, by choosing SAFe. In the new design, Full SAFe was adopted with a portfolio layer as well as ARTs. The new design resulted in a single portfolio with four ARTs. The following diagram shows those four ARTs, the number of teams, team sizes, and systems associated with each ART:

Figure 2.19 – ART design at Snow in the Desert
We will discuss the full structure in the subsequent chapters, and more details on design decisions in Chapter 12, Architecting Organizational Agility.
Circumventing key challenges in adopting Agile architecture
Section titled “Circumventing key challenges in adopting Agile architecture”The most challenging part of adopting Agile architecture and Agile in general is embracing a new culture. Most of the challenges encountered at Snow in the Desert in their transformative Agile journey were to do with the legacy culture and mindset.
The architecture department was disbanded to align the architecture with the ART and the team constructs. However, adoption was precluded by many teething issues. The team and leadership jointly employed mechanisms to circumvent those challenges, as we see here:
- Missing the art of giving away control: One of the symptoms noted was architects continued to work in silos, not ready to give away control, empowerment, and autonomy to the team. This created an unhealthy tension between the architects and the team. Some teams with smart people crafted solutions in silos without engaging with the team, specifically the architects. On the contrary, some developers with a legacy mindset were expecting architects to provide finished solutions before they could start to code as they were not confident enough to make their own decisions. To address both problems, a formal solution design ceremony was organized in the middle of every iteration for refining solutions for the next iteration, an idea taken from LeSS. We will discuss this further in later chapters.
- Falling into the “urgency of now” trap: One of the other patterns observed during the initial stages of adoption was the lack of forward planning. Teams were not planning ahead sufficiently, irrespective of Program Increment (PI) planning events, and almost discovered work when they were ready to code. As a result, the architecture decisions were taken haphazardly within the iteration. In most cases, this resulted in tactical and accidental architecture. Even though the initial velocity went high, maintenance issues started creeping in as time elapsed, proved costly, and faced difficulties in responding quickly due to the high impact of change. This issue was addressed by formulating a conscious strategy to build a solution roadmap and architecture runway together with the business and other stakeholders. The team set themselves a goal for maintaining the health of the architecture runway and it was diagnosed at the end of every PI consistently. A proper definition of ready, along with the solution design workshop, contributed to improving this situation. We will discuss this more in Chapter 6, Delivering Value with New Ways of Working.
- Dealing with commercial off-the-shelf (COTS) products: Snow in the Desert has many COTS products deployed in their live system environment and are interested in more and more COTS products to support their operations in the non-differentiated areas. Evaluation for selection, product rollouts, and incremental development was considerably challenged as many of these vendors were not on Agile practices. Introducing an MVP first approach for everything, including COTS, was one of the solutions adopted to extract value faster and to reduce risk on contractual commitments. Many lightweight Lean-Agile processes and ceremonies were introduced to improve partnerships with vendors. This is an area mostly not so clear in many of the scaling Agile frameworks.
- Working with legacy systems: One of the biggest challenges was also to work with legacy systems that were not responsive to many of the technological advancements such as automation, microservices, and so on. Considerable investment was required for continuous technical improvements on these live systems. At many times, the business value of such large-scale improvements outweighed the cost of implementation. A top-down program to improve the technical condition with value-driven incremental changes was one of the solutions to this problem. We will discuss this more in Chapter 5, Agile Solution Architect – Designing Continuously Evolving Systems.
- Balancing business and technical backlog items: In the initial period of adoption, there has been a considerable struggle between mixing functional backlog items and technical backlog items when drawing down for iterations or PIs. Business functionalities have been given precedence over technical features in prioritization exercises as they directly impact business and, therefore, better value for money. Product owners always want to pack functional backlog ahead of technical backlog, resulting in the aging of technical backlog items, in turn piling up tech debts. This is effectively addressed by implementing top-down capacity allocation models with dedicated buckets for different backlog items. We will discuss this more in Chapter 6, Delivering Value with New Ways of Working.
These symptoms and many others may appear in any organization’s journey toward adopting Agile architecture. Documenting detailed process steps, a Responsibility Assignment Matrix (RACI), and role boundaries are the worst approaches for fixing Agile architecture adoption challenges, which prevent teams from self-organizing. The golden mantra is to identify change agents within the team and make them champions in the transformation journey. Change agents take further steps to repeatedly communicate, reinforce, and demonstrate a Lean-Agile mindset. Keep expanding the circle of influence to include more and more people as the journey takes shape.
Agile architecture process flow and poster
Section titled “Agile architecture process flow and poster”The high-level architecture flow of work is documented and is available for download from the Git repository using the following link: e.
We will cover this flow of work in Chapter 3, Agile Architects – The Linchpin to Success, and Chapter 4, Agile Enterprise Architect – Connecting Strategy to Code.
The Agile architecture poster is also available for download from the Git repository using the following link: https://github.com/PacktPublishing/Becoming-an-Agile-Software-Architect/tree/master/Chapter2.
Both the process flow and Agile architecture posters are prepared based on the SAFe approach to adopting Agile architecture.
Summary
Section titled “Summary”To respond rapidly to changes in the business, IT organizations are expediting enterprise Agile framework adoptions at scale. Traditional architecture development methods don’t add value in the fast-moving iterative Agile software development, and cannot survive any longer. Therefore, Agile architecture practices are important. Instead of big upfront designs, iterative and just-enough architecture using intentional architecture and emergent design is the way forward.
Agile architecture development is a collaborative effort. It must support the continuous flow of values with a Lean-Agile mindset to actively eradicate any non-value-added features and activities. The team must adapt and practice continuous refactoring with repeated and fast learning cycles. Architecture should enable agility in product delivery by vigorously seeking opportunities to adopt proven patterns and techniques such as DevOps, continuous delivery, microservices, and so on. Agile architecture practice must be monitored and measured all the time to determine improvement steps. Successful adoption of Agile architecture can produce fit-for-purpose, sustainable, and quality solutions faster, at optimal cost.
As we have learned in this chapter, Agile architecture is a team effort. This perspective creates many questions about the role of architects in Agile. The next chapter will focus on the role of architects in Agile software development and addresses some of the challenges.
Further reading
Section titled “Further reading”- History of Software Engineering with Grady Booch: https://www.youtube.com/watch?v=QUz10Z1AfLc
- Iterative and Incremental Development, A Brief History: https://www.craiglarman.com/wiki/downloads/misc/history-of-iterative-larman-and-basili-ieee-computer.pdf
- Software Engineering, NATO Science Committee Report: https://www.scrummanager.net/files/nato1968e.pdf
- Managing The Development of Large Software Systems: http://www-scf.usc.edu/~csci201/lectures/Lecture11/royce1970.pdf
- 14th The Annual State of Agile Report: https://explore.digital.ai/state-of-Agile/14th-annual-state-of-Agile-report
- Heart of Agile: https://heartofAgile.com
- IEEE1471 and Systems Engineering: http://www.mit.edu/~richh/writings/ieee1471-and-SysEng-(draft).pdf
- The Role of an Architect in an Agile Team: https://channel9.msdn.com/Events/TechEd/Australia/2010/ARC204
- What is your definition of software architecture?: https://resources.sei.cmu.edu/asset_files/FactSheet/2010_010_001_513810.pdf
- Software Architecture and Agile Development: https://resources.sei.cmu.edu/asset_files/Presentation/2010_017_001_23424.pdf
- Contextualizing Just Enough Upfront Design: http://www.codingthearchitecture.com/2012/01/05/contextualising_just_enough_up_front_design.html
- How much up-front? A grounded theory of Agile Architecture: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.702.4489&rep=rep1&type=pdf