BLUEPRINT · The Solution Architect's Codex
Ch 03 · Architecture Views & Documentation
Chapter 03 · Communicating the Design

Architecture Views & Documentation — 42010, 4+1, C4, arc42, ADR

Architecture exists in stakeholders' heads; documents are the persistence layer. The trick is to write the smallest set of artefacts that preserve why, allow safe re-decision, and stay current as code evolves. Skip them and the system becomes folklore.

3.1 · ISO/IEC/IEEE 42010:2022 — the canonical metamodel

ISO/IEC/IEEE 42010:2022 — Systems and software engineering — Architecture description is the international standard that defines what an architecture description (AD) actually is. It is short, abstract, and worth reading once. The conceptual model:

TermDefinition (paraphrased)Example
System-of-interestThe system whose architecture is described."Payments platform v3"
StakeholderAnyone with a concern about the system.CFO, SRE, regulator, user
ConcernInterest in the system relevant to one or more stakeholders.Cost, latency, PCI-DSS scope
ViewpointA specification of conventions for one or more views."Deployment viewpoint per C4"
ViewA representation of the system from the perspective of a viewpoint.The actual deployment diagram of v3
Model kindThe conventions for one type of model used in a view.UML class diagram, BPMN process
Architecture rationaleThe recorded reasons for decisions.The ADR archive
The 42010 chain. Stakeholders have concerns → concerns are addressed by viewpoints → viewpoints are instantiated as views → views contain models → decisions are explained by rationale. Every diagram in your repo should be traceable up this chain.

3.2 · The 4+1 view model — Philippe Kruchten (1995)

Kruchten's 4+1, published in IEEE Software November 1995, is still the most widely taught view set. Four engineering views are unified by a "+1" view of driving scenarios.

ViewConcernAudienceNotation typically used
LogicalFunctional requirements — what the system does.End-users, analystsUML class / package diagrams
ProcessConcurrency, performance, scalability.Integrators, SREsUML activity / sequence, BPMN
DevelopmentModule organisation, build, dependencies.Programmers, build engineersUML component / package
PhysicalDeployment to hardware/cloud, topology.Ops, infra, securityUML deployment, C4 deployment
+1 ScenariosUse cases that tie the four views together.AllUse-case + sequence diagrams

3.3 · The C4 model — Simon Brown

C4 (Brown, 2011) is a zoom-based notation with four hierarchical levels and three supplementary diagram types. It is opinionated, dev-friendly, and pairs naturally with the Structurizr DSL for diagram-as-code (see Ch 04).

L1 · Context System + users + external systems L2 · Container Apps, services, data stores L3 · Component Components inside a container L4 · Code UML class (rarely needed) zoom in → Supplementary: System Landscape · Dynamic · Deployment
LevelShowsAudience
L1 — System ContextOne box for the system, surrounded by users and external systems it interacts with.Everyone (incl. non-tech)
L2 — ContainerIndependently deployable/runnable units (web app, API, DB, queue) inside the system.Architects, devs, ops
L3 — ComponentLogical components inside one container — modules, services, controllers.Devs of that container
L4 — CodeClasses, functions — usually generated, rarely drawn by hand.Devs (optional)
System LandscapeMultiple systems & their interactions across an estate.EAs, portfolio owners
DynamicNumbered runtime collaboration for one scenario.Devs, integrators
DeploymentContainers mapped to infrastructure nodes.Ops, SRE, security

3.4 · arc42 — the 12-section template

arc42 (Starke & Hruschka, originated 2005, current v8) is a free, tool-agnostic template for the Solution Architecture Document. It maps neatly onto ISO 42010 and complements C4 (C4 fills sections 5 and 7).

  1. Introduction & Goals — drivers, top-3 quality goals, stakeholders.
  2. Constraints — technical, organisational, conventions imposed from outside.
  3. Context & Scope — business + technical context (≈ C4 L1).
  4. Solution Strategy — top-five fundamental decisions, in plain English.
  5. Building Block View — static decomposition (≈ C4 L2 / L3).
  6. Runtime View — dynamic scenarios (≈ C4 Dynamic).
  7. Deployment View — infra topology (≈ C4 Deployment).
  8. Crosscutting Concepts — security, persistence, logging, i18n, etc.
  9. Architecture Decisions — index of ADRs.
  10. Quality Requirements — quality tree + scenarios (see Ch 05).
  11. Risks & Technical Debt — known issues with mitigations.
  12. Glossary — terms shared with stakeholders.

3.5 · Architecture Decision Records (ADRs)

An ADR is a short, immutable document capturing one architectural decision and its context. Format popularised by Michael Nygard in "Documenting Architecture Decisions" (2011); extended as MADR (Markdown Any Decision Records, currently v3.0) by Olaf Zimmermann et al.

SectionContents
TitleShort noun phrase, numbered (ADR-0017: Adopt Postgres as primary OLTP store)
StatusProposed / Accepted / Deprecated / Superseded by ADR-NNNN
ContextThe forces in play — technical, business, regulatory.
DecisionThe chosen option, stated as an active sentence.
ConsequencesPositive, negative, neutral — what becomes easier and harder.
Alternatives (MADR)Each option with pros / cons / scoring.
Discipline. ADRs are append-only. To change a decision, write a new ADR that supersedes the old one. The trail of why-we-thought-that-then is the point.

3.6 · The RFC process

Rust, Python (PEP), Kubernetes (KEP), Tensorflow, React (RFC) — every mature open-source project runs design proposals through a written RFC (Request For Comments) workflow. The structure is bigger than an ADR because the audience is bigger.

  1. Summary — one paragraph an outsider can understand.
  2. Motivation — why now, what use cases, what is broken.
  3. Detailed design — APIs, behaviours, edge cases.
  4. Drawbacks — what would make you abandon the proposal.
  5. Rationale & alternatives — what else was considered, why it lost.
  6. Prior art — how comparable systems solved it.
  7. Unresolved questions — open issues to resolve before merge.
  8. Future possibilities — adjacent extensions enabled by this work.

3.7 · Documentation as code & Diataxis

Docs-as-code means treating documentation like software: stored in the repo, reviewed via PR, built in CI, versioned with the code it describes. Combined with the Diataxis framework (Daniele Procida, 2017) it produces docs people actually read.

QuadrantPurposeReader goalExample
TutorialsLearning-oriented"Teach me by doing"Getting started in 15 minutes
How-to guidesTask-oriented"Help me accomplish X"How to rotate the JWT signing key
ReferenceInformation-oriented"Look up an API or config"OpenAPI spec, CLI flag reference
ExplanationUnderstanding-oriented"Help me understand why"ADRs, conceptual deep-dives

MkDocs / Material

Python-based static site generator; the Material theme is the default for many open-source projects (FastAPI, Pydantic).

Docusaurus 3

React-based, Meta-maintained. Strong on versioned docs and i18n; default for many enterprise dev portals.

Antora 3

AsciiDoc-based, designed for docs distributed across many repos — common in large product suites.

Backstage TechDocs

Spotify's Backstage plugin that renders Markdown from each service repo as a docs site inside the developer portal.

3.8 · Anti-patterns

Anti-patternSymptomCure
Diagrams that lieDrawn at project start, never updated; bear no resemblance to running system.Diagram-as-code in repo (Ch 04); generate from infra where possible.
Stale wikisConfluence pages last edited 2019; "ask Sandeep" written in margins.Move docs into repos; PRs touching code must update sibling docs.
Single-author docsOne architect wrote all 200 pages; nobody else can defend the rationale.Pair on ADRs; rotate authorship; require two reviewers per architecture PR.
Visio-only architectureSource of truth is a .vsdx on a SharePoint nobody can find.Replace with PlantUML / Mermaid / Structurizr DSL.
Document theatreMassive SAD produced for audit, then ignored.arc42 + ADRs; trim every section the team does not consult monthly.
No rationaleDiagrams show what but never why; future maintainers re-litigate decisions.One ADR per architecturally significant decision; link from the diagram.
How many diagrams should the SAD contain?

Rule of thumb: one Context (C4 L1), one Container (C4 L2), one Deployment, plus one Dynamic per top-five scenario. Component diagrams (C4 L3) only for containers complex enough to confuse a new joiner. Total ≈ 8–12 diagrams for most solutions. More than 20 and you have a maintenance problem.

ADRs vs RFCs — when to use which?

ADR = a decision already taken (or about to be), captured for the record. RFC = a proposal open for debate, often weeks long. Many teams convert a merged RFC into one or more ADRs at acceptance. Use ADRs internally; use RFCs when the audience extends beyond one team.

3.9 · Self-check

Q1 · In the C4 model, which level shows independently deployable units such as the web app, API, and database?
L1 — System Context
L2 — Container
L3 — Component
L4 — Code
Q2 · In the Nygard ADR format, the Consequences section should contain:
Only the positive outcomes of the decision.
A list of people who approved the decision.
Positive, negative and neutral outcomes — what becomes easier and harder.
The estimated cost in person-days.