Architecture Decision Record (ADR)
Pronunciationay-dee-AR
Definition
A short record of one architecture decision: its context, the decision, and its consequences. ADRs are kept in the repository, so future readers can see why the system is built the way it is.
Where you hear it
In code repositories, architecture reviews, and when someone asks "why did we choose this database?"
Examples
We wrote an ADR about choosing PostgreSQL over MongoDB.
The ADR lists the trade-offs we accepted.
The ADR explains why we chose an event bus over direct calls between services.
Common mistake
Editing an old ADR to match a new decision. Write a new ADR that supersedes the old one, so the history stays clear.
Don't confuse with
A design doc is written before building and can change. An ADR records one decision and is kept as history.
Keep exploring
More in Architecture & Design