Skip to content

C4 Architecture Documentation

C4 diagrams provide a shared mental model between product, engineering, security, and INFRA.

All diagrams are created using LikeC4

Shows the big picture:

  • Actors interacting with the system
  • External systems
  • Data flows between systems

Shows the high-level technical building blocks:

  • Services and applications
  • Databases and data stores
  • Caches
  • Protocols and ports

Useful when the service is non-trivial or modular:

  • Internal components of a container
  • How components interact
  • Component responsibilities

Recommended for critical code paths:

  • Class diagrams
  • Sequence diagrams
  • State machines