Skip to content
ImagineWorld

Agile Architects – The Linchpin to Success

node_idnode-book_becoming-an-agile-software-architect_chapter-03-agile-architects-the-linchpin-to-success
node_typechapter-node
schema_profileworld.chapter_node.v1
statusactive
entropyhigh
manifoldworld
domainimagineworld.net
authorityinforms
layercorpus
chapter_num3
chapter_titleAgile Architects – The Linchpin to Success
governed_byCORPUS
constitutional_citationCONSTITUTION
local graph

Chapter 3 — Agile Architects – The Linchpin to Success

Section titled “Chapter 3 — Agile Architects – The Linchpin to Success”

“Architects, absorbed as they are in contemporary problems of design, devote little time to questioning the assumptions underlying their work.”

- Sotirios Kotoulas (Supervised Wuskwatim Hydroelectric dam in Northern Canada)

In the last chapter, we learned about collaboration to achieve collective ownership being one of the key Agile architecture principles for developing evolving solutions. Collective ownership ensures all team members equally own decisions and share responsibilities to drive toward achieving the architecture vision.

While the team self-organizes in a way that delivers maximum value with agility, critical architecture decisions need to be taken carefully to avoid long-lasting impacts on the quality and sustainability of solutions. Therefore, it is crucial to have one member of the team hold the baton while the rest of the team swarms around and contributes actively to make correct, pragmatic decisions with consensus. The person who has the baton is typically an architect who can think outside the box with full awareness of the business context and purpose. Architects operating in Agile software delivery have to unlearn the traditional operating models and consistently make use of a new set of skills and knowledge with a lean-Agile mindset.

This chapter will focus on challenges in the traditional architect role when operating in Agile software delivery. A number of metaphors are used to explain Agile architects’ roles, responsibilities, and ways of working. A critical point to examine is how different Agile scaling frameworks treat architects differently.

In this chapter, we’re going to cover the following main topics:

  • Understanding the challenging environment of architects
  • Why self-organizing teams propel the no architect movement
  • Architects are vital in Agile – the question is who plays that role?
  • Explaining an Agile architect’s behavior and duties with metaphors
  • How different scaling frameworks position architects
  • Learnings from Snow in the Desert

This chapter focuses on the Agile Architect focal point of the Agile Architect Lens:

Figure 3.1 – Agile Architecture Lens – focal point

Additional materials related to this chapter are available at the following link for download:

https://github.com/PacktPublishing/Becoming-an-Agile-Software-Architect/tree/master/Chapter3

Understanding the challenging environment of architects

Section titled “Understanding the challenging environment of architects”

Today’s lean and dynamic software development environments pose many challenges for architects. Agile software development has amplified these challenges since many traditional practices do not go very well with Agile delivery. Confusing architect roles, commanding and controlling ways of working, bureaucratic governance, and tons of disconnected documentation are causes for concern. An in-depth analysis of these challenges follows in the next section and will help us learn about the sources of pain to rediscover and reposition architects to deliver better value to an organization.

A myriad of architect roles have impacted clarity

Section titled “A myriad of architect roles have impacted clarity”

The term architect opens a Pandora’s box of confusion. The architect role is still one of the most misunderstood roles in the software development world. Unlike some other roles, such as product manager or Scrum master, there is no unified role definition for architects in Agile software development. While many internet giants are getting rid of architect titles from their organizations, architect designations across the software industry remain endless.

Used to represent any type of architect, software architect is the general umbrella term used in the software industry. The Wikipedia definition of a software architect is as follows:

“A software architect is a software expert who makes high-level design choices and dictates technical standards, including software coding standards, tools, and platforms. The leading expert is referred to as the chief architect.”

As you can imagine, some of the keywords in this definition, such as makes, which refers to decisions, high-level, and dictates are antipatterns in an Agile culture. IASA Global, an association of IT architects, defines an IT architect as a technology strategist for a business. IASA uses five pillars to represent an IT architect in its Information Technology Architecture Body of Knowledge (ITABoK).

These five pillars are illustrated in the following diagram:

Figure 3.2 – Five pillars of an IT architect’s responsibilities

An IT architect is a person who operates on the five pillars shown in the preceding diagram, which are further explained here:

  • Business Technology strategy: Defines how technology aligns with the business goals and understanding the operations of the business
  • Human dynamics: Emphasizes leadership and communication qualities such as managing and influencing people and their interactions
  • Quality attributes: Focuses on addressing the quality of solutions that are measured and monitored
  • Design: These are attributed to key elements are decisions including justifications, rationale, trade-offs, architecture styles, patterns, and so on, developed in response to business needs
  • IT environment: Deals with how operations are carried out, building new capabilities and making decisions such as buy versus build; also concerns the technology in use, and innovations

IASA further breaks down the IT architect role into three concrete roles – Enterprise Architect, Solution Architect, and Technical Architect. SFIA, the global skills and competency framework, defines architect roles as Enterprise Architect, Solution Architect, and Business Architect.

