- https://c4model.com/
- Type: reference
- Source: c4model.com · Simon Brown · CC BY 4.0
TL;DR
The C4 model documents software architecture with hierarchical abstractions and diagrams at four zoom levels: system, container, component, code.
What it covers
An approach to architecture diagramming defined as three parts: hierarchical abstractions (software system, container, component, code), hierarchical diagrams (system context, containers, components, code) and supporting diagrams (system landscape, dynamic, deployment). It is notation- and tooling-independent. The site also links a book, talks, training and FAQs.
Key takeaways
- Zoom in four levels: system context, then containers, components and finally code.
- Use supporting diagrams for the landscape of systems, runtime behaviour (dynamic) and deployment.
- Stay notation independent: boxes and lines are enough if each element is labelled and explained.
- Stay tool independent: use any drawing or diagram-as-code tool.
- Review diagrams with a checklist (linked from the site).
When to use
- When drawing or reviewing architecture diagrams for a system.
- When you need a shared vocabulary for abstraction levels in design docs.
- When explaining a system to different audiences at different zoom levels.
Caveats
- Only the landing page was read: level definitions and tooling details live on subpages.
Software Architecture Architecture Patterns Design Patterns The Software Architecture Handbook System Design Interview Basics - Difference Between API Gateway and Load Balancer