Top 10 documents to make architectural decisions

WINW > Software Architecture > Software Quality > Top 10 documents to make architectural decisions

The top 10 documents used to make, record, and execute architectural decisions across modern software engineering and systems design.

They are categorized by their primary purpose—ranging from capturing immutable decisions to exploring broad designs, setting standards, and planning implementations.

1. Architecture Decision Record (ADR)

  • Purpose: Document a specific, significant architectural decision, along with its context, rationale, trade-offs, and consequences.
  • Best Used For: Micro-decisions made during development (e.g., “Use PostgreSQL over MongoDB for user management”, “Adopt Kafka for event streaming”).
  • Key Sections: Title, Status (Proposed/Accepted/Deprecated), Context, Decision, Consequences (Pros & Cons).
  • Vibe: Short, focused, stored alongside code in Git, and immutable once accepted (superseded by new ADRs).

2. Request for Comments (RFC)

  • Purpose: Propose a substantial change, new standard, architectural direction, or protocol to gather feedback and consensus from the team or organization.
  • Best Used For: Cross-team standards, high-impact technical initiatives, or architectural shifts (e.g., “Migrating from REST to gRPC for internal services”).
  • Key Sections: Proposal Summary, Motivation, Detailed Design, Trade-offs, Drawbacks, Alternatives Considered, Unresolved Questions.
  • Vibe: Collaborative, open to discussion, living document until consensus is reached.

3. Technical Design Document (TDD / Design Doc)

  • Purpose: Detail the end-to-end technical implementation of a system, component, or complex feature before writing code.
  • Best Used For: Medium-to-large feature additions or new service architectures (e.g., “Design for the New Invoicing & Billing Engine”).
  • Key Sections: System Overview, Data Flow & Diagramming, API Contracts, Database Schema, Edge Cases, Security & Compliance, Scaling & Capacity Planning.
  • Vibe: Actionable execution blueprint for the engineers building the feature.

4. System Architecture Document (SAD)

  • Purpose: Provide a high-level, comprehensive overview of an entire application or enterprise system landscape.
  • Best Used For: Onboarding developers, system audits, and high-level architectural governance (e.g., “Platform Architecture & Data Topography Guide”).
  • Key Sections: Context/System Boundaries, Component Diagrams (C4 Model), Tech Stack Inventory, NFRs (Non-Functional Requirements), Deployment Topology, Security Architecture.
  • Vibe: Living reference guide for the big-picture view of the platform.

5. Technical Spike Report / Feasibility Study

  • Purpose: Document the findings, benchmarks, and prototype results of research conducted to solve a technical unknown or evaluate competing options.
  • Best Used For: Unblocking architectural uncertainty (e.g., “Evaluating Rust vs. Go for high-throughput image processing microservices”).
  • Key Sections: Objective, Test Methodology/Environment, Benchmark Results, Cost/Complexity Analysis, Conclusion & Recommendation.
  • Vibe: Empirical, data-driven evidence used to inform an ADR or RFC.

6. Technical Strategy / RFC 0 (North Star Document)

  • Purpose: Establish long-term technical vision, principles, and strategic engineering goals across an organization (typically over a 1–3 year horizon).
  • Best Used For: Setting high-level guardrails and tech stack boundaries (e.g., “Engineering Tech Stack Standardization & Cloud-Native Migration Strategy”).
  • Key Sections: Current Tech Debt / Bottlenecks, Architectural Principles, Target State Vision, Phased Migration Strategy, Non-Goals.
  • Vibe: Strategic, directive, aligning engineering efforts with overall business strategy.

7. Threat Model Document

  • Purpose: Identify potential security vulnerabilities, data vectors, and mitigation strategies for an architectural proposal.
  • Best Used For: Systems handling sensitive data (PII, payment processing, authentication, zero-trust architectures).
  • Key Sections: Data Flow Diagrams (DFDs), Trust Boundaries, Threat Enumeration (e.g., STRIDE analysis), Impact vs. Likelihood Matrix, Mitigations & Security Controls.
  • Vibe: Security-first architectural risk assessment.

8. Service Level Objective (SLO) & NFR Definition Doc

  • Purpose: Define explicit Non-Functional Requirements (NFRs), operational capabilities, and reliability targets for a system.
  • Best Used For: Ensuring infrastructure and data design meet uptime, latency, throughput, and data retention demands.
  • Key Sections: SLIs (Service Level Indicators), SLOs (Target Uptime/Latency), Scalability Constraints (RPS/TPS), Disaster Recovery (RPO/RTO), Storage Retention Policies.
  • Vibe: Bridge between software architecture, SRE/DevOps, and product requirements.

9. RFC for Deprecation / Decommissioning (Sunset Proposal)

  • Purpose: Outline the architectural strategy for safely retiring a legacy system, API, or database without breaking downstream dependencies.
  • Best Used For: Tech debt reduction and system migrations (e.g., “Sunsetting the v1 Monolithic Auth API”).
  • Key Sections: Motivation, Dependency Mapping, Migration Path for Clients, Sunset Timeline & Milestones, Data Archival & Fallback Strategy.
  • Vibe: Risk management and backward-compatibility focus.

10. Post-Mortem / Root Cause Analysis (RCA)

  • Purpose: Analyze a critical system failure or architectural breach to identify structural flaws and establish preventative measures.
  • Best Used For: Learning from incidents to drive future architectural decisions and resilience hardening.
  • Key Sections: Timeline of Events, Root Cause Analysis (5 Whys), What Went Well / What Didn’t, Architectural Action Items (creating follow-up ADRs/TDDs).
  • Vibe: Blameless, analytical, feedback-loop mechanism for architectural evolution.

Summary of How They Work Together:

[Strategy / RFC 0] -> Sets overall engineering principles & vision
       │
[RFC / Spike Report] -> Proposes broad changes & tests feasibility
       │
[Design Doc / TDD] -> Details exact execution plan & system design
       │
[ADR] -------------> Records specific architectural choices made during build
       │
[Post-Mortem / RCA] -> Feed back lessons learned to refine the architecture

Leave a Reply