In reality, there are numerous architect job titles used for different purposes by different organizations. This range varies from narrowly scoped architect titles such as NFR architect, lead API architect, and so on to broad level titles such as pre-sales architect, IT architect, and so on. Architect titles vary between types of organizations. Business IT companies use more standard job titles closer to IASA and SFIA definitions, whereas service companies use architect titles more as a medium for marketing. Technology companies use architect titles closer to the technologies they operate in, such as cloud solution architect. Product companies often use specific titles matching their products, such as Snowflake architect.

Countless architect titles with varying responsibilities have contributed adversely to the source of confusion as there is no single frame of reference.

In traditional software development, often, architects are far away from the ground, yet make architecture decisions. As a result, architects’ low perceived value tempted many organizations to remove architects from their projects.

The following diagram illustrates a few potential challenges from the traditional software development world:

Figure 3.3 – Symptoms that slow down team velocity

The three key symptoms of architects slowing down delivery are described in the following sections.

Ivory tower architects can’t see the ground

Section titled “Ivory tower architects can’t see the ground”

The term ivory tower refers to privileged people disconnected from the facts and practicalities of the real world. Ivory tower architects work in a centrally managed group, away from the team, without having the project’s context but still making decisions based on what they think. Ivory tower architects are dogmatic in their approach, often using obsolete standards and a bunch of unproven, non-consumable architecture documentation to command and control developers.

This ivory tower approach is strikingly different from the practices and principles of Agile architecture, such as decentralized decision making, collective ownership, and simplicity. Ivory tower architects wait for phase gates to introspect, and then inspect alignment, substantially slowing down the continuous flow.

Architecture astronauts can’t write code or design programs

Section titled “Architecture astronauts can’t write code or design programs”

In a similar line as ivory tower architects, Joel Spolsky called architects displaying particular behavior architecture astronauts. He mentioned in his article Don’t Let Architecture Astronauts Scare You observing that architects abstracting themselves far away run out of oxygen. Spolsky further explained this behavior as architects who have not written code for ages, wholly disconnected from reality, yet produce nice, high-level pictures that do not convey anything useful.

In Agile architecture practice, decisions are based on collective intelligence with no handoffs. It is a general belief that traditional architects, over time, get outdated and disconnected from technologies, and hence they no longer understand the nitty-gritty of technologies. When these architects define solutions, they only scratch the surface and therefore carry higher degrees of risk.

Architecture policing only adds roadblocks

Section titled “Architecture policing only adds roadblocks”

This analogy of architecture policing is also in line with previous scenarios. These types of architects focus their time and energy on stage-gated governance using intensive bureaucratic processes. They focus on zero tolerance and blind enforcement of compliance using standards and policies over context, purpose, value, and business impact.

Agile architecture promotes alignment over governance using rapid feedback cycles. Since policing types of architects focus on governance, they hardly spend time on business strategy alignment and communicating vision and purpose to the team. Doing so further weakens the team’s ability to deliver business solutions with a sense of purpose.

The perception developed from these symptoms raised questions about the architect’s role in self-organizing teams. We will elaborate on this in the next section.

Self-organizing teams propel the no architect movement

Section titled “Self-organizing teams propel the no architect movement”

One of the manifesto principles for Agile software development states that the best architectures and designs emerge from self-organizing teams. Members of the team have to share their knowledge and efforts to make the right architecture decisions.

Many organizations and teams interpreted this manifesto principle differently. As a result, two movements emerged in the early days of Agile software development. One tried to eliminate architects from Agile projects, whereas the other movement promoted architects and portrayed engineers just as developers.

The proponents of eliminating architects justified their position by pointing to the Scrum methodology, where there is no explicit architect role defined. Scrum defines only three roles – product manager, Scrum master, and development team. This movement also pointed out the affordability of architects in teams. Agile teams typically consist of seven to eight members, and therefore the argument was that a dedicated architect in every team impacts velocity.

As a result, many Agile projects ran without architects. When there is no architect to hold teams technically together with a shared vision, they lack a holistic and connected view of the solution.

With no architect in place, developers code without thinking about architecture and design. Developers make decisions as they code. As a result, architecture tends to be treated as a post-delivery documentation activity of what has already been implemented.

Grady Booch coined the term accidental architecture back in 2006 in the IEEE journal The Accidental Architecture. He observed that accidental architecture appears in development projects that do not start with architecture. Booch echoed Philippe Kruchten’s observation that the architecture evolves through a long and rapid succession of suboptimal decisions taken often in the dark. Booch concluded with a statement that accidental architecture are not evil things but are necessary for the organic growth of systems. When there is no focused attention and skills to see the intention and business context of the architecture, these suboptimal decisions can lead to catastrophic disasters. Following this line of thought, Brian Foster and Neal Ford coined the term accidental architect, at the O’Reilly Software Architecture Conference, as someone who takes architecture decisions without a formal architect title.

The Winchester Mystery House in San Jose, California, is a classic metaphor of an accidental architect in the real world. It is an architectural wonder and is known to be one of the world’s most haunted houses. It was built by Sarah Winchester in 1886 as advised by a medium after she lost her daughter and husband. The advice from the medium was to build the house to home all the spirits that haunted her. The mansion was built with no architecture, no vision, and no blueprint. The mystery house has 160 rooms, 2,000 doors, 10,000 windows, 47 stairways, 13 bathrooms, and 6 kitchens with one of the most abnormal constructions. Staircases span across multiple levels before ending without exit, doors face walls, and pathways lead to dead ends.

