Architectural Decision Records (ADRs)
An architectural decision record (ADR) is the record of a software design choice that addresses a significant requirement of a software system and answers "why?" the decision was made.
An ADR typically captures a single decision in a light-weight format tha captures the context in which the decision is applicable, the concern addressed by the decision, the system quality addressed/impacted, notable downsides to the decision, the decision its self, and any additional rationale or commentary deemed necessary to ensure the ADR is easily understood.
Qualities of Effective ADRs
Strategic ADRs consider the the long-term consequences of each decision on extensibility, operational overhead, and business strategy.
Measurable ADRs are objectively verifiable both in implementation - is it implemented according to the decision? - and outcome - is the decision having the desired impact?
Achievable ADRs are reasonably followed because they are "good enough" but not necessarily "ideal". For example, the difference in cost and effort between 99.9%, 99.99%, and 99.999% availability can be exponential; while "five nines availability" may be the idea, three or four nines may be good enough.
Timeless ADRs will remain relevant for a long time because they are based on real-world experience and apply across platforms, tools, and technology stacks. As with any requirement, ADRs describe what the solution must and must not do, without describing how the solution is achieved.
Short-Form ADR Template
In the context of \<use-case>, facing \<concern> we decided for \<decision> to achieve \<quality>, accepting \<down-sides>.
Long-Form ADR Template
In the context of \<use-case>, facing \<concern> we decided for \<decision> to achieve \<quality>, accepting \<down-sides>, because \<rationale-and-commentary>.
ADR Markdown Template
# Title Date: ## Status Accepted|Proposed|Deprecated|Superseded <!-- Choose one of the above statuses. If Superseded, please link to the superseding ADRs --> ## Context <!-- Describe the relevant context and terminology associated with this decision --> ## Decision <!-- Detail the decision and how it can be verified --> ## Additional Rationale and Commentary <!-- Provide secondary details that may be useful to understanding why this decision was made. If not needed, please delete this section. -->
Broader Topics Related to Architectural Decision Records (ADRs)
System Qualities and Nonfunctional Requirements (NFRs)
Constraints on how software is engineered
The practice of organizing software components in a complex system
Elements of well-formed requirements: The fundamental building blocks of product engineering