Blogs

How to become a Solution Architect!

By MUKESH VERMA posted Thu September 23, 2021 09:09 AM

  

How to become a Solution Architect!





ABSTRACT

Finding a first architect role is tricky. As a developer you probably know more than any architect will ever need to know about your specialist subject. Also you’ll never need to know deep techy details as an architect. With time, patience, and continued skills development almost anyone can become an architect!

So, if you want to be an architect you are going to have to give up the comfort of deep narrow technical knowledge for a broader, shallower knowledge of many technologies. I went through this myself it feels uncertain at the start but soon it become more comfortable. In fact there was a specific study into how to create first time architect roles because upcoming talent expressed a difficulty in understanding how to move from developer and designer roles to architects. The conclusion was that specific effort was needed by the organisation to make this happen and create first time architect role and once in role give the assistance required to help first time architects succeed, typically through mentoring and coaching.

This article delves into the initial guidance, tips, advantages and challenges associated with becoming an architect. It also provides information on the architects thinking process – how it should be to become a successful architect!


INTRODUCTION


When people used to ask me what I did, I used to say "I'm a solutions architect specialising in eCommerce and distributed systems", this invariably earned blank looks (and killed many a conversation with a potential date). Over time I have learnt to simply say "I do computer stuff" and if asked "what type of computer stuff?”, I reply: "Architecture, kinda like an architect that designs buildings, but for computers". Most people nod sagely at this point and change the topic of conversation.

To be honest I have just outright lied to them. Modern IT solutions are complex, and a solution architect's role is far more like that of a town planner, than a building architect. Not only do you need to be able to plan the details of a component (building) but also where they are located, how they are connected (roads and services) and how the whole (town) will grow in the future.

In fact to be an effective solution architect (and beating this metaphor to death), you not only need to be the town planner but you also need to be able to be the whole town. You need to be the builder, the road works crew, the town folks, the mayor, the police and even the emergency services. So here are some best practices, guidance and tips for being an effective architect and for creating great solutions

INTENDED AUDIENCE 

This article is intended for Developers, Associate Architects or Seasoned Architects who deal (or will deal) with any of the following situations:

  • Developers planning to move to career in IT Architecture
  • Architects involved with defining solution architectures
  • Professionals involved in pre‐sales, tech sales, and solution proposals


BEST PRACTICES


Steal Good Ideas

Someone, somewhere is likely to have come across the same problem you are having and they have most likely come up with a solution. Steal their ideas! Patterns are the classic way of documenting good ideas. If you are serious about architecture do yourself a favour and read:

  • Design Patterns: Elements of Reusable Object‐Oriented Software by Erich Gamma Richard Helm, Ralph Johnson, John M. Vlissides
  • Patterns of Enterprise Application Architecture by Martin Fowler
  • Enterprise Integration Patterns: Designing, Building, and Deploying Messaging Solutions by Gregor Hohpe, Bobby Woolf

If you can, read Christopher Alexander's books (The Timeless Way of Building and A Pattern Language: Towns, Buildings, Construction) which are where the idea of patterns in things we build originated from. Make sure you look in unlikely places for interesting ideas. I particularly like computer games. Did you ever think how games such as World of Warcraft can scale to handle 11 million subscribers? Or how a first person shooter such as Counterstrike is able to keep the all the player's positions and gun fire in sync across a laggy Internet and with players on opposite sides of the world?


Don’t reinvent the wheel

Need to do logging in your application? Don't create your own little framework, use an existing one. Same goes for model‐view‐controller frameworks, object relational persistence layers, rules engines, middleware etc. Buy something or better yet use an open source product. 

Not only will this reduce development times and costs but you will leverage off years of careful thought and intellectual property. Do not fall into the "not invented here" trap.

Tinker

As an architect you need to understand what works, what doesn't and where all the 'gotchas' are. The only way you are going to know is try things out, so tinker. See a new framework that looks interesting? Download and play with it. A new product? Get a trail version. A new language? Try it out.

Not only will this help you understand if the thing is any good or not but you are bound to come across ideas or concepts that can be worked into your own architectures.

Use Layers

Architect your solutions to have layers. Layers can be applied everywhere from inside a component to between subsystems. The current pinnacle of layered architectures is the SOA, use it (just ignore the hype).

Have clear boundaries

Within your architecture have clear boundaries around the roles and responsibilities of the components. If you have a component that seems to be a jack of all trades, break it up. Have clear rules about what parts of your architecture is supposed to be doing what and know why, so that you can pass this onto others. This will help maintain the cohesiveness of your architecture and make it resilient to change.

Ask Why?

"Why?" is a very powerful (and often annoying) question. If the customer says "we need 99.999% uptime," ask why. "IT policy says we must use technology XYZ!" again ask why. In many cases the answer will be perfectly valid, in others you will get a "because" or a "I don't know" answer. Your job as an architect is to come up with the most robust and effective solution that solves your customer's problem. "Why?" can be very useful in figuring out what that solution is.

Ask Who?

Asking who needs to use the solution, often uncovers all sorts of wrinkles and can help drive technology choices and your architecture. For instance, you are discussing building an application that calculates some product discount rates. 

So far it looks like a simple spreadsheet will do the trick. Then you ask "Who" will be using it? "Our finance guys" is the answer (still looks like a spreadsheet)... all 300 of our call centre staff"(mmm maybe an web page on the intranet is the solution now)... "oh yes and on our website so that customers can use it" (OK definitely a web based solution now)... "of course our partners need access too because they get different rates" (different rates? All sorts of alarm bells should be ringing now).

"Who?" often leads to questions about security and process, all of which can have a profound impact on your architecture.