New generation developers easily get inspired by new technologies. Working with new technologies keeps them motivated. Often, developers adopt these shiny new technologies without looking holistically using systems thinking. Even though some of these technologies can bring immediate benefits, projects may suffer from long-term cost, quality, and maintenance challenges. Developers lose focus under pressure, and they shift their passion as they find new attractive technologies.

As shown in the following diagram, at a certain point, complexity goes beyond what developers can manage:

Figure 3.4 – Impact on velocity with no architect

As shown, over a period, simple maintenance may turn into days and weeks, and deployments become nightmares. This maintenance challenge resonates with Brian Foote and Joseph Yoder, documented as the Big Ball of Mud pattern. They observed that, despite the best intentions and efforts of developers, a lot of software turns into a Big Ball of Mud.

Neal Ford, Rebecca Parsons, and Patrick Kua mentioned in their book Building Evolutionary Architectures: Support Constant Change, quoting Rich Hickey, the creator of Clojure, that developers understand benefits but fail to consider trade-offs. Neal Ford and the team added to that, stating architects must understand both benefits and trade-offs to build better engineering practices. Yegor Bugayenko, founder and CEO of Zerocracy, mentioned in his book Code Head volume 1 that teams can effectively resolve technical conflicts if there is an explicit architect role in the team.

These statements echo that the architect’s role in a team is an absolute necessity, not a nice-to-have. We will establish this further in the next section.

Architects are vital in Agile – the question is who plays that role?

Section titled “Architects are vital in Agile – the question is who plays that role?”

The survey published by 6point6.com in 2017 revealed the importance of architects in Agile projects. As per the survey, 68% of CIOs agreed teams require more architects when Agile development is used at scale. CIOs reinforced that strategy, architecture, and oversight play an important role in the success of enterprise-scale Agile delivery, and therefore architects are essential.

Raymond Slot’s Ph.D. thesis A method for valuing architecture-based business transformation and measuring the value of solutions architecture underlined the importance of solution architects.

Slot observed the following when architects are assigned to projects:

  • A reduction of 19% in project budget overrun and a 40% reduction in time overruns.
  • Due to better predictability, budget overruns reduced from 38% to 13%.
  • Customer satisfaction increased from 0.5 to 1 on a scale of 1 to 5.
  • Success increased by 10% with an improvement in overall technical fit.

Slot’s thesis demonstrated substantial positive effects on projects when solution architects are in place. Architecture is often one of the most critical risks in project delivery. Therefore, special attention from architects is immensely important to avoid delay, rework, and failures.

Organizing Agile architects – none, volunteered, designated, or dedicated

Section titled “Organizing Agile architects – none, volunteered, designated, or dedicated”

Collective ownership drives better solutions as it encourages ideas from everyone. But this is possible only by collaboratively making decisions with members of the team. Successful collaboration only occurs within a cohesive boundary. Therefore, Agile architects must stay within those cohesive team boundaries.

Depending on the context, architects may be differently organized in different teams, as illustrated in the following diagram:

Figure 3.5 – Different ways of organizing architects in teams

In the None scenario, there is no architect in a team. As a result, the team focuses on delivering code based on assigned stories with almost no clear thinking about architecture and design. Decisions are taken on the fly by individuals in isolation based on their knowledge and perception. Depending on the individual’s capabilities, a high risk of failure may surface in terms of quality and sustainability. Such solutions may lead to accidental architecture and the Big Ball of Mud pattern.

In the Volunteered scenario, there is no specific architect in the team. Rather, anyone in the team may play the lead role in architecture and design decisions. Since there is no one person, role switching occurs quite frequently. This approach is very efficient for less complicated and smaller-sized projects such as startup incubation, MVPs, and so on. The success of this model is attributed to the team’s maturity and capability.

A Designated architect is a part-timer, mostly a senior developer who plays an architect role in the team in addition to regular day-to-day development activities. The designated architect offers technology leadership and also engages everyone in the team cohesively to deliver high-quality products. The success of this model depends on the capability of the developer in addition to complexity and scale.

A Dedicated architect is a seasoned architect grounded full-time in the team. Dedicated architects are technically sound, often exceptionally good at programming. Dedicated architects split their capacity by mostly spending time on driving architecture collaboratively with the team. At the same time, a small amount of capacity will be reserved for sharing some development pain, such as code optimization, debugging, automation, pattern development, and so on. This approach is a good fit for projects with higher complexity and scale where architects need more brain space to think beyond the work in progress and constraints of today and the required coordination between teams.

Different roles played by Agile architects

Section titled “Different roles played by Agile architects”

This book focuses on two critical roles of an Agile architect – enterprise architect and solution architect. In addition to these two recognized roles, architects may play other roles such as part-time developers, product owners, and external stakeholders such as specialist architects.

Various roles played by Agile architects are depicted in the following diagram:

Figure 3.6 – Different roles played by Agile architects

The different roles are explained in the following sections.

Agile architect as an enterprise architect

Section titled “Agile architect as an enterprise architect”

Enterprise architects in Agile software delivery connect strategy to code by closely participating in development activities. Enterprise architects are responsible for helping teams shape up the solution vision by balancing business strategy with IT strategy. Enterprise architects act as active advisors to the business and IT leadership on strategy and investments. They also ensure the system landscape is healthy and evolves continually by appropriately modernizing, rationalizing, and decommissioning systems.

Compared to the traditional world in Agile software delivery, enterprise architects have different roles, responsibilities, and ways of working. We will further explore the enterprise architect role in Chapter 4, Agile Enterprise Architect – Connecting Strategy to Code.

Solution architect is one of the most critical roles in Agile software development, primarily responsible for supporting the incremental evolution of sustainable solutions with minimal redesign costs. It is the responsibility of solution architects to ensure the quality of the software delivered to customers is of the highest standard. Solution architects foster technical skills and also act as the glue within and across teams.

We will discuss more about solution architects in Chapter 5, Agile Solution Architect – Designing Continuously Evolving Systems.

In Agile software delivery, architects should always keep engaged with the team throughout the development cycle. This continuous engagement will help architects to understand the challenges on the ground and adjust architecture and design accordingly. Architects are not regular developers but can write quality code when needed. They frequently help developers to debug and optimize design and code. Architects need to keep a portion of their capacity to look after current and near-term architecture needs, and therefore architects limit code-level activities.

The product owner role is specialized, and it needs attention and is important. However, in some cases, architects need to play the product owner role. Architects playing the product owner role are mainly required at the beginning of an initiative, such as the sprint 0 or inception phase, where teams spend time on ideating architecture, design, and technology for the solution. It is a common scenario for architects to play the product owner role until the solution is shaped up and ready for development.

In some cases, if the team is developing technical products, platforms, or technical components, solution architects act as the technical product owner for those teams.

Specialist architects such as security architects, business architects, information architects, and so on may stay outside of the team as day-to-day engagement with the team is not necessarily required. Moreover, it is not economically viable to have specialists in every team when implementing Agile development at scale. In such cases, specialist architects act as a consultant to the team as a Scrum stakeholder. Special planning is required to engage these architects as they must not delay development teams’ velocity.

Essential skills for Agile architects to be relevant

Section titled “Essential skills for Agile architects to be relevant”

The ultimate responsibility of Agile architects is to do the right thing in a way that delivers significant value to the business and its customers.

To accomplish this goal, Agile architects need to have four critical skills, which are captured in the following diagram:

Figure 3.7 – Different skills of an Agile architect

As depicted in the preceding diagram, four skills that define architects’ success are the ability to work at the strategic and organizational leadership level, expertise in the business domain, lean-Agile leadership, and technical excellence. The following list explains this better:

  • Domain Expertise: Agile architects with deep domain expertise can have meaningful conversations with a business to clearly understand its purpose, vision, and objectives. It helps Agile architects to align and blend business strategies with IT strategies with a sense of pragmatism. It also helps Agile architects to understand the business value and business impact of architecturally significant requirements and quality attributes.
  • Technical Excellence: Agile architects have to be at the forefront of technologies. Technical craftsmanship helps Agile architects in bringing out realizable innovative ideas to solve burning business issues. In addition to that, technical excellence helps to build cost-effective, sustainable technical solutions that fit the purpose of business. It also allows architects to earn respect among the developer community. We will discuss more of this in later chapters.
  • Lean Agile Leadership: Most organizations see architects as trusted advisors and leaders at the highest level of the organizational decision process. An architect is someone who can speak the business language, IT leadership language, and the language of the developer community. We will discuss this in Chapter 13, Culture and Leadership Traits.
  • Strategy: Agile architects should have broader knowledge than core technical concepts. Architects should handle business strategy and IT strategy, its implications, and investment decisions with a holistic, big picture view.

Most traditional skills are no longer valid and have to be unlearned. Architects need to ruthlessly prioritize activities to support the continuous flow of values to deliver long-lasting solutions. To enable the flow of work, architects need to continually focus on many areas such as delivering business value over architecture diagrams, technical agility over rigid designs, balancing sustainability with quality attributes, communication over documentation, and alignment over centralized decision making. We will cover these topics in later chapters.

So far, we have learned the importance of architects in Agile software delivery. Now we are in an excellent position to explore the duties and behavioral changes of Agile architects.

Explaining the Agile architect’s behavior and duties with metaphors

Section titled “Explaining the Agile architect’s behavior and duties with metaphors”

In many organizations, such as Spotify, culture is one of the biggest differentiators. The key change in culture is the shift from ownership to selfless collaboration and sharing. The collaborative mindset is deeply connected to the new ways of working of architects in Agile software development. Culture, behavior, and workstyles determine the success of an individual as well as the outcomes delivered.

The changing behavior of the Agile architect

Section titled “The changing behavior of the Agile architect”

