There’s a lot more to be said about software architecture. We promise, you’re done with this book. But reading this book is just the first step in your journey to thinking architecturally, and we couldn’t in good conscience let you go without a little more preparation. So, we’ve gathered a few additional juicy bits into this appendix. Each of the topics that follow deserves as much attention as the other topics we’ve covered. However, our goal here is just to give you a high-level idea of what they’re all about. And yes, this really is the end of the book. Except for the index, of course—it’s a real page-turner!
#1 The coding architect
Yes! We firmly believe that software architects should still write source code. Not only does it help you maintain your technical skills, but it also shows you how your architectural decisions play out in real life.
However, it’s not always easy to balance hands-on coding with software architecture. As you’ve seen, there’s a lot to software architecture. It will take up most (if not all) of your time.
Don’t worry though—we’ll share some tips and techniques for writing software while being an effective software architect.
Don’t become a bottleneck
Be careful not to take ownership of code that is on the product’s critical path. Leave things like the underlying framework code and really complex or crucial parts of the system to your development team. That way, if you get pulled away by architecture-related stuff, you won’t hold up your team.
Write proof-of-concept code
Having trouble making an architectural decision? How about writing some code to demonstrate each option? Writing proof-of-concept code is a great way to better understand the implications of your architectural decisions while maintaining your technical expertise. A word of advice, however—unless you know for sure you’re going to throw it away, take the time to write the best production-ready code you can. It could very well end up in production.
Pay back some technical debt
Almost every development team accumulates technical debt (needed changes that are deferred to a later time). Help your team out by addressing some of it. They’ll appreciate it, and if you get called away, it won’t hold them up.
Get involved during production outages
When an outage strikes, step in to assist, if you can. Help your development team identify the root cause and make the code changes needed to get the system back up and running. This also gives you an opportunity to see the detailed implementation of your architecture.
Do lots of code reviews
No one likes doing code reviews. But it’s a good way to stay involved, and it helps you make sure the source code stays aligned with your architectural decisions.
Note
And here are some ways to stay continuously involved.
#2 Expectations for architects
We’ve talked a lot in this book about architecture, but not so much about the role of a software architect. While the specifics will vary from company to company, here are some things any software architect will be expected to do, regardless of title.
Make architectural decisions
An architect is expected to define architectural decisions and design principles and use them to guide technology decisions within the team, the department, and/or across the enterprise.
Keep current with the latest trends
To remain relevant (and retain a job!), developers must keep up to date on technical and industry trends. For architects, it’s even more critical to keep current. Doing so helps you prepare for the future and make correct decisions.
Continually analyze the architecture
An architect is expected to always be analyzing the current architecture and technology environment and making recommendations for solutions and improvements. This continuous analysis is a way of checking for architectural vitality —that is, how viable the architecture still is, given constant changes in business and technology.
Ensure compliance with the architecture
Architects should continually verify that the development teams are following the approved architectural decisions and design principles. This is called architectural governance . Regardless of how good the architecture is, the system won’t work unless everyone adheres to your architectural decisions.
Cultivate diverse exposures and experiences
Note
As an architect, it’s important to know a little about a lot of things.
Note
More about this in a few!
An architect is expected to be familiar with technologies, frameworks, platforms, and environments of all sorts. This doesn’t mean you need to be an expert in all of them, but you should have some knowledge of what’s out there.
Possess exceptional interpersonal skills
Having exceptional leadership and interpersonal skills is important. Typically, technologists, developers, and architects prefer to solve technical problems, not people problems. But an architect is expected to provide technical guidance to the team and lead them through implementing the architecture. Leadership skills are at least half of what it takes to become an effective software architect, regardless of your role or title.
Note
The American computer scientist Gerald Weinburg is famous for saying, “No matter how it looks at first, it’s always a people problem” ( https://oreil.ly/wyDB8 ).
Know the business domain
Effective software architects understand the business domain of a problem space. Without knowing what the business does and how, it’s difficult to understand the problem, goals, and requirements well enough to design an effective architecture.
Understand and navigate office politics
Many people will challenge your decisions. Product owners, project managers, and business stakeholders may see a solution as too costly or not fast enough to implement. Developers and other architects may challenge your approach if they feel theirs is better. You’ll be expected to make a case for what you propose. You must navigate office politics and apply basic negotiation skills to get your decisions approved.
#3 The soft skills of architecture
Like we said on the last page, at least half of being a software architect is having great people skills. You’ll need them to lead and guide your development team, gain the respect of your peers, and get everyone to agree to a common vision and direction.
We call these “soft” skills, but they are hard skills to acquire. Using them effectively requires years of practice and trial and error. Here are some soft skill techniques to help you become a more effective software architect.
Demonstrate, don’t discuss
Rather than arguing a point with another architect or development team, demonstrate it. Every environment is different, which is why simply Googling never yields correct answers. When you compare the options in a production-like environment and show the results, there’s little room for argument.
Note
Say it with us: “Demonstration defeats discussion.”
Know when to fight and when to let go
Choosing your battles wisely is the mark of a great leader and makes you a reasonable person to work with. It gains you respect. Fight to the death for something that’s crucial to making the architecture work, but let things go if they’re not so important.
Note
Choosing your battles is good advice, even outside of software architecture. You’re welcome.
Focus on business value
When talking with business stakeholders, describe your decision or solution in terms of its business value . Business stakeholders aren’t interested in things like fault tolerance or testability—they care about things like time to market, regulatory compliance, and mergers and acquisitions. Translate your technical concerns into business ones and you’ll be speaking their language.
Involve developers in your architectural decisions
We have learned two basic leadership rules over the years:
Rule Number 1: If developers don’t know why you made a decision, they are less likely to agree with it.
Rule Number 2: If developers aren’t involved in a decision, they are less likely to follow it.
Keep your developers involved. Collaborate by asking their opinions about a particular decision, involving them in a risk-storming exercise, or using the Request for Comment status in an ADR. Always justify your architectural decisions—and make sure everyone on the development team understands that justification.
Divide and conquer
In the book The Art of War , the ancient Chinese warrior Sun Tzu advises, “If your enemy’s forces are united, separate them.” You can use this tactic when faced with all-or-nothing situations. Do all parts of the system need 400 ms response times or 99.999% availability? Dividing the problem into parts can help you identify what’s hard to achieve, which makes negotiation easier.
Keep things simple, clear, and concise
Nothing helps an architect gain respect and trust better than being able to explain things in clear, concise terms. It makes you more approachable. People will want to ask you things and get you involved. We call this the “four Cs” of architecture—be C lear, be C oncise, C ommunicate, and C ollaborate. You need all four to become an effective software architect.
Be available to your development team
Nothing is more frustrating for a developer or business stakeholder than having a critical question come up when you aren’t around to answer it. Make sure not to spread yourself too thin— be there for your team .
Blocking out your calendar early in the morning or late in the afternoon is a great way to ensure you don’t get cooped up in meetings all day. Use that time to collaborate with your development team and be available to answer their questions. They’ll be grateful for it, and you will gain a lot of respect.
#4 Diagramming techniques
Back in Chapter 3 , we discussed ADRs as the best way to document the analysis process that leads to a decision. Another common method architects use to document architecture is diagrams . Architecture diagrams illustrate many important details that team members benefit from visualizing, such as structure, topology, communication, dependencies, and integration points.
This topic can (and does) fill entire books. We’re just here to provide some quick tips to make your diagrams better, regardless of how you create them.
Keep it simple
Don’t try to create comprehensive architecture diagrams that include every detail . If you do, your diagrams will suffer from the “hairball effect”—becoming too complex and dense to understand.
Always include a title
Most architecture diagrams represent a view or perspective, and your title should make yours explicit.
Use unidirectional arrows to represent communication
Double-headed arrows are ambiguous. Did the author intend to indicate two-way communications, or is just that the default arrow?
Using unidirectional arrows removes all ambiguity and makes documentation more explicit.
Use real labels, not acronyms
Only insiders understand acronyms. Spell things out whenever possible to avoid confusion and eliminate the need for extra documentation.
Use solid lines for sync and dotted for async communication
Architects need a way to specify whether communication is synchronous (blocking) or asynchronous (nonblocking). A solid line is common shorthand for synchronous communication, and a dotted one represents the asynchronous alternative.
Use consistent shapes and colors
Don’t use arbitrary shapes to try to save room; consistent shapes and colors cut down on the visual “noise” created by needless inconsistency.
Key
![]() | Event handler written and maintained by internal team |
![]() | External system accessed through a standard API |
![]() | Asynchronous call |
![]() | Synchronous call |
![]() | Operational database |
Always include a key
Just about the only universal shape in software diagrams is the database cylinder. Pretty much everything else is up for grabs. Don’t make your viewers guess! Adding an explicit key makes the diagram accessible to a broader audience, with less extra documentation.
#5 Knowledge depth versus breadth
An unexpected thing happens to your brain when you become a software architect—the new role changes the kinds of things you seek out and learn. Consider this structure, which categorizes all the information in the world, as far as you know at the beginning of your career.
As you move along in your career from a junior software developer to a tech lead, the “stuff you know” grows—things like programming languages, frameworks, tools, and platforms. You’re also able to help and mentor other developers in this role.
Over time, as you gather more expertise and become the go-to person, you start to grow the middle part of the pyramid—the “stuff you know you don’t know.” Because you’re maintaining your hardcore technical skills as well (the “stuff you know”), it takes a lot of effort to get to this point. Congratulations!
Your technical depth consists of every topic on which you have expertise.
Remaining an expert in any technology requires investing time to keep up with constant change. Thus, maintaining technical depth takes time.
Your technical breadth includes the areas in which you have expertise, what you know about the existence of other solutions, and what you know about some of these solutions’ trade-offs. As an architect, knowing that there are five different ways to solve a problem is better than deeply knowing one way to solve it.
New architects’ knowledge pyramids start out looking like those of tech leads, but you should make an effort to broaden your experience base. If you have expertise in .NET, for example, see if you can do some work on a Java project, a user interface–heavy Javascript project, or a hard data architecture problem... you get the idea.
Over time, your expertise will slowly fade a bit (which is extraordinarily painful), but this will have the benefit of increasing your breadth of knowledge. Remember, software architecture decisions are all about trade-offs.
#6 Practicing architecture with katas
The legendary martial artist and actor Bruce Lee once said, “I fear not the man who has practiced 10,000 kicks once, but I fear the man who has practiced one kick 10,000 times.” So how do you attain that kind of proficiency with software architecture? Glad you asked! We recommend architectural katas .
A kata is an individual form of exercise used in many martial arts to practice moves until they’re perfected. In the same spirit, architectural katas simulate the process of designing a real architecture.
Architectural katas are intended for several small groups of three to five people. Each group becomes a project team and works on a different kata. (We sometimes get two teams to do each kata, just to see what differences arise.) A moderator keeps track of time and facilitates the exercise.
The moderator assigns each group a project needing development. The team meets for a while, asking questions of the “customer” (the moderator) for clarification. They discuss technology options that could work and sketch out a rough vision of their solution. Then they present their solution to the other project teams and answer challenges (hard but fair questions). Choosing an overall winner is optional.
The key to getting better at software architecture is to practice it—even in a simulated exercise.
Note
Do we have your attention? Keep reading to find out more.
How to run katas
Katas are meant to be an adaptable exercise, so follow the rules below when they make sense for your organization, context, and needs. Any questions not covered by these rules are the domain of the moderator.
Preparation
Gather several teams of three to five people. (We prefer odd numbers, so disputes can be decided by a majority.) Generally, people who work together in the real world should not be on the same teams; this exercise stresses collaborating with other architects you don’t already know.
Gather supplies like poster paper or whiteboards. The artifacts you produce may be very low-tech, depending on the time, complexity, and resources you commit.
Speaking of time, a kata exercise could take as little as 45 minutes or last as long as several weeks!
Note
Your authors have done several katas for real companies that gave teams eight weeks to work out a solution.
Discussion
The teams get together and work through the exact process outlined in this book: analyzing architectural characteristics, determining logical components, choosing an architectural style, and documenting their decisions.
Any technology is fair game, although you should honor reasonable constraints (you won’t have an unlimited budget or get to hire new developers). The focus is on architecture and trade-off analysis.
Presentation
Each team presents its solution and answers questions.
When you are listening to another project team presenting, your job is to ask questions. Try to keep them constructive. Don’t focus on only the good parts of the solution or only the deficiencies. Strive for balanced feedback.
Don’t worry. This isn’t goodbye.
Congratulations on reading all the way to the end and doing all the exercises! Job well done.
In case you haven’t noticed, you’ve come a long way in this book—and your software architecture journey is just getting started. We’d like to suggest some next steps.
First, point your browser to https://www.headfirstsoftwarearchitecture.com to learn what’s next! Then check out the books below.