Think about the future

When developing an architecture always take the future into consideration. Ask questions like who else could use this service? How many transactions are we going to be doing in 3 years?

This means having an idea what the "big picture" is. If you don't know, ask your customer, look at projects and initiatives that are coming down the pipeline, talk to other architects, go and find out. 

On the flip side don't get so bogged down into trying to future proof your architecture that you over complicate things and build in features that may never be used. Software is soft, it can be changed.


Do the right thing, not the easy thing

Always try to do the right thing, not the easy thing. Sure the easy fix gets the job done quicker but a solution often lasts for years. "Easy" fixes erode the purity of the solution, break the rules of the architecture and cause all sorts of issues such as opening security holes and complicating maintenance.

Be pragmatic

Sometimes you just have to give up on architectural purity and be pragmatic.

Keep it simple

The most reliable component in your architecture is the one that does not exist! The simpler your architecture is, the more robust it will be. A simply architecture is also more resilient to change which ensures that your solution will enjoy a longer, less troubled life.

Wherever possible reduce the number of moving parts and communication paths in your architecture. Simplify everything you can.

So, simplify, simplify, and simplify!

Have a plan B

Plan A sometimes just won't work (typically for time or budget reasons). First off make sure that plan A is a dead duck then wheel out plan B. This means you should always have a plan B and more importantly have a good understanding of the ramifications of using it. 

When you do switch to plan B, make sure everyone involved understands there has been a change of plan, why the plan has changed and what the new plan is.

Enemy of the state

Look to make your architecture as stateless as possible. Stateless architectures are easier to scale and tend to be more robust.

Draw pretty picture

As the saying goes "a picture is worth a thousand words" and for explaining an architecture nothing beats some succinct diagrams. Learn the Unified Modelling Language (UML) and use it to communicate your architecture to others.


Remember the purpose of these diagrams is to communicate with others, so don't use every bell and whistle of UML and make your diagrams hard to understand, that is defeating the point of the diagrams and no one will thank you for showing off your UML skills

I find that starting with a deployment diagram is one of the best ways of identifying the key pieces of the solution.

Don’t be static

A trap that many fall into is to simply model the static aspect of the architecture and they forget about the dynamic aspect of the architecture.

Make sure you use sequence diagrams and activity diagrams when modelling. They are particularly good at showing up issues with the flow of information between tiers and the order of events in the solution.

Listen to others

Don't assume that you know best. Gather feedback on your architecture as often as possible and listen to anyone who has an idea.

If you have come across a particularly tricky problem walk some of your colleagues (and even your customers) through it and brainstorm possible solutions. You will be surprised at the good ideas that are lurking in people's heads.


Be the bad guy (occasionally)

It is sad but true that we live in societies filled with nefarious people, when you architect solutions, keep this in mind. Take a step back and say to yourself "If I was a baddie, how would I break this system?". Look for issues around storage and communication of sensitive data, authentication, authorisation, and logging for auditing and potential points of vulnerability in your architecture.

If you are architecting solutions using web technologies then check out the Open Web Application Security Project (OWASP), in particular their development guide and their top ten flaws list.

Document your architecture

At the end of the day it doesn't matter how gee‐whiz your architecture is, if you cannot communicate it, then it cannot be implemented. As sad as it may seem the best way to communicate an architecture is to put pen to paper.

Now I'm a big fan of JED (just enough documentation) so when I say write it down, I'm not suggesting you write a small novel but rather you capture all the "important stuff"(tm) into a document, somewhere between 5 and 20 pages long, with lots and lots of diagrams.

So what is the "important stuff"? I define the important stuff as anything that is architecturally significant. For instance if you are building a web based application and you are using a particular MVC framework then document the fact and stop there. However if the solution calls for you to build your own MVC framework, then you will need more to add more detail and more importantly document why you are inventing your own framework.

As a yardstick your architecture is sufficiently documented if you can give the document to someone and they:

  1. have all the information to understand why the architecture is the way it is
  2. could go away and implement it
My favorite method for documenting an architecture is to use the Software Architecture Document (SAD) template from the Rational Unified Process (RUP). This template (which actually pre‐dates RUP) uses 5 views to document an architecture and is often known as the "4+1 view model".

The use‐case view documents the use cases or scenarios that are architecturally significant i.e. the scenarios that form the key functionality of the solution or cover a risky or tricky part of the architecture.

The 4 other views are then used to show how the architecture supports these use‐cases.

The logical view describes the architecturally significant parts of the design, such as its decomposition into subsystems and packages. Classes for significant packages are often documented as are any other architecturally significant classes. Typically only the classes’ responsibilities, as well as important relationships, operations, and attributes are captured, in other words the logical view is NOT a detailed design model.

The process view describes the processes in the solution, it describes the communication between the processes and shows the dynamic aspects of the architecture.

The implementation view describes the layers, subsystems and architecturally significant components of the solution.

The deployment view describes the physical (hardware) configuration on which the solution is deployed and run. It shows the physical nodes (computers, CPUs) that execute the software, and their connections (network and protocols). Typically the deployment view maps components and processes to physical nodes. 

So there you go, how to be an (effective) solution architect in a few easy to follow steps ! 👊 😉




3 comments
70 views

Permalink

Comments

Thu February 16, 2023 02:10 AM

Great and valuable information. Thanks for sharing thoughts and experiences with us.

Thu November 03, 2022 08:42 AM

Well articulated on the path and way forward to become a Solution Architect. thank you Mukesh....

Sun September 11, 2022 08:19 AM

Nice and informative blog. All content and best parctice help to provide basic and necessary information to become a successful solution architect. Thank you so much to write this wonderful blog.