Agile architects continuously collaborate with all stakeholders, with long-term success in mind, to support forward engineering plans, decision making, and alignment to an architecture vision. A collaborative culture and mindset foster better communication, knowledge sharing, trust, and respect among team members and architects.

Almost all Agile software development methodologies strongly advocate self-organized teams with creative ways of collaborating over institutionalized boundaries between many roles. Since no two teams are identical, even within the boundaries of a single organization, the need for collaboration and guardrails around self-organizing must evolve from within teams. Unified teams confidently deliver faster results with higher levels of quality. John Kotter, professor of leadership, in his book Leading Change, called this a guiding coalition. He observed, a guiding coalition operating as an effective team can process information far more quickly.

The following diagram shows a spectrum of different approaches architects employ to define solutions:

Figure 3.8 – Different approaches to a solution definition

Architects are Dogmatic in the traditional world, creating designs with no room for developers to apply their creative thinking, almost like a construction architect. Then comes the Specify approach, as shown in the preceding diagram, where designs are delivered as a set of specifications, including API contracts, design patterns, a technology stack, architecture blueprints, and so on. While this offers more freedom for developers than the dogmatic model, this still limits developers’ creativity as they always need to stick to the given specification. Since, in most cases, architects only share specifications, not the underlying purpose, developers lose opportunities to apply their intellectual abilities to explore better alternate solutions. The other extreme of Dogmatic is that architects remain too Generic by only setting standards and guidelines, giving developers full freedom to innovate. Staying generic may lead to accidental architecture, as we discussed earlier.

Agile architecture needs another innovative model for architecture development, which is missing from this spectrum. In a highly collaborative approach, teams can appropriately adjust solutions through direct communications, mutual understandings, and continuous feedback. Frequent collaboration balances architecture decisions by valuing engineers’ voices and applying the expertise of architects.

To ensure higher cohesion and collaboration between architects and developers, the architect must be part of the team as just another member, not an elite or superior person. Architects need to demonstrate egoless collaboration with a serving and enabling mindset. The Mythical Man-Month, authored by Frederick Brooks back in 1975, has some great suggestions on how architects must change their behaviors to achieve the best outcomes. Brooks reminds us that the developer has the creative responsibility for implementation. Hence the architect should only suggest solutions, not enforce decisions. Fred goes on to ask architects to be prepared to accept counter approaches, which are equally good and give credit for such improvement suggestions.

In summary, architects must learn the art of giving away control by strictly moving away from the traditional command and control leadership style. We will discuss more on this topic in Chapter 13, Culture and Leadership Traits. A new set of metaphors, which we’ll learn in the next few sections, are helpful to understand the collaborative behavior of Agile architects.

Gardener – continuously nurture and grow

Section titled “Gardener – continuously nurture and grow”

Agile architecture is a continuous activity. The book The Pragmatic Programmer: From Journeyman to Master, authored by Andrew Hunt and David Thomas, brought in the gardener metaphor to represent an architect as an alternative to a construction architect.

The authors expressed their view that architecture development is like gardening, which is a continuous process and is organic. The garden needs to have an initial plan – the intent or master plan. The gardener starts with that plan, but some parts of the plan may not work, which triggers replanting and rearrangement. Some plants may need to be taken out as they are no longer relevant or attractive. Overgrown plants need to be cut or pruned. Weeds need to be removed and fertilizers added to those plants that need special care. Small amounts of daily care and nurturing are required to maintain the garden in good shape and condition.

The gardener has the ingrained responsibility of taking care of plants by working in the garden every day as a caretaker. Like gardeners, architects are responsible for nurturing and maintaining the health of systems through continuous refinement.

Interior designer – listens to customers and glues ideas together

Section titled “Interior designer – listens to customers and glues ideas together”

Interior designer is another good metaphor for understanding the new behavior of Agile architects. An interior designer always demonstrates collective and collaborative behavior between the designer and the customer.

The worst behavior an interior designer can exhibit is a stubborn character by forcing their ideas on the customer. A good interior designer is a people-focused person, an excellent listener, and a good communicator. Interior designers always listen to the customer’s needs and their purpose. They then assess the environment to check the viability and further enhance the customer’s ideas by applying their subject matter expertise before sharing what is possible. The interior designer continuously adjusts solution thinking as the customer shares new ideas. These adjustments are typically made over a series of collaborative and open conversations. When something is technically impossible, the interior designer will openly express such challenges to avoid reputation damage.

Kathy Kuo, an interior designer, observed that in most cases, interior designers work with customers and listen to their ideas. Sometimes customers may have their opinions based on what they have seen somewhere. The interior designer’s job is to keep an open and positive mindset to get a good grasp of those ideas and play back to customers so they feel comfortable by stitching good ones together with a flair of design and confidence. Most customers, probably, will straight away accept those solutions because it came from them.

The interior designer’s approach completely resonates with what architects have to do in Agile software developments. In many cases, smart developers may have bright ideas. Architects just need to connect dots, look at holistic alignment, make minor adjustments through feedback, and, most importantly, encourage them with a sense of confidence.

Elevator – champions in communicating top to bottom

Section titled “Elevator – champions in communicating top to bottom”

