<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Brian Loomis on Medium]]></title>
        <description><![CDATA[Stories by Brian Loomis on Medium]]></description>
        <link>https://medium.com/@brianloomis?source=rss-648c1e91cda------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9rsLoqTMNY7ojea3pFADzw.jpeg</url>
            <title>Stories by Brian Loomis on Medium</title>
            <link>https://medium.com/@brianloomis?source=rss-648c1e91cda------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 02:13:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@brianloomis/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Having secure software products starts with a secure development program]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://brianloomis.medium.com/having-secure-software-products-starts-with-a-secure-development-program-5415dd6cc2e5?source=rss-648c1e91cda------2"><img src="https://cdn-images-1.medium.com/max/1809/1*mUcBa7wSIWrAW0JSr3PqzQ.png" width="1809"></a></p><p class="medium-feed-snippet">A secure development program addresses customer concerns related to technical misuse (exploitation) and overall trustworthiness for a&#x2026;</p><p class="medium-feed-link"><a href="https://brianloomis.medium.com/having-secure-software-products-starts-with-a-secure-development-program-5415dd6cc2e5?source=rss-648c1e91cda------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://brianloomis.medium.com/having-secure-software-products-starts-with-a-secure-development-program-5415dd6cc2e5?source=rss-648c1e91cda------2</link>
            <guid isPermaLink="false">https://medium.com/p/5415dd6cc2e5</guid>
            <category><![CDATA[secure-software-delivery]]></category>
            <category><![CDATA[secure-software-design]]></category>
            <category><![CDATA[secure-software]]></category>
            <category><![CDATA[software-architecture]]></category>
            <dc:creator><![CDATA[Brian Loomis]]></dc:creator>
            <pubDate>Mon, 30 Dec 2024 04:30:55 GMT</pubDate>
            <atom:updated>2024-12-30T18:11:13.457Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How to build your training plan and grow your practice of software architecture (part 1 of 3)]]></title>
            <link>https://brianloomis.medium.com/how-to-build-your-training-plan-and-grow-your-practice-of-software-architecture-part-1-of-3-da46f3427d21?source=rss-648c1e91cda------2</link>
            <guid isPermaLink="false">https://medium.com/p/da46f3427d21</guid>
            <category><![CDATA[training-and-development]]></category>
            <category><![CDATA[software-architecture]]></category>
            <dc:creator><![CDATA[Brian Loomis]]></dc:creator>
            <pubDate>Thu, 26 Dec 2024 15:39:59 GMT</pubDate>
            <atom:updated>2024-12-26T15:39:59.279Z</atom:updated>
            <content:encoded><![CDATA[<h3>Yesterday you said today</h3><p>Just like everything in software architecture, the only constant is change. We may move jobs and the new team practices agile differently than the last team, we may be on a new project that involves wholly new technologies (or much newer versions or patterns than previously), or we may be asked to broaden what we do in architecture into documenting systems of systems, creating guidance for an information schema or building test plans — perhaps areas our previous team had “people” for this and now it’s the architect’s responsibility.</p><p>I wrote this article first for the manager of architects on how to build team maturity through training plans and found that this was also starting to speak to the individual practicing architects as well, building out their plan. We’ll talk first about the individual training plan for technical architects, then about where to look for cheap sources of training, and finally about how to plan the team’s training, through mentoring or coaching.</p><p><strong>TL: DR</strong> If you want to skip down below to the description of the methods, feel free to do so — you can come back to this introduction and context for the architecture manager later.</p><p>Back in the day, I was in a team at Microsoft where we had an annual personal objective of taking 200 hours of training. It was self-directed, but if you did not demonstrate meeting your quota, you would not get top marks on your performance review. If you’re in an organization like most nowadays, this type of forced maturity model is probably foreign; in fact, you may find that training is something that we pay a lot of lip service to but don’t make commitments around, much less dedicate time away from the “rest of our day job” to actually doing.</p><p>The case for having an individual training plan is most important for retaining employees in the organization — if the organization feels that the individual is going to be there for the long term, then maturity is an important step in building organizational culture, ability to change roles, and the ability to take on new business challenges and initiatives. On the opposite side, if the organization does not see individuals changing (they are in short-lived positions or fixed positions with no career pathing), then this investment is likely not justified.</p><p>To point out some of the challenges architects face, I’ll just list three that my team and I have faced in the last two weeks:</p><ul><li>Building a test plan for a set of small products to which I had previously not been assigned, and did not have a clear customer journey or tooling</li><li>Develop a complete design for a bolt-on application for a larger tool which was in a deprecated programming language, requiring me to learn the new language plus the old one for extracting requirements and domain expertise</li><li>Developing a scale strategy in phases for a Kubernetes application in a cloud environment which could be simply implemented by a team with low DevOps familiarity, and which would provide a legal service level to customers, in a month</li></ul><p>I’m going to go out on a limb here and say that it doesn’t matter if the organization has a training group, or HR function, to develop training plans for individuals. The <strong>individual software architect must develop their own plan</strong> so that they can own it (commit to it, see value in the items on the plan), and follow through on it. You know your growth plan better than anyone else you work with. There may be some required training — for example, compliance — which the organization asks you to complete but this rarely helps you in the bigger context of your personal career moves, role maturity (developer to architect specifically), or project demands.</p><h3>Make your personal training plan (process)</h3><p>To build a personal training plan, you will need to <strong>identify goals</strong> for your training, <strong>identify specific sources of training</strong> that support the goals ,and then <strong>put them on the calendar</strong>. It’s that simple.</p><p>To develop your training goals, a simple statement about where you want to get to realistically in a year is adequate. I usually follow with a gap analysis (I know, sounds kind of geeky in an architecture way) to find the most interesting areas for me as an individual and have a conversation with my manager about what the organization finds most useful for my growth — not always the same thing, but where they overlap, you’ll obviously have support. And then we write up a plan.</p><h3>Defining training goals</h3><p>You only need 1–3 statements, and they do not need to be deep analyses — the statements will guide you. They also should be aligned with what you really want — not what your manager wants (or you think s/he wants) and not a compound list (eliminate AND from the statements, that’s exactly like reducing the font on your resume to make it fit on a page). It’s really more than 3 goals and your ability to focus/execute on a list of ten items is much worse than 1 item. I had a friend from the military once tell me that, “If you have a plan B, you never really expected plan A to work.”</p><p>Some sample statements from training plans I’ve worked with people on (my interpretation in parentheses after):</p><ul><li>“Become CTO of the product line, focusing on technology selection” (leadership, platform engineering)</li><li>“Be able to design applications in Rust” (architecture and language skills)</li><li>“Learn enough of GitHub Actions to move off of Jenkins” (technology transformation, develop business case)</li><li>“Understand telemetry and reporting systems for enterprise systems” (recent technology, user experience)</li></ul><h3>Gap analysis to find strengths and areas to develop</h3><p>Gap analysis may point out areas you are strong in (and may be able to mentor others) as well as areas of perceived immaturity — things you may not have ever done or do infrequently, and areas that the “business” may be expecting you to do more frequently or in a new domain/priority area.</p><p>Here are some of the areas I look at when performing the gap analysis:</p><ul><li>What do I know about the <strong>business </strong>my organization is in? How do we make money and what % comes from which products? How do my customers perceive value in our solutions? What competitors do we have for my products?</li><li>What do I know about the <strong>applications </strong>I work with? Does my team have a single application with algorithms I want to learn more about? Are there some applications in the portfolio I may be assigned to one day?</li><li>What <strong>technologies </strong>are used in my group? And which are being considered on the horizon (either for our group, groups we work with, or in the industry at large)? What personal technology interests do I have (one of mine is home automation, not super-aligned with the business but may come in handy someday)? Current technology maturity may be more of a focus for developer training plans, whereas horizon technologies may be more for architects.</li><li>What <strong>code/data patterns</strong> does my team use or want to evaluate? Could be CQRS, resilience,microservices, LLM or “buzzword of the week,” where the organization does not have a conceptual knowledge but has not yet defined how to implement in next-gen products.</li><li>What <strong>architecture skills</strong> do I need to grow? Developing designs, diagrams, text writeups and analyses (maybe story and epic writing), maybe estimation or alternative analyses… This may be a focus area for developers wanting to move into architecture roles or as you grow your own practice of architecture through new projects.</li><li>What <strong>leadership and “soft skills”</strong> am I missing or do I think I’m very good at? If you’re a skilled presenter at conferences, can you mentor a peer? If you have never done an executive/board-level presentation, who could coach you? How easy is writing for you — practice makes perfect! How do you give and receive feedback? How do you socialize design with your team?</li></ul><p>To the manager: Work with each architect on their growth plan; compare plans to each other and share best approaches, making sure the organization’s interests are covered.</p><h3>The “dream sheet” conversation</h3><p>If you are a manager of architects, this may be accomplished by having reviews with each architect on their goals (I call this a “dream sheet” review) and then aligning organizational goals. Architects generally have their own personal areas of interest, have organizational coverage areas — which applications they design for (for example) — and organizational growth areas (trends and future needs may be specified by a CTO or inferred from a roadmap).</p><p>For our team, each architect should be maturing to the following organizational goals:</p><ul><li>Have one major cloud architecture or DevOps certificate</li><li>Have senior developer proficiency in one or two language frameworks (for example, Golang, customary libraries, common patterns, build processes, and quality measurements) to be able to coach scrum teams</li><li>Manage domain model, requirements, and design activities for up to 3 products in the portfolio</li><li>Have a standard set of architecture skills to be able to execute SAFe responsibilities like other architects (ability to operate independently in the process with other stakeholders outside of engineering)</li></ul><p>A couple of example dream sheets:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/470/1*r1GUzvws6ntxgEP3hqlaSA.png" /><figcaption>Dream sheet conversation notes</figcaption></figure><h3>Building a plan and writing it down</h3><p>In the next post, we will look at some common sources of training in more detail, but first I wanted to show what a real plan would look like. Typically, this is written up in a meeting with your manager and then the responsibility for doing the items in the plan (execution) is up to the individual architect.</p><p>The training plan is concise, just like the dream sheet — it’s a proposal of activities that the architect will take on with when in the year they occur. Below is one from a senior architect that shows when the training action needs to be done, what the organizational (manager-represented) and the architect’s personal priority for the item may be, what the item is, and how it supports the individual’s growth and organizational alignment. Junior architects should generally only have 1 action item per quarter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*7P6vN_Eq-iG5zz-6fgi86w.png" /><figcaption>Sample personal training plan</figcaption></figure><p>From the organizational perspective, we may have resource time and cost constraints on training activities. The manager may discuss the blend of modalities — types and ways to get training (shown in the training plan above in the action item column in parentheses) — with the individual within these constraints:</p><ol><li>Formal training like conferences (including speaking at the conference) of experts or an in-person training class in Bali or a certification exam; often this is the most expensive and focused (several days offsite)</li><li>Online, tool-based, or book learning — self-enablement where you find a reference work that describes the topic, and you can work at your own pace; limited cost of materials — maybe a compiler license or courses in a subscription the organization may already have</li><li>Informal peer-based training — seeing others inside your organization, or in Meetups externally — demonstrate a technology or approach</li><li>Mentored training — having a peer guide you as you take on a project, maybe providing feedback on a design you are doing, or “red-teaming” a proposal; usually outside the normal project structure since your peer may not be on the team in a formal role or could be a senior architect mentoring a junior one in an area they are taking on for the first time and bringing an example</li><li>Experiential training — or “on-the-job assignments” — to learn practically. Maybe it is to write up a test plan for the project you’re working on or to develop a prototype on the side.</li></ol><p>Organizations will naturally favor items down the list because they are low-cost or free, and they are directly applicable to work you may be assigned in your current role. My rule of thumb is about 80% in categories 4 and 5, 15% in categories 2 and 3, and one item in category 1 per year. Your blend of types may vary.</p><p>Send me your thoughts on this (<a href="/service/mailto:brian@princetondigitaladvisors.comn">brian@princetondigitaladvisors.com</a>) and stay tuned for the next post, where I’ll write about where to look for cheap/free training in the areas commonly of interest to aspiring architects.</p><p><strong>NOTE: ChatGPT condensed this post</strong> over on LinkedIn at <a href="https://www.linkedin.com/posts/brianwloomis_how-to-build-your-training-plan-and-enhance-activity-7273799791317327874-UzaL?utm_source=share&amp;utm_medium=member_desktop">https://www.linkedin.com/posts/brianwloomis_how-to-build-your-training-plan-and-enhance-activity-7273799791317327874-UzaL?utm_source=share&amp;utm_medium=member_desktop</a>, compare the different versions and let me know your thoughts.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=da46f3427d21" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating actionable software standards for a portfolio of products]]></title>
            <link>https://brianloomis.medium.com/creating-actionable-software-standards-for-a-portfolio-of-products-b7940c1d5ec3?source=rss-648c1e91cda------2</link>
            <guid isPermaLink="false">https://medium.com/p/b7940c1d5ec3</guid>
            <category><![CDATA[open-api]]></category>
            <category><![CDATA[software-standards]]></category>
            <category><![CDATA[architecture]]></category>
            <category><![CDATA[portfolio]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Brian Loomis]]></dc:creator>
            <pubDate>Sun, 13 Nov 2022 14:05:53 GMT</pubDate>
            <atom:updated>2022-11-13T14:05:53.572Z</atom:updated>
            <content:encoded><![CDATA[<h3>Creating actionable software standards for a portfolio of products (part 1)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*K236MRtb335LhhQiayacYg.png" /></figure><p>Why is there a black diamond at 19.2 inches on my tape measure? And what does this have to do with software architecture and design? Well, the short answer is that 19.2 inches equally spaces studs of a normal thickness for an eight-foot section of wall framing, providing space for the starting and ending boards. The next question is really the focus of this article: the measuring tape is a way for the person designing a structure to communicate specific intent to someone else — or multiple other people — who may do the construction. In software we call this a standard, and it often helps communications between a designer, lead or architect role to a developer, who may never have seen one of these applications built before. One of the most important tools an architect has is the development of an organization-wide standard, and nowhere is this more useful than when the team is building and maintaining a portfolio of multiple products.</p><p>Just as if we were building multiple houses simultaneously — or maybe fixing the first one up which was built ten years ago and adding a new floor to a second home built only a couple years ago, and a third where we’re putting a new foundation on a dirt lot — the standard is a concise way to keep all three meeting the same customer expectations. To finish the analogy — and I’ll admit, we watch a lot of home improvement TV at my house — we have a number of craftspeople working around the job sites with varying degrees of skill and experiences. A software architect not only has to come up with the <em>how</em> we define a standard, but also has to <em>ensure its adoption</em>, through a socialization process to make a standard effective.</p><h3>Developing the standards</h3><p>“The good thing about standards is that there are so many to choose from.” — attributed to Andrew S. Tanenbaum</p><p>Let’s talk about the when, what, and why of standards first.</p><p>There are different times when we may want to develop a standard in an organization:</p><ul><li>We have a <strong>new team</strong> or a part of a team which is new to the technologies involved, the products or the domain[1]</li><li>We have a project which has been in a different “mode” and is transitioning from maintenance to new customer demands for <strong>innovative feature sets</strong> (or conversely reducing technical debt)</li><li>We are <strong>bringing product families together</strong> which have been developed in isolation from each other, and which may need to be part of a branded portfolio, especially when integrations are being considered<a href="#_ftn3">[2]</a></li><li>We need to <strong>adapt existing products to new markets</strong>, transforming assets in one domain to another and revalidating value propositions — the enterprise software expectations of our customers may be different over here than where we started, or</li><li>We may have a <strong>new tool/process</strong> that adds value to our software supply chain which is not opinionated enough for our team to adopt without guidance<a href="#_ftn4">[3]</a></li></ul><p>Fundamentally, a standard will be designed around solving a particular problem, most likely a quality attribute of the products we want to improve which itself represents culture change in agile, sometimes called a “maturity step.” Common quality attributes we are concerned with, from the architecture side, are things like performance, security, interoperability, reliability, ease of use or deployment, test coverage and extensibility. These are the diamonds on our “ruler.” A software standard is just an agreement that we will build an application, component or service a specific way within a team.</p><p>Standards may contain a number of items,<a href="#_ftn5">[4]</a> so I’ll give you a quick checklist of what might be in one and follow with some principles I try to bear in mind while writing a standard. What goes into a standard?</p><ul><li>An identified scope for the standard, where it is applicable and where it is not</li><li>Required aspects, a description of each and how it will be assessed or measured</li><li>Optional aspects and guidance, and</li><li>References</li></ul><p>It’s that simple! Well, really, there’s a bit of art form in what comes next. Early on, I wrote a standard that looked like Figure 1 below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/573/1*p4KZnS9kh0eFSeIrWIh4Ow.png" /><figcaption>Table of Contents of a sample standard</figcaption></figure><h3>Making a great standard</h3><p>My standard had some opinions in it, some consensus from the development team, some decisions (where I included the thought process in the standard itself), and no mention of how long this would be in force. There are a couple key learnings here: as we know from architecture decision records, all things have a finite shelf-life and should be revisited (refactored) from time to time, and the document is way too long for a developer — they really struggled with this, not from a technology perspective but in that they had to keep coming back asking for clarifications. <em>I hadn’t made it easy to adopt.</em> We’ll show version 2 — exactly how this evolved into something adoptable — in the next post, so don’t worry.</p><p>The first thing that we did right here is knowing where to start with a standard: this standard was based on the OpenAPI v3 specification. As an architect, we first look around for things that we can reuse — why create something new when it may already exist and it may have stood the test of time. We can look for starting seeds for our effort in places like:</p><p>1. Other organizations like ISO, NIST and IETF — for example, time and date ranges, REST HTTP codes</p><p>2. Framework, process and tool suppliers — for example, .NET Framework conventions, Docker file layouts, Angular learning guidance, ITIL processes which may be already known to our developers</p><p>3. “Well known” implementations — in the case of a language like Uber’s Go standards, or Netflix service descriptions</p><p>4. Legal and regulatory sources — for example, PCI DSS, SOX, SOC2 and HIPAA conventions and audit standards</p><p>5. Our own experience — previous projects or organizational (company) standards, and</p><p>6. De facto standards — where a tool may support one logical way, such as unit testing framework in our programming languages</p><p>The second thing we did right was to frame a first standard as one in a series of standards: identifying which we would follow-up with after the first achieved some adoption. This was important to show that systems on a roadmap converge over time, and that many aspects may be dealt with in the same development effort without having so many standards as to slow down development while we align. We limited our agile standards to:</p><ul><li>An Open-API standard since we have a number of products developed over the years to different integration methods and we want to standardize our approach for partners to extend our software</li><li>A language standard for how we use Go (and soon Ruby) which includes starter applications for a couple common application types, since we are starting new development alongside old development and have learned some ways of doing things we would like to standardize — we also chose not to do standards for languages embedded in products we are only maintaining</li><li>A container standard for how we envision the lifecycle of building and publishing Chef products and components; containers are a new frontier for us</li><li>A source code management standard for how we do gitflow, so that developers can move between teams and keep their bearings, and</li><li>A quality assurance standard for which functional, security and performance tools we’ll use as we ship various products — we leave test construction to developers or pair-programmers but customers, auditors and management need evidence of these efforts</li></ul><p>Finally, let’s wrap up the best practice section with some guiding principles to the architect writing one of these up:</p><ul><li>Publish the standard in a process that encourages contributions from the developers<a href="#_ftn6">[5]</a></li><li>Make sure everyone understands the standard — this may require overcommunication, demos, socialization and/or training</li><li>Put the measurability of required elements at the top</li><li>Make the standard visible — don’t bury it in PowerPoint!</li><li>Report on the alignment to the stakeholders — the developers and management need to see that someone cares and that there’s data to help make good decisions on</li><li>Collect feedback on the standard after a few months to see if it needs to be updated</li></ul><h3>Conclusion</h3><p>In this article, we covered some of the when, what and why we use standards in software architecture. In the next post, we’ll finish up with details of some examples and some of the interpersonal skills needed to get a standard adopted broadly by the team. Hope you’ve enjoyed this post and that it helps in your architecture journey!</p><p><a href="#_ftnref2">[1]</a> This could be a replacement team taking over from a previous team, or we may have hired less senior developers to augment a team, just that the culture or way of working is not shared between earlier folks on the project and the current development staff. At Chef, we have a globally distributed group of about 200 developers plus an external contributing community.</p><p><a href="#_ftnref3">[2]</a> This is the case with Chef.io, which started a decade ago and is now part of a bigger portfolio of infrastructure management products</p><p><a href="#_ftnref4">[3]</a> A good example here would be adding a strategic planning tool for SAFe implementation that requires a convention around definition of ready or definition of done</p><p><a href="#_ftnref5">[4]</a> Standards in software have a long history — check out the IETF ones at <a href="https://www.rfc-editor.org/search/rfc_search_detail.php?stream_name=IETF&amp;page=All">https://www.rfc-editor.org/search/rfc_search_detail.php?stream_name=IETF&amp;page=All</a></p><p><a href="#_ftnref6">[5]</a> We use a request for comment (or RFC) process that allows for publishing, comment period, and disposition of comments before a draft is approved</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7940c1d5ec3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The software architect job description]]></title>
            <link>https://brianloomis.medium.com/the-software-architect-job-description-f724c33698e6?source=rss-648c1e91cda------2</link>
            <guid isPermaLink="false">https://medium.com/p/f724c33698e6</guid>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[digital-transformation]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[software-design]]></category>
            <category><![CDATA[software-architecture]]></category>
            <dc:creator><![CDATA[Brian Loomis]]></dc:creator>
            <pubDate>Sat, 03 Jul 2021 20:25:51 GMT</pubDate>
            <atom:updated>2021-07-03T20:25:51.647Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RbrW4buoARwYID_-LcYEIA.jpeg" /><figcaption>Every architecture is different, some architecture is transcendent</figcaption></figure><p>There are a huge variety of job descriptions for software architecture: some define this as a souped-up developer lead role, some specify a technical platform for base skills (and avoid business involvement entirely for this role), some JDs are simply a list of academic acronyms and certifications almost never used together in practice. This article attempts to simplify what a software architect really does — or aspires to — on a daily basis.</p><p>The software architect <strong>evaluates and designs software solutions</strong>, leading the technical software development effort. The job description includes 2 primary groups of skills: one broad and facing externally to define the value and proper form of the solution, and one deep and internal to coordinate and execute parts of the development effort.</p><p>Software architects may focus — at different points in the project lifecycle — more heavily on one of these groupings; professional architects can manage both skill sets equally well and flex between them. It is my belief that a software architect needs to be competent at each “side” and that this competence grows through experience. A successful architect cannot be code-free nor can she or he be oblivious of the business value being delivered.</p><p>For instance, if you were to hire a home remodeler who did not know how long a 2”x4” should be to match up floor to ceiling, or how frequently plugs should be spaced for electrical needs, would you hire them? (You’re not hiring them to cut the studs but they have to explain the design at least to someone who will implement the design) Similarly, when starting a project, your finance group asks how much it might cost, the answer being “I need a blank check, just trust me” would not satisfy them so much. (You are<em> </em>hiring someone to be a good steward of resources).</p><p>Architects may have additional skills such as developing an enhanced engagement model (consultative skills), business domain or competitive software productization understanding, deep experience in parts of the lifecycle, or experience with specific technology combinations or application styles. Software architects typically come from either a technical business role or a core IT role such as infrastructure engineering or software development.</p><p>The core job functions of a software architect:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/769c53236a46a8ea4bf393207c12cf39/href">https://medium.com/media/769c53236a46a8ea4bf393207c12cf39/href</a></iframe><p><strong>Business value-oriented functions</strong></p><blockquote>Work with team stakeholders/sponsors and the product owner to identify <strong>value streams</strong> and quantitative measurements for the project success</blockquote><blockquote>Work with team sponsors to develop the initial context/<strong>environment</strong> and <strong>system views </strong>for the project</blockquote><blockquote>Create a <strong>series of views</strong> for feature sets (or modifications to feature sets) following the initial design, defining platform components and optionally selecting subcomponents</blockquote><blockquote>Work to <strong>resolve issues and blockers</strong> to “shipping” the software product which includes collaborating across the lifecycle with other team members</blockquote><p><strong>Technical leadership functions</strong></p><blockquote>Develop and manage an architecture runway representing prioritized and sequenced tasks (guidance, mockups, prototypes, development stories, etc.) to embed <strong>quality attributes</strong> on the project</blockquote><blockquote><strong>Develop</strong> and <strong>triage</strong> portions of the codebase on the target platform (does not have to be the lead developer on any portion of the system, however)</blockquote><blockquote>Manage the <strong>design</strong> handoffs through structured documentation for the implementation team and continue to consult on specific changes; verify work completion and participate as a mentor for less experienced staff.</blockquote><blockquote>Socializing the technical roadmap and setting the stage for team evaluation of changes throughout the lifecycle</blockquote><p>Many of these core job functions are measurable while some are very hard to quantify (and in fact the impact of a single architectural decision may not be realized until years later). Some of these overlap with related roles; for example, resolving issues in one part of the project may be within the product manager role and in the code area specifically with the architect.</p><p>In my courses, I usually talk about attributes that architects have — the way (or <em>dao</em>, pun intended if you know me) of their practice: there is a lot of commonality among experienced practitioners.</p><p>· Architects understand domain value as a participant in the business</p><p>· Architects work in pictures (which can be structured guidance or documentation like ERD, UML, agile stories or specifications)</p><p>· Architects continuously learn new technologies, design patterns and business innovation</p><p>· Architects adapt patterns from their own and others’ experience (simplify, reduce effort, speed to value)</p><p>· Architects translate terminology and are concise with words; the corollary here is that architects like driving ambiguous scenarios to specifics</p><p>· Architects communicate broadly &amp; specifically at the correct level for a varied audience</p><p>· Architects don’t break the rules (or laws — just had to say this after seeing it a few times)</p><p>· Architects are team members, first and foremost, and respect diversity</p><p>Software architects work with a broad set of roles throughout a project: from the sponsor &amp; key users (stakeholders) to the project manager or product owner, to functional business leads (domain, finance, security, procurement, etc.), to development, DevOps, operations/SRE, &amp; infrastructure staff, to external suppliers, to external customers and other architects. Human dynamics skills are key to assess for this role.</p><p>To hire a software architect, I would recommend assessing their experience with projects similar to the one being undertaken and in the organization’s future portfolio. This can be effectively done through case studies and unfortunately the standard 45-minute phone call with standard question &amp; answer is usually not enough to gauge how an individual may fit culturally or in their decision-making style.</p><p>Having been an architect at Microsoft and now in my own practice, I would say that some organizations seem to grow architect skills well but it is by no means a guarantee; some of my favorite architects are from little known organizations, have not worked on “nameplate” systems like Netflix, or do not blog at all. You’ll have to check some references. There are also some certifications that lend credibility to the architect’s background.</p><p>Hiring an experienced software architect — when you’re betting the business on a new app or a move to the cloud — is a large investment and has some risk. I’ll talk later about how <strong>case studies</strong> can serve this need and how the organization and candidate architect might reduce the shared risk of a mismatch by using <strong>architecture-as-a-service</strong> (contingent and incremental staffing).</p><p>Cheers!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f724c33698e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A practical architecture runway]]></title>
            <link>https://brianloomis.medium.com/a-practical-architecture-runway-36e36de9997a?source=rss-648c1e91cda------2</link>
            <guid isPermaLink="false">https://medium.com/p/36e36de9997a</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[it-architecture]]></category>
            <dc:creator><![CDATA[Brian Loomis]]></dc:creator>
            <pubDate>Sun, 25 Apr 2021 16:30:04 GMT</pubDate>
            <atom:updated>2021-04-25T16:30:04.574Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mJv4nRxE7T9foyGsAyaI3Q.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@pixtolero2?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Daniel Eledut</a> on <a href="https://unsplash.com/s/photos/plane-takeoff?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>So I’m a software architect starting on an agile project and wondering how do I integrate seamlessly and add more value than “just another developer.” Or maybe I have hired one who has been a trusted advisor but I want to know what else should I expect from this role, especially as we are trying to move fast.</p><p>Many sources that talk about evolutionary architecture in the abstract for projects that are at a scale where design is needed, but not a lot of practical advice on how to foster these handoffs between architects and developers. This lack of definition may stem from a view by agilists that architects used to be a controlling part and choke-point in the waterfall method they were seeking to change around 2000. The rise of product managers and devops roles have blurred a lot of roles around development, so it’s a reasonable perception now to ask “what does architecture do on a software project? And how can it be a valuable contribution that I see in some projects outside my organization?”</p><p>The first function of architecture is to serve as a bridge — between the business trends, requirements, and competitive space and the realization of success of a project. Software architects specifically tend to be very close to the lead or senior developer role because this flavor of technology architecture is probably the nearest example of a combination of art form and disciplined design. Like a (construction) architect, the software architect works in the terminology of the client, taking concepts from initial visualization to design to realization. We call this the <strong>architecture runway.</strong></p><p>Within agile sprints, we’re familiar with breaking our overall backlog into sprints, epics (topic areas), and program increments to timebox development. This works fine when the tasks are easily described as functions — where the developer does not need much guidance in interpreting concise and fully-formed requirements. What do we do when this is a major new service or something like overall performance across a number of modules or a security strategy? The architecture runway represents the work that precedes these development tasks and uses some techniques we’ll describe below to iterate and refine the requirements. We call them architectural <em>enablers</em> in the sense that — for certain epics — the requirements may be vague or the implementation has some cross-cutting concerns which require coordinated design and implementation that the architect needs to do some translation to make the development stories “shovel-ready.”</p><h3>Types of tasks for arch runway</h3><p>So what types of tasks can the software architect perform in the architecture runway? In previous architecture methodologies and approaches, these were often heavy artefacts like high level solution design documents. In agile architecture, we need to do smaller, more scoped deliverables in the right channel to reach our developer audience. Ever seen a multi-page UML system model and thought TL;DR? Here’s my list of enabler types:</p><ol><li>A “short” white paper or guidance note — maybe more like a few paragraphs of description to clarify a use case, terminology (c.f., DDD bounded context) in PowerPoint or email</li><li>A model description in single ERD or UML diagram, or a <strong>view</strong></li><li>A mockup of an interface (preferably in an HTML tool or something that translates to the UX team seamlessly without rewrites)</li><li>An OpenAPI description</li><li>A prototype set of code (yes, the architect should understand how the system will be built in the compiler, just realize that prototypes take more time)</li><li>A meeting with clear agenda, decision record, and design minutes (try not to just take a picture of a whiteboard!)</li></ol><p>Since the artefacts are smaller, these can be delivered in typical developer tools like pages on Confluence, inside a story in Jira, in a Slack channel. Many of the newer online tools like miro.com and Lucidchart make technical diagrams more easily distributable over prior tools which were architect-specific (more on this in another post).</p><h3>Understanding the epics in the architecture runway</h3><p>The question we’ll answer next is <em>how to organize the runway.</em> We are doing intentional design in specific functional areas, and also planning for cross-cutting concerns so the runway should be broken down into epics that make sense in our project. These are, by definition, architecturally significant requirements (ASR) areas and often are a combination of epics aligned functionally, technical goals and quality attributes with titles like:</p><ol><li>Microservices (possibly in a conversion from a monolith, to understand general design principles)</li><li>Client or partner integration (I often do an epic per client interface, so one epic for client A and a separate epic for client B)</li><li>Security (a broad quality attribute)</li><li>Availability or performance</li><li>Feature set (I ran into a new functional area to do credential rotation within the security service)</li><li>Definition of done</li><li>DevOps</li><li>Refactoring (single epic to prioritize all the refactor tasks which are internal only)</li></ol><h3>Planning the architecture runway</h3><p>Let’s bring it all together! We can identify stories inside these epics — which enabler task to which audience (some work may be done for project sponsors or operators or security team who’s not on agile or folks other than the development team) — and put them on the Kanban board alongside the other sprint tasks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/978/1*_3kKOSkh5d6376gbsJN1Vw.png" /><figcaption>Architecture enablers on the same board as the rest of the team</figcaption></figure><p>After defining the epics, we do need to align timing before we finalize the runway. This means understanding the dependencies leading up to the enabler and the timing for when development starts after the enabler is ready. We want a manageable list of enablers that leverages the architecture experience in only the most high-value areas, and leads the development effort by at least a sprint so that resourcing can be planned by the PM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/981/1*hCJymVxgPszRr9x62PbxkA.png" /><figcaption>Specific enabler deliverables mapped to sprints ahead of the development effort (red top arrows)</figcaption></figure><p>A couple of things to watch out for — don’t overload the architect! It’s easy to look at the smaller tasks and assume a much higher quantity can be taken on. Also, make sure the handoff to development is consistent — if the architect gets different developers each time on the same epic, or if the developer does not have regular communication with the architect, this can sever the accountability for the design of the quality attribute and the implementation. Is 80% of the performance goal enough? Finally, if no developer is assigned (and the architect has full responsibility for an enabler’s implementation), we run into Conway’s Law where the scalability of the system only represents one team member’s view and the architect is taken away from the other concerns of the system.</p><p>The architecture runway is a valuable way to show the value of architecture in the agile sprint cycle. This article shows a practical way to identify, prioritize, and include the architecture runway in a typical software development. Thanks for reading through this — it’s been something I’ve planned on writing up for a while now. Let me know what you think, I’m at <a href="http://brian@princetondigitaladvisors.com/">brian@princetondigitaladvisors.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=36e36de9997a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simple scorecard for evaluating software]]></title>
            <link>https://brianloomis.medium.com/simple-scorecard-for-evaluating-software-14976255f841?source=rss-648c1e91cda------2</link>
            <guid isPermaLink="false">https://medium.com/p/14976255f841</guid>
            <dc:creator><![CDATA[Brian Loomis]]></dc:creator>
            <pubDate>Sun, 14 Mar 2021 21:40:40 GMT</pubDate>
            <atom:updated>2021-03-14T21:50:07.269Z</atom:updated>
            <content:encoded><![CDATA[<p>Do you need to select software but are confused by the sheer number of potential suppliers, and don’t want to make a costly mistake?</p><p>Large organizations often have an RFP — or request for proposal — process in their technology or procurement groups for selecting software packages with an eye towards implementing one or more business capabilities. We often call this “build versus buy” as a technology group may have the option to create software themselves (build) in addition to procuring services, software, or hardware from an external supplier.</p><p>This article talks about — and provides a scorecard for — selecting the right external supplier for your business. The process of selecting COTS software is fairly well-known in the public sector space and has permeated many large organizations; smaller companies and organizations often have to construct a process which fits their culture, goals, and available resources.</p><p>We will use a scorecard (linked below) to ask the right questions to make sure a supplier’s product fits our organization along a number of key dimensions. The scorecard itself is designed to evaluate a single supplier out of the many suppliers that want your business and may answer your RFP. After your organization issues a call for proposals, you’ll get specific proposals, details on their capabilities (we’ll call this background research) and likely arrange demonstrations with certain suppliers that pique your interest. With all this information in hand, your evaluation team should be able to efficiently and concisely recommend a single solution to move forward with. We’ll do this by scoring each supplier in four areas:</p><ul><li>Technical evaluation criteria</li><li>Alignment and ability to execute</li><li>Cost criteria, and</li><li>Contractual criteria</li></ul><figure><img alt="Image of sample RFP scorecard" src="https://cdn-images-1.medium.com/max/559/1*XceUj0IyeW98QdOVQR--zg.png" /><figcaption>Sample RFP Scorecard</figcaption></figure><p><strong>The technical evaluation</strong></p><p>Technical criteria vary widely among different classes of software and should be constructed by someone knowledgeable in the domain (e.g., an ERP expert or a networking management software expert). In general, do NOT construct these statements based on the identification of features made by a single supplier — marketing may have chosen a term that sounds exciting for the brochure but “provides excellent DevOps support” may just not be a differentiator. Each criterion you come up with should be a significant scenario and is identified as required or flexible (can the supplier be close or provide an alternate implementation than what you were thinking, or do they have to exactly match or exceed the criterion?). In the last column, the team will fill in a 1–5 numerical evaluation. Occasionally, a weighting number may be useful if certain requirements are major drivers of the selection, however be cautious when using more than 10 criteria or a complex weighting scheme.</p><p>Criteria are functional (does a specific task or scenario) or based on quality attributes such as:</p><ul><li>Scalability — can it handle our expected workload? With our current environment?</li><li>Performance</li><li>Availability (possibly with a service level agreement)</li><li>Integrations to our current systems</li><li>Are we in a multitenant or dedicated environment (shared)?</li><li>Release roadmap</li></ul><p><strong>Alignment and ability to execute</strong></p><p>In this section, the proposal evaluation team will ask the questions related to how well the supplier’s solution fits within the organization at this point in time. We want to ensure that the solution will integrate with other solutions we already have and that we know how the solution will be implemented: this is a combination of knowing the project strategy, the business strategy, and how our users will capture value out of the solution. Specifically, we may have to spend our own time &amp; resources to install and configure the software (maybe the supplier has consulting which can help here or a third-party may). We may have specific business objectives in mind — combining systems to reduce operational costs or develop a competitive advantage with this solution (just write it down!). And we may choose not to implement the solution for everyone in our organization — maybe it’s only a pilot effort to see if this would fit, the subsidiary in France may want to try this out.</p><p><strong>The cost evaluation</strong></p><p>The supplier should be able to provide the answers to most of these questions, except what offsetting savings we might have — by purchasing this solution, we may reduce costs in other areas.</p><p><strong>Contractual, liability and security (read: risk) concerns</strong></p><p>This section contains assessments of how to leave the service or discontinue use of the software, and liability in different areas. If the organization has regulatory compliance requirements, these should be evaluated YES/NO (binary) against the supplier’s references and evidence; most software products have legally reviewed statements of support for different compliance frameworks, especially important if the supplier will have your data and a breach occurs on their system.</p><p>A couple final notes.</p><p>This template is for a commercial software procurement in a non-governmental organization. I mention this because we often may want to use the same process for other items like services, staff augmentation (skilled labor), custom software development (see build, above), facilities, etc. Please modify as needed.</p><p>I mention non-governmental use because the federal regulations often specify additional criteria and have a much more formal process than what a small organization would need or be able to support. For example, the initial request may have to go to all registered suppliers and be published on a portal; the bids may need to separate cost from technical responses so that two independent teams can evaluate; certain bidders may receive preference, etc. Small organizations may have certain industry-specific regulations which may need to be included — for example, if you require the system to be compliant with Sarbanes-Oxley or GDPR — but these are often fewer in number than a public sector organization might need.</p><p>Two other options besides RFP are commonly used: the request for information (RFI) and the request for quote (RFQ). The RFI is used when the complete technical criteria are not well known — that is, when your organization does not know the capabilities of the software being acquired. The RFI is worded in such a way that the suppliers should suggest an ideal implementation for your organization and point out the technical capabilities in that solution. Comparing suppliers is fundamentally comparing conceptual implementations, or architectures, in the RFI process and cost information may vary quite a bit.</p><p>The RFQ is used when capabilities are well known and we are selecting mostly between commodities. For example, selecting office productivity software or a collaboration capability for our business, we might have a good scenario already established that many suppliers meet: Zoom, Microsoft Office 365, Slack, etc. Each may implement video conferencing differently but effectively we have a good solution from each. The RFQ focuses then on questions mostly related to alignment and cost.</p><p>My parting words on RFP’s is to simply focus on the steps that add value within the process and come up with an economical and efficient process for <strong>your </strong>organization. Many organizations get carried away with detailed spreadsheets to try to calculate an analytical answer (to a sparse-data problem) or process steps that require months to pass before selection. Others may follow the process “in-name-only” when it has become too burdensome for an evaluation team of 10 staff members to get together over multiple days, so they let one of the criteria owners — often cost or technical novelty — to drive the process, to the exclusion of other criteria. Both of these reduce overall confidence in the process, lead to lower buy-in to the solution selected and often having to rerun the process as the result of a poor selection process only a few months or a year later.</p><p>Please do let me know if there are enhancements or clarifications that might be helpful. My goal in this series is to write about techniques that we see in large enterprises which can be accomplished within small and mid-sized organizations. In coming up with these more efficient processes, large enterprises also can benefit through doing more with less: I call this “thinking like a startup.”</p><p><a href="https://onedrive.live.com/embed?cid=3DD60659DCE559C2&amp;resid=3DD60659DCE559C2%21754207&amp;authkey=AC6KvAqCA6Brw2Y&amp;em=2">https://onedrive.live.com/embed?cid=3DD60659DCE559C2&amp;resid=3DD60659DCE559C2%21754207&amp;authkey=AC6KvAqCA6Brw2Y&amp;em=2</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14976255f841" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quality attributes for software architects]]></title>
            <link>https://brianloomis.medium.com/quality-attributes-for-software-architects-39098382a1b?source=rss-648c1e91cda------2</link>
            <guid isPermaLink="false">https://medium.com/p/39098382a1b</guid>
            <category><![CDATA[reliability]]></category>
            <category><![CDATA[quality-software]]></category>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Brian Loomis]]></dc:creator>
            <pubDate>Sun, 20 Dec 2020 20:44:11 GMT</pubDate>
            <atom:updated>2020-12-20T20:44:11.538Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/411/1*500f2y4gANCQTsjKJYIvqg.png" /><figcaption>Roman aqueduct in Caesarea in the modern-day</figcaption></figure><h3>1 What are quality attributes?</h3><p>In this article, we will examine design for software quality attributes, aspects of software systems which are visible to the end-consumer throughout the product or service, and usually across multiple (or all) functions. These are often the most challenging for an architect to implement as they often start as directional statements instead of precisely worded requirements or fully specified functional flows, and require additional/specialized resources to validate. Quality attributes are often architecturally cross-cutting concerns and may be more critical to stakeholders than even functional requirements (ASRs).</p><p>For example, a functional requirement might be to provide a method for a user to authenticate into a system with their Google credentials, which can translate into an agile story for a particular web page to be developed, logic to perform the authentication against Google API’s, and allowing further access into the application: all well-understood terms and easily testable.</p><p>A quality attribute around security might be to prevent malicious code being added to the system through a plug-in developed by another organization<a href="#_ftn1">[1]</a>. The set of tasks involved in a simple statement of requirements like this may well be an epic by itself or a large set of enablers in across multiple program increments. Some stories might involve development of functionality (loading plug-ins), as well as design (confirming the other organization’s credentials), testing (penetration testing of the plug-in interface), and the use of security domain-specific tools, for operational hardening or container scanning.</p><p>This article will discuss the general process for naming relevant quality attributes, planning their implementation, and validation of the as-built system to show that we have met the business requirements. The architect is responsible for defining these quality attributes in detail and developing a plan to address them within the backlog.</p><p>We see examples of quality attributes throughout engineering disciplines — see the image of the Roman aqueduct above, illustrating a simple and refined design to provide a capability resilient over hundreds of years. These patterns from other engineering efforts, biology and sciences, and psychology supply analogies we can use as sources of patterns for software development efforts.</p><p>The following table lists a partial set of quality attributes for software projects. We use the adjective form for most of these, though often they are referred to as “-ilities” as the adjectives often have noun formats with that ending (e.g., accessibility).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*DHLBVmm64dNIdu2u_3VUfg.png" /><figcaption><em>Table 1. Partial list of quality attributes for software projects</em></figcaption></figure><h3>2 In practice</h3><p>We will show how to get started with analyzing a project for quality attributes and establishing the development effort as part of an architectural runway. The software architect, by virtue of seeing most of the solution to be developed, can follow a process below for translating quality attribute statements (proto-requirements) into backlog and eventually a system which embodies these values.</p><p>First, we will start by identifying a list of the attributes through conversation and workshops with the primary stakeholders and sponsors of the system. With this list, we should identify one to five quality attributes which are critical to the system, which we can likely delegate to software developers through our “definition of done” (a shared understanding of how to make decisions and implement any functionality in the system), and which quality attributes are not challenging above standard practice for the project. In the figure below, we identify five critical quality attributes for performing additional analysis on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*SWcxVvZgDGXkc5uVfMW7Kw.png" /><figcaption><em>Figure 1. Identifying and prioritizing quality attributes.</em></figcaption></figure><p>Next, we will refine each of these areas into specific goal statements, considering organizational standards, general practice, and program-specific needs. This involves creating the scope of the epic — a statement or few sentences defining the measurable outcome desired. For example, the system should be deployable in both public cloud and private cloud implementations for customers X, Y, and Z.</p><p>Thirdly, we will decompose these statements into design principles and enabler stories in the backlog. Often these quality attributes will be represented as architectural runway to be initiated by, at least partially executed by, and monitored by the software architect. The specific tasks may be to develop guidance, a mockup or prototype, or run an architectural “spike” to implement the story. Often, leading up to the identification of these tasks, questions, risks or key concerns may need to be explored in parallel to the backlog as a series of experiments or alternative analyses.</p><p>Next, we will complete the stories as they are accepted into sprints by identifying the method we will monitor and test the quality attribute in the epic. Though we will see the quality attribute being fulfilled over multiple sprints, the actual tools, skills used and attainment of value often begins small and becomes more sophisticated over the course of several program increments. For example, a performance target on one functional path may initially start as one QA team member using a tool like JMeter to verify performance, and by subsequent sprints, this may include developers and external users using a variety of tools across a wide variety of functional paths and with different, realistic mixes of workloads.</p><p>Finally, the architect may need to provide guidance on what should happen in negative scenarios — that is, how the system recovers from failures to meet the quality attribute. This is especially important for systems with challenging availability, responsive, secure, and reliability targets.</p><h3>2.1 Here’s how to do it.</h3><p>So, if fundamentally, this is only five steps, how hard could it be?</p><p>1. Identify key quality attributes in a short list and prioritize them</p><p>2. Develop epic scope statements for the top 1–5 quality attributes</p><p>3. Break these down for each into specific backlog enablers and guidance</p><p>4. Identify tools involved and method to monitor achievement across the program increments</p><p>5. Plan for negative scenarios</p><p>Well, the best laid plans rarely survive first contact with the enemy. This is an analytical strategy that assumes we have very good information about our environment, that the statements can be broken down into tasks which will cover all contingencies in those environments, and that nothing changes by the time we deploy.</p><p>Does that mean that all hope is lost? No. But we need to watch a couple things as we go through our development: how our team is maturing to take on increasing levels of detail in the quality attribute domain (human dynamics), and how our measurements of quality reflect the actual operating environment. We certainly can take advantage of the iterative nature of agile to change and grow throughout the development cycle. By contrast, prior software development lifecycles often started from the premise that risk could be well understood at the start of an effort. We may find that we need workshops at multiple points in the development to examine what we’ve learned about systems availability, or to review an analogous system’s design as a possible direction. In short, we’ll tune the engine as we go along and we won’t be shy about taking our go-cart off the test track onto the open road.</p><p>For the first steps, we may use a canvas or card like the one shown below to capture our starting point: epic title, principles, enablers (suggested to be put in Backlog or Jira), and monitoring strategy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/766/1*utVYHchfQwCO_bJmX_G4yw.png" /><figcaption><em>Figure 2. A quality attribute planning canvas.</em></figcaption></figure><p>In the key risks area, we may propose experiments to understand the attribute better. These may range from customer interviews, stakeholder consensus building (focused decisions), tradeoff analysis, or even numerical simulation (as in Python, R, Scala or other Monte Carlo techniques).</p><p>Under design principles, we may start with some organizational standards or analogous system behavior, or well published guidance from a subject matter expert. The software architect should validate the applicability of the guidance (for example, only take rules 1–8 of this expert’s guidance on identity management) and translate external guidance into a form which is easily adopted by the project team.</p><p>Filling in the enabler architecture runway also seems deceptively simple, a security epic recently described had over 30 sub-tasks identified through a series of meetings with the team, stakeholders, and outside consultants on a relatively non-complex development. This part of the card may involve a series of discussions and prioritization within the epic — several whiteboards may be erased during the process.</p><p>The monitoring and testing of the attributes goes through a series of maturity steps as the environment becomes more realistic. For instance, we may start with virtual machines in an easily obtained environment to evaluate a first prototype. Our testing may be limited to throughput on a performance aspect of the solution, testing whether the core algorithm or workflow is workable (in the right ballpark). We may move to a second environment where we are distributed on different types of hardware that our customer may have; again, we will measure our performance attribute and may introduce other scenarios like diversity of workloads representative of the “real world.” Finally, we may get close to go-live with a pre-production replica in the customer’s environment for more testing, adding the negative conditions — timing interactions or other hard-to-simulate tests.</p><p>Each environment may have its own tools, goals of testing, and resources assigned as we zero in on the quality attribute. One of the references below points out the difference between software quality as compared to the construction of a bridge. The civil engineer would be remiss if s/he did not initially plan for ten vehicles weighing half a ton each going at 60 MPH over the bridge simultaneously. The sponsors of the bridge might not have trust in the architect if, after half of the construction had elapsed, it was found that the bridge would only support a handful of bicycles! Similarly, the software architect needs to have the end quality in mind while the implementation is going ahead and be mindful to evaluate in realistic environments.</p><p>The architect or product owner should identify the method and regular reporting structure for how the system is meeting the quality attribute. For example, a metric of number of websites certified out of a total population might be appropriate for a weekly status meeting on accessibility.</p><h3>3 Why do they matter to the architect?</h3><p>Quality attributes are an area heavily influenced by our experience and ability to question what the attribute means in the context of its workload and external environment. Many systems may <strong>not</strong> have stringent quality attributes initially or ever, which means that the practicing architect may have to seek out scenarios to learn and practice the skills of managing them. The architect needs to make a good faith professional effort to understand and design for quality attributes expressed by the customer.</p><p>QA failures happen in <em>all</em> organizations — large ones with many resources and well-known names, ones with very smart technology architects, through to small organizations with big responsibilities. When systems are moved into environments they were not designed for, or a quality attribute previously thought not important enough to design becomes acute, the results are often dramatic:</p><h4>· Security failures leading to loss of revenue, loss of personal information or intellectual property, and breach of customer trust</h4><h4>· Accessibility failures leading to compliance violations and lost customers</h4><h4>· Safety failures in medical, aircraft and manufacturing equipment leading to loss of life or injury</h4><h4>· Performance failures on public sector web sites leading to inaccessible benefits</h4><h4>· Availability and reliability failures leading to late payment reconciliation, or worse all-night operational troubleshooting situations (yeah, you’ve been on those calls)!</h4><p>Certain quality attributes may seem to pair well together — for example, reliability and availability — while others may have natural tension between them: usability and security. Some may have specific compliance requirements while others may be quality observations made by an actual or persona-driven customer. Quality attributes are some of the most difficult system aspects for a software architect to balance.</p><p>Quality attributes — also known as software quality attributes/analysis (SQA) in the literature — were broadly analyzed in the 1980’s and 1990’s but have recently become dormant in the practicing software architecture communities. Combined with the complex layers of abstraction and platforms in modern software architecture, quality attributes are increasingly more difficult to specify, build and validate in systems. Even evolutionary architecture talks about system fitness functions but leaves this to the practitioner to define. Hopefully this article contributes to restarting the dialog between architects on how to improve overall software quality and moving it from an art to — if not a science — a practice and set of accountabilities software consumers can count on.</p><h3>3.1 A case study: an impossible situation</h3><p>This section describes a case study for further practice with the concepts in this article.</p><p>Let us say we are building a component which will be part of an eCommerce solution for a large retailer. This component is called by other components, and only needs to make one function call out to a downstream service provider to re-order additional merchandise when stock gets low. The retailer has an eCommerce web site, which will call into your API component, and some Chromebooks with customer service representatives in each of their 1,000 stores in North America.</p><p>Both of these environments are displayed in the figure below. In order to keep track of stock levels, each instance of your component (in-store and in the public cloud web site environment) keeps a small database, and any in-store component can talk to the eCommerce component via message queues. The circles marked (1) and (2) are the “simple” function calls out to your re-order stock provider. The only requirement functionally is that, if the in-store component calls the provider along path 2, that it also sends the same message to the eCommerce site to update the master stock quantity for all stores.</p><p>The business sponsor says that your component needs to be 99.99% available (~53 minutes of unplanned downtime per year). The two red boxes show where this availability is required — where the clients call in to your API component in each environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*DJowpT94bL6s_97Wr18rnQ.png" /><figcaption><em>Figure 3. Example system under analysis for high availability</em></figcaption></figure><p>In addition to listing some of the hidden dependencies in our solution (lower right) — certificates that may expire, a Kubernetes host environment that might restart our program, hardware that might fail, networking connections which might be unavailable — we must predict some of the threats to availability from our environment such as client disconnects, service provider being down, or even a store being destroyed by natural disaster. We may have to do “chaos” testing — knocking out pieces of the system randomly, to simulate failures. To identify what happens as a result of each of these losses of capabilities, we will have to restore operations through architected use of retry logic, transactions, guaranteed persistence mechanisms (quorum), etc. — even for a 2-node system like this. Our business sponsor should certainly be made aware of the increased resources, costs, and complexity from the simple, initial statement!</p><h3>4 What are the pitfalls</h3><p>We have identified five primary pitfalls to successfully architecting quality attributes:</p><p>1. Edge conditions may not be obvious — brainstorm and use the team’s and the customers’ experiences to build a list of tests or failure modes periodically</p><p>2. The gap between the test environment and the target (real-world) environment may miss some characteristics or it may be impossible to test situations without having the target environment</p><p>3. The conditions or definition of the attribute may change over time, revisit it on a periodic basis</p><p>4. The team may not have resources needed to implement the complete attribute scope, and</p><p>5. Decisions made inside the team may not be visible to the architect — a developer may implement a feature in a certain way that detracts from quality and the impact may not be seen until later. Agile refactoring and regular peer reviews can help catch these earlier.</p><p>This article is draft of a set of materials the author is writing for the Information Technology Architecture Body of Knowledge (ITABoK) sponsored by the International Association of Software Architects. The final version will be available at <a href="https://itabok.iasaglobal.org/">https://itabok.iasaglobal.org/</a></p><h3>Author</h3><p>Brian Loomis is the owner and chief software architect at Princeton Digital Advisors, a consultancy focused on digital transformation and software MVPs in demanding business growth and customer experience scenarios. His work is showcased in solutions delivered to public sector, startup, manufacturing, healthcare, financial services and retail customers on <a href="http://www.princetondigitaladvisors.com/">www.princetondigitaladvisors.com</a></p><p>He formerly served as CTO at Michigan State University, leading the infrastructure, teaching and learning, and advanced research technology departments. Brian stood up the new MSU datacenter, broadened WiFi access to the campus and dorms, built health care partnerships with regional hospitals, and guided the campus ERP modernization.</p><p>Brian brings over 20 years of experience as a VP of software engineering, practice manager and senior technologist inside Microsoft, Dow Chemical, and Ford, and has an extensive background in organizational change and design thinking with large organizations and startups alike. He sits on advisory boards for MERIT networks, BTAA, INSPIre and Ann Arbor Angels and national next-generation skills panels for high-tech.</p><p><a href="#_ftnref1">[1]</a> <a href="https://www.geekwire.com/2020/microsoft-unleashes-death-star-solarwinds-hackers-extraordinary-response-breach/">https://www.geekwire.com/2020/microsoft-unleashes-death-star-solarwinds-hackers-extraordinary-response-breach/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=39098382a1b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>