Beginner bootcamp · Module 5
How to read and draw system design diagrams
8 min reading · Sources
Outcome: Draw an ordered request path, distinguish reads from writes, and identify control and data responsibilities.
More
Hypothetical scenario: Northwind’s design review contains twelve boxes and several crossing arrows. Nobody can say which component decides that an order exists. Drawing more infrastructure will not answer that question. Begin with one user action and annotate who owns each transition.
Words to recognize
API gateway
Definition: An entry point applying routing and shared API policies. Related topic
Queue
Definition: A work-holding abstraction with defined enqueue, delivery and removal semantics. Related topic
Control plane
Definition: Components responsible for configuration, policy or lifecycle management of serving resources. Related topic
Data plane
Definition: Components performing the configured service's request or data handling. Related topic
Write path
Definition: The ordered operations that accept, validate and record a state change. Related topic
Read path
Definition: The ordered operations used to retrieve and return a result. Related topic
A diagram makes a claim about behavior
A transit map helps only if stations and connections have stable meanings. Architecture drawings need the same discipline. State the scope, the actor and the operation before choosing shapes. A box might mean a process, a service, a database or an entire region; the legend must say which. A cylinder is a useful convention for storage, not proof of persistence.
The C4 container diagram uses containers as deployable applications or data stores, rather than limiting the word to operating-system containers. This is one reason to define terminology on the page. A useful drawing assigns responsibilities and labels communication; it need not show every function or class.
Separate the two paths
For a product update, a write path might validate an operation, commit a versioned record and publish an event for derived search state. A read path might query an index, authorize results and retrieve current details. Number the arrows so readers can reconstruct the order. Draw these paths separately when combining them would hide authority or freshness.
Choose a legend: solid arrows mean synchronous request/response and dashed arrows mean asynchronous delivery. Label each arrow with an operation, not just “API.” An asynchronous arrow must still answer who owns retries and what acknowledgment means. A queue means work can wait; it does not prove that delivery is exactly once.
Derive a deadline from the drawing
Assume a hypothetical synchronous path has a 250-millisecond budget. Reserve 40 milliseconds for the client-facing network exchange, 20 for the gateway and 60 for application work. Remaining database time is 250 − 40 − 20 − 60 = 130 milliseconds. Giving each of two sequential database calls a 130-millisecond timeout would allow 260 milliseconds at that boundary, already exceeding its allocation.
Split the remaining time across the calls, or pass a shared deadline so the second call sees the time already spent. The drawing should show whether calls are sequential or parallel because that changes the calculation. These allocations are design inputs, not measured component latencies.
Add control without hiding dependencies
A control plane configures the system: creating a tenant or changing a routing policy. A data plane serves the resulting requests. Separating them can let existing requests continue while configuration changes are unavailable, provided the data plane already has the necessary policy. Draw the configuration dependency and state whether it is required on every request.
Hypothetical scenario: a fleet reloads configuration synchronously for every product read. A control-plane outage now blocks browsing. A locally retained validated configuration could remove that hot-path dependency, but introduces a policy freshness decision. Use the diagram to make that decision visible. Avoid turning the picture into a product logo collection: every component should explain an owned state, a boundary, a scaling need or a failure response.
Draw the smallest useful legend
Use distinct symbols only when their distinction changes the reader’s reasoning. A client initiates an interaction; a gateway owns entry policy; a stateless service handles request work; a cache holds reusable copies; a database owns records; a queue holds pending work; and a worker consumes it. A CDN or object store owns a different delivery or byte-storage boundary. The legend should say whether a box represents one instance or a replicated service, because failure analysis differs.
Add trust and ownership boundaries before drawing regions merely for decoration. A database shared across two tenant services can still be a common failure or authorization boundary. An arrow crossing into a third-party provider is not under the same operational control as an in-process call. Annotating that boundary helps explain why a timeout might leave the result unknown and why reconciliation is required. The drawing should enable a concrete question about behavior, rather than just identify deployed products.
Review the picture by removing a box
Choose a component, assume it becomes unreachable, and trace what each actor can still do. If a queue is unavailable, does the application reject the command, keep a durable outbox record or silently drop downstream work? If a cache disappears, is the database prepared for the miss traffic? If a worker crashes after an external effect but before recording completion, what prevents replay from repeating that effect? These are different failure windows and should not share one vague “retry” arrow.
Then inspect recovery and versioning. A new configuration or data schema can coexist with old consumers during a rollout. Label where compatibility is needed and who decides that migration is complete. Read the diagram aloud as a sequence, replacing every arrow with an operation and a promise. If the explanation requires facts that are absent from the picture, either add a concise annotation or put the detail in accompanying prose. A good drawing is a guide to the argument, not an attempt to fit the whole implementation onto one screen.
Check your decisions
Does a dashed arrow establish exactly-once processing?
No. It is only a legend convention. Delivery, acknowledgment, deduplication and effect identity need explicit contracts.
Can two sequential calls each use the whole remaining deadline?
No. They share elapsed time. In the example, two full 130-millisecond waits exceed the 130-millisecond allocation.
Should every read depend on a live configuration service?
Only if the freshness requirement justifies that dependency. Retained policy can preserve serving during control-plane failure, but needs explicit expiry and update rules.
Go deeper
- Container diagram — Simon Brown / C4 model · Primary document. Explains scope, responsibilities and communication on an architecture diagram. Verified 2026-10-26.
Decision log
Decision: draw a named operation and its authority before adding infrastructure.
Limit: a diagram records a proposed contract; it does not demonstrate that an implementation meets it.
Next decision: use the blueprint roadmap to choose a mechanism and challenge its failure behavior.