The elevator architect metaphor presents the holistically connected nature of Agile architects. The elevator metaphor comes from the book The Software Architect Elevator, authored by Gregor Hohpe. Gregor compared the enterprise with a large, multi-floor building where the topmost floor is the business – the penthouse, and the bottom floor is where the developers sit – the engine room. There are many floors in between the business in the penthouse and the developers in the engine room. These floors are filled with many management staff. The challenge with such an organization is the disconnect between business and developers as messages are wrongly interpreted and sometimes even corrupted as they pass through different floors.

Gregor then positions architects as the connecting mechanism, the elevator that rides between the top floor and the bottom floor. The elevator architect runs up and down and passes messages to different floors without losing their essence.

Architects are well-positioned to do this job as they can very well translate business strategy to IT strategy and code the strategy together with developers. Potentially, architects are the only ones who speak both languages very well – strategy and code.

Sous chef — a leader on the floor but hands-on too

Section titled “Sous chef — a leader on the floor but hands-on too”

The sous chef metaphor represents architects as the best-in-class programmers who can code and offer technical leadership.

In large restaurants, the sous chef is the second in command in the kitchen. The executive chef is responsible for the overall restaurant but is usually disconnected from the kitchen floor and focuses more on management. The sous chef is hands-on and manages almost all operations in the kitchen. These include handling recipes, directing food presentations, keeping the kitchen in order, training new chefs, and, more importantly, ensuring the food that goes to the customers is of the best quality standards. They are also responsible for ensuring the kitchen equipment is in proper working condition. The sous chef may even fill in for the executive chef occasionally.

Like a sous chef, an Agile architect is an expert in the field, leads technical activities, is conscious of the quality of outcomes, is hands-on, and can code. The architect, like the sous chef, has a full view of the system landscape, current and near-term evolution, and often has attention spans across multiple teams.

The challenging duties of the Agile architect

Section titled “The challenging duties of the Agile architect”

Donald Rumsfeld, former US Secretary of Defense, coined the term known unknowns and unknown unknowns. Known unknowns are risks related to things that you know, and you can plan for, such as the risk of using new technology for a purpose. The purpose might change, or the technology may not perform as intended. An unknown unknown is something that you don’t even know because it never existed before, such as the COVID-19 pandemic that has changed the world. In Agile software development, an architect has to deal with not only the known knowns but also the known unknowns and unknown unknowns.

The following diagram captures various scenarios that Rumsfeld pointed out in his known unknown model:

Figure 3.9 – The known unknown model

Unknown Knowns are due to a lack of skills, capabilities, or foresight. Known Knowns are handled adequately using the available data and facts. Known Unknowns are things that are thought about but not implemented today based on anticipation, such as planning for incremental scaling. Unknown Unknowns are really hard to visualize and are generally handled by building evolvable architectures. Evolvability may not always guarantee that the system can handle unknown unknowns, but it can reduce the surface area of impact.

In Agile development, known unknowns and unknown unknowns make the architect’s life more tedious and challenging. A number of metaphors are used in this chapter to explain different perspectives on the demanding duties of Agile architects.

The iceberg — unknowns are more than known

Section titled “The iceberg — unknowns are more than known”

Architects in Agile software development need vision, technical excellence, and a flexible mindset to think beyond what is known today. Architects need to be trained and prepared to respond swiftly to demand as they discover new knowledge.

The following diagram is an illustration of an architect’s challenges with the help of an iceberg:

Figure 3.10 – Iceberg model for visualizing unknowns

It is similar to the iceberg shown in the diagram, where only 20% of the iceberg is visible and the rest you may have to assume. Measurement of the iceberg is only possible based on the size and shape of the visible part of the iceberg. You may be able to visualize a smaller portion of an iceberg underwater, but a larger portion deep under the sea cannot be imagined. The sizing of the iceberg is extremely complicated as it varies with the formation.

Agile architecture promotes architecture evolution in terms of value delivery proportionate to changes in customer needs. You may have only around 20% of known requirements and 80% of assumptions at the beginning. The assumptions will be eliminated as clarity is gained on customer needs, as shown in the following graph:

Figure 3.11 – An Agile architect’s clear assumptions over a period of time

This infinite scope in Agile solution development, mostly dealing with unknown requirements, poses enormous challenges for Agile architects. Incredibly in-depth knowledge in the domain, mastery of technical agility, and extensive market intelligence is exceptionally critical to foresee the unknowns. Besides, developing a genuinely evolvable architecture that reduces the blast radius is a vital aspect to consider. Lastly, using techniques such as hypothesis-based solution development and delaying decisions to the last responsible moment are useful techniques in Agile software development.

The horse and buggy – always the horse ahead of the buggy

Section titled “The horse and buggy – always the horse ahead of the buggy”

Architects in Agile software development have an inherent responsibility not to submerge in the urgency of now. Architects always need to look ahead and spearhead in planning essential changes in architecture and design before they hit and potentially slow down the team’s velocity.

In the horse and buggy scenario, the horse always runs ahead of the cart, pulling it forward in the right direction. The horse runs a few steps ahead of the cart, still maintaining a rhythm between the horse and the buggy. Since the horses and carriage are well-connected, one cannot move faster than the other.

The following diagram captures this scenario with a mapping to Agile teams and various roles:

Figure 3.12 – The horse and buggy model

In Agile development, the Product Owner and architecture are analogies for the two running horses. These two roles run a little ahead and spend their energy on shaping up the product, based on the vision and roadmap. The product owner and architect work hand in hand, ensuring the product is well rounded with functional and non-functional requirements.

The camera – decide at the last possible moment

Section titled “The camera – decide at the last possible moment”

The third useful metaphor to understand an architect’s challenges is a camera’s exposure control settings, typically seen in SLR cameras.

The following exposure triangle captures the three key exposure settings:

Figure 3.13 – Exposure triangle

A photograph’s quality is determined by the exposure triangle – Aperture, Shutter Speed, and ISO Speed, as shown in the diagram. These three parameters together adjust natural light to optimal exposure levels for a better photograph. A professional photographer sets these values just in time before clicking. Since natural light levels change continuously, setting these values much in advance may result in the wrong exposure levels. Taking a picture is even more challenging when you are taking a flying subject, such as an aircraft. You will get the best images when you set exposure levels at the last possible moment. Delaying for too long may not give you sufficient time to adjust the exposure levels perfectly.

It is key for architects to determine the last responsible moment for architecture decisions to be made in Agile software development. Making decisions too early may result in the wrong decisions due to the non-availability of information and, therefore, the high cost of a rework. Making decisions too late may result in delay costs. An architect needs to balance the cost of a rework and delay costs to identify the Last Responsible Moment (LRM).

Air traffic control – continuously prioritize inflow

Section titled “Air traffic control – continuously prioritize inflow”

An airport with a single runway operation cannot allow more than one aircraft to land or take off within a short span of time. Air Traffic Control (ATC) uses a holding pattern to control the flow of incoming aircraft.

The following diagram captures a typical aircraft holding pattern:

Figure 3.14 – Aircraft holding pattern

An aircraft holding pattern is an approach used for sequencing landing operations. Even if an aircraft is in an airport’s vicinity, ATC may not give immediate landing permission, primarily due to air traffic congestion. Airplanes waiting for permission to land may go into a holding pattern, a vertical stack in which every aircraft is vertically separated. The first aircraft entered into the holding pattern will be at the bottom of the stack, and new ones will go to the top of the stack. Generally, airplanes from the bottom of the stack will be allowed to land first. While this is usually the standard pattern, aircraft that need to land urgently will be allowed to bypass other holding airplanes. ATC is authorized to prioritize aircraft based on a number of other parameters as well.

In Agile software development, the architect, together with the product owner, continuously prioritize backlog items for development. Structured methods and practices are used to prioritize both functional and technical backlog items.

The periscope – see things that cannot be seen otherwise

Section titled “The periscope – see things that cannot be seen otherwise”

As per the Oxford Advanced Learners Dictionary, a periscope is a special apparatus with a tube and a set of mirrors used typically in a submerged submarine or behind a high obstacle to see things that are otherwise out of sight.

This scenario is illustrated with the help of the following diagram:

Figure 3.15 – Periscope to see things you usually can’t see

Often, architects see things through a different lens than developers. While developers view things from a coding and delivery perspective, focusing on solving their immediate challenges, architects use a different mindset, hovering around business purpose, value, trade-offs, and quality with a long-term and near-term view.

Architects use a system thinking approach to understand the holistic view of the system landscape instead of fragmented solution deployments. System thinking allows architects to occasionally make small adjustments to certain components with the notion that system architecture will achieve eventual integrity over time.

With this clear understanding of how architects’ behaviors and duties are changing in Agile software development, let’s review how different Agile scaling frameworks handle architect roles.

How different frameworks handle architect roles

Section titled “How different frameworks handle architect roles”

There is no architect role in Agile software development methodologies such as Scrum. These frameworks fundamentally reiterate the principle of the Agile Manifesto where the best architectures emerge from self-organizing teams. However, when product development scales across multiple teams, the architect role becomes essential for technical leadership and alignment. Therefore, most of the Agile scaling frameworks explicitly reference Agile architect roles.

Scaled Agile Framework (SAFe) treats architecture as one of the major disciplines. There are three architect roles defined in SAFe – enterprise architect, solution architect, and system architect. However, architects are positioned outside teams, which is a significant deviation from the principles of the manifesto for Agile software development.

Enterprise architects operate on the portfolio, responsible for shaping up the technology strategy by aligning strategic themes from the business, assisting with guardrails for lean budgeting, and working with the solution and system architects to produce fit-for-purpose and economically sensible business solutions. Enterprise architects across portfolios frequently connect to share knowledge about portfolio backlogs to gain values from cross-portfolio roadmaps. Enterprise architects are supported by other disciplines of architecture such as business, information, and security architects and may form a team of architects to manage larger portfolios. Enterprise architects keep a constant cohesive link with solution architects and other ART members.

In SAFe, solution architects are placed in large solution trains, responsible for solution alignment and coordination between various ARTs. The troika of the solution train is responsible for the satisfactory delivery of large solutions. The solution management is responsible for the content, the solution architect is responsible for the structure and behavior of the solution, and the solution train engineer is responsible for managing processes and time.

The troika formation repeats at the program or essential level, where solution architects are replaced with system architects. Solution architects and system architects play very similar roles but have different scopes. Large ARTs with many heterogeneous systems and complex technology landscapes may have many system architects.

Disciplined Agile (DA) has a strong emphasis on architects. In line with other Agile development frameworks, DA recommends having a designated architect role be played by a senior developer or one of the most technically experienced developers in the team.

For smaller teams, everyone in the team is responsible for the architecture. In order to address a conflict of opinions and manage consensus among team members, DA suggests a role called architecture owner. The architecture owner facilitates agreements and owns architecture decisions. Generally, the designated architect, also termed an Agile solution architect, acts as the architecture owner. The architecture owner does not create architecture in isolation. Instead, the architecture owner facilitates and collaborates with the team to jointly reach architecture decisions and perform architecture modeling. When the team is not aligned, the architecture owner will have the final authority to make architecture decisions. DA also emphasizes the importance of having a good domain understanding for better decision making.

When scaling DA across teams of teams, DA suggests having a virtual coordinating body for architects across teams called architecture ownership or a leadership team, where members are architecture owners of individual teams. This team of architects is generally led by a chief architecture owner. DA also considers enterprise architects as a key participant in the inception, construction, and maintenance of the process goals.

Large-Scale Scrum (LeSS) does not explicitly position the architect role, encouraging teams to take all decisions. There may be an architect programmer or master programmer person in the team, typically a senior member who may lead design activities.

Here are two interesting observations from LeSS about an architect:

  • A software architect who is not in touch with the evolving source code of the product is out of touch with reality.
  • Every programmer is some kind of architect—whether they want to be or not. Every act of programming is some kind of architectural act—good or bad, small or large, intended or not.

LeSS observes that architects staying at a high level, like architecture astronauts or PowerPoint architects, is not healthy for good sustainable designs. LeSS focuses more on design than architecture and promotes a no-architect culture described as follows:

“Agile architecture comes from the behavior of Agile architecting—hands-on master-programmer architects, a culture of excellence in code, an emphasis on pair-programming coaching for high-quality code/design, Agile modeling design workshops, test-driven development and refactoring, and other hands-on-the-code behaviors.”

We have learned how different frameworks handle the architect role. Before we close this chapter, let’s explore some of the learnings from Snow in the Desert.

Snow in the Desert started their Agile transformation journey with a textbook adoption of SAFe. At Snow in the Desert, behavior and culture were the most significant barriers to Agile delivery. As per SAFe, the system architect was positioned at the ART leadership level alongside product management and the release train engineer. Although architects are the best programmers, the behavior of individuals and memories of past organization developed friction between Agile architects and the rest of the development teams. This wall of distinction diminished collaboration, causing teams to operate with no shared responsibilities and no alignment with the solution vision.

To overcome this challenge, Snow in the Desert course-corrected their team constructs. The following diagram shows the next evolution of Snow in the Desert:

Figure 3.16 – Architect assignments at Snow in the Desert

As shown in the diagram, the system architects were moved from ART leadership to teams. With this change, Snow in the Desert aligned with almost every other Agile development framework by embedding architects in every team. These dedicated architects, mostly master developers, shared some part of the development responsibilities as a member of the team. However, they still reserved a portion of the capacity for architecture activities. These architects provided technical leadership within the team and connected with their peer network across teams for solution alignment and knowledge sharing.

The architect role at the ART leadership level was filled by one of the most capable system architects from one of the teams in that ART, turning it into a virtual role. To reduce confusion and limit the number of organizational roles, at Snow in the Desert, these system architects were called solution architects. Remember, there is no solution train at Snow in the Desert, hence there is no other solution architect role.

Since all four business units are funded and governed together, there is only one SAFe portfolio at Snow in the Desert. The enterprise architect at the portfolio level covers the whole portfolio. The enterprise architect is well connected with all the ARTs by attending ART ceremonies and architect sync meetings. The enterprise architect uses these forums to enlighten and align teams on strategic directions, synchronize architecture runway strategies across ARTs, and collect feedback from teams.

The playing field for architects has been challenged severely due to the mismatch between traditional ways of architecting and Agile architecture. Elements of the ivory tower, astronauts, and policing behaviors compounded with perceptions and economic considerations added fuel to the no-architect movement that surfaced with Agile software development. As we learned, it is vitally important to have dedicated or designated architects in Agile teams.

While collaboration is an extreme necessity, Agile architects must be substantially and equally strong in technology, domain, leadership, and strategy. The conventional metaphors of a construction architect to a gardener, elevator, sous chef, and interior designer need a radical transformation. The ability to know the unknowns, be prepared to adapt, pave the way for developers, prioritize the technical backlog, timing architecture decisions, and have a solution mindset with system thinking are paramount for Agile architects.

Enterprise architect and solution architect are the pertinent architect roles in Agile software development. In the next chapter, we will cover an enterprise architect’s roles and responsibilities in Agile software development.