SAD brings together in one place what the architect needs to get across to teams and the customer: the system’s boundaries, its high-level structure, the decisions made and the reasoning behind them. Without such a document the architecture lives in people’s heads and chat threads, and new developers piece it together from fragments of the code.
What it contains
| Section | What it describes |
|---|---|
| Context | who and what the system works with: users, external systems, boundaries of responsibility |
| Major structure | the main parts — services, databases, queues — and the links between them |
| Decisions | what was chosen and why: options considered, constraints, links to ADRs |
| Quality attributes | requirements for performance, reliability and security, and how the design meets them |
| Constraints | standards, licences, environment and deadlines that narrow the choice of solutions |
Viewpoints and views
According to ISO/IEC/IEEE 42010, an architecture description is assembled from views. A viewpoint is a template: which stakeholders and questions it serves, which diagrams and conventions to use. A view is that template filled in for a specific system.
- context view — the system as a black box and its surroundings: users, external systems
- component decomposition — which major parts the system consists of and what each one is responsible for
- deployment view — which servers and environments the parts of the system run in
- data and scenario flows — how typical requests and events pass through the system
The set of views depends on the system: an ordinary web service needs three or four, while a distributed platform adds message flows and fault tolerance.
Templates and document lifecycle
The set of sections usually comes from a ready-made template. The best known is arc42: twelve sections ranging from goals and constraints to risks and a glossary. The document is kept alive: it is updated when major changes happen, while the decisions themselves are recorded separately as ADRs, which the SAD references. Many companies call a document with a similar purpose a high-level design, or HLD.
Sources
the term is written from these pagesVerified 8 Nov