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:
| Term | Definition (paraphrased) | Example |
|---|---|---|
| System-of-interest | The system whose architecture is described. | "Payments platform v3" |
| Stakeholder | Anyone with a concern about the system. | CFO, SRE, regulator, user |
| Concern | Interest in the system relevant to one or more stakeholders. | Cost, latency, PCI-DSS scope |
| Viewpoint | A specification of conventions for one or more views. | "Deployment viewpoint per C4" |
| View | A representation of the system from the perspective of a viewpoint. | The actual deployment diagram of v3 |
| Model kind | The conventions for one type of model used in a view. | UML class diagram, BPMN process |
| Architecture rationale | The recorded reasons for decisions. | The ADR archive |
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.
| View | Concern | Audience | Notation typically used |
|---|---|---|---|
| Logical | Functional requirements — what the system does. | End-users, analysts | UML class / package diagrams |
| Process | Concurrency, performance, scalability. | Integrators, SREs | UML activity / sequence, BPMN |
| Development | Module organisation, build, dependencies. | Programmers, build engineers | UML component / package |
| Physical | Deployment to hardware/cloud, topology. | Ops, infra, security | UML deployment, C4 deployment |
| +1 Scenarios | Use cases that tie the four views together. | All | Use-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).
| Level | Shows | Audience |
|---|---|---|
| L1 — System Context | One box for the system, surrounded by users and external systems it interacts with. | Everyone (incl. non-tech) |
| L2 — Container | Independently deployable/runnable units (web app, API, DB, queue) inside the system. | Architects, devs, ops |
| L3 — Component | Logical components inside one container — modules, services, controllers. | Devs of that container |
| L4 — Code | Classes, functions — usually generated, rarely drawn by hand. | Devs (optional) |
| System Landscape | Multiple systems & their interactions across an estate. | EAs, portfolio owners |
| Dynamic | Numbered runtime collaboration for one scenario. | Devs, integrators |
| Deployment | Containers 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).
- Introduction & Goals — drivers, top-3 quality goals, stakeholders.
- Constraints — technical, organisational, conventions imposed from outside.
- Context & Scope — business + technical context (≈ C4 L1).
- Solution Strategy — top-five fundamental decisions, in plain English.
- Building Block View — static decomposition (≈ C4 L2 / L3).
- Runtime View — dynamic scenarios (≈ C4 Dynamic).
- Deployment View — infra topology (≈ C4 Deployment).
- Crosscutting Concepts — security, persistence, logging, i18n, etc.
- Architecture Decisions — index of ADRs.
- Quality Requirements — quality tree + scenarios (see Ch 05).
- Risks & Technical Debt — known issues with mitigations.
- 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.
| Section | Contents |
|---|---|
| Title | Short noun phrase, numbered (ADR-0017: Adopt Postgres as primary OLTP store) |
| Status | Proposed / Accepted / Deprecated / Superseded by ADR-NNNN |
| Context | The forces in play — technical, business, regulatory. |
| Decision | The chosen option, stated as an active sentence. |
| Consequences | Positive, negative, neutral — what becomes easier and harder. |
| Alternatives (MADR) | Each option with pros / cons / scoring. |
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.
- Summary — one paragraph an outsider can understand.
- Motivation — why now, what use cases, what is broken.
- Detailed design — APIs, behaviours, edge cases.
- Drawbacks — what would make you abandon the proposal.
- Rationale & alternatives — what else was considered, why it lost.
- Prior art — how comparable systems solved it.
- Unresolved questions — open issues to resolve before merge.
- 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.
| Quadrant | Purpose | Reader goal | Example |
|---|---|---|---|
| Tutorials | Learning-oriented | "Teach me by doing" | Getting started in 15 minutes |
| How-to guides | Task-oriented | "Help me accomplish X" | How to rotate the JWT signing key |
| Reference | Information-oriented | "Look up an API or config" | OpenAPI spec, CLI flag reference |
| Explanation | Understanding-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-pattern | Symptom | Cure |
|---|---|---|
| Diagrams that lie | Drawn at project start, never updated; bear no resemblance to running system. | Diagram-as-code in repo (Ch 04); generate from infra where possible. |
| Stale wikis | Confluence pages last edited 2019; "ask Sandeep" written in margins. | Move docs into repos; PRs touching code must update sibling docs. |
| Single-author docs | One architect wrote all 200 pages; nobody else can defend the rationale. | Pair on ADRs; rotate authorship; require two reviewers per architecture PR. |
| Visio-only architecture | Source of truth is a .vsdx on a SharePoint nobody can find. | Replace with PlantUML / Mermaid / Structurizr DSL. |
| Document theatre | Massive SAD produced for audit, then ignored. | arc42 + ADRs; trim every section the team does not consult monthly. |
| No rationale | Diagrams 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.