Black Friday race Join
Software development

System architecture template

Eight panels trace a request through an online store: clients, edge, six services, data stores, a job queue and the outside services it calls. Every arrow is labeled.

The System architecture template

What is a system architecture diagram?

A system architecture diagram shows the parts of a running product and how they talk to each other: the apps people use, the services behind them, the places data lives and the outside services the product depends on. A new engineer reads it to learn where a request goes. An on-call engineer reads it to guess what broke.

This template groups the parts into layers and draws one request from the client to the data and back. The example is an online store, with eight panels: Clients, Edge, Services, Data, Async jobs, Third parties, Observability and a key.

The system architecture template: panels for Clients, Edge, Services and Data on top, and Key, Observability, Async jobs and Third parties below.
The whole board: a request moves left to right along the top row, background work sits underneath.

Clients and the edge

Read the top row from the left. The Clients panel holds three cards: a web app that runs in the browser, a mobile app, and an admin console described as “Tools for store staff”. Every card has a name and one line that says what the part is or does.

Two arrows leave the clients. One, labeled HTTPS, goes to the load balancer, which ends TLS. The other, labeled assets, goes to the CDN that serves images and JS. Below the load balancer sits the API gateway, the card that handles auth and rate limits. Nothing reaches a service without passing through it.

Clients reach the edge over two labeled arrows: HTTPS and assets.

Services and data

The widest panel is Services, drawn with a dashed border because it is a Kubernetes cluster. Inside are six services, each with its job in a few words:

  • Accounts: sign-in, profiles.
  • Catalog: products, prices.
  • Cart: items, promo codes.
  • Inventory: stock by warehouse.
  • Orders: checkout, order history.
  • Payments: charges, refunds.

One arrow labeled REST enters the cluster from the gateway. Three arrows leave it for the Data panel, and each says what travels on it: SQL to the database with a primary and a read replica, cache to the store for cache and sessions, and files to the bucket for product images and invoices.

Six services in one cluster boundary; three labeled arrows to the data layer.

Async jobs, third parties and observability

The bottom row holds what does not answer a user directly. When the Orders service finishes a checkout it emits order.placed, drawn as a dashed arrow into the order events queue. Workers take events off the queue and handle emails, PDFs and stock sync. A Scheduler feeds the same queue with nightly jobs, and a Dead-letter queue collects anything that “Failed after 5 tries”.

Two arrows cross into Third parties: charge from Payments to the card payment provider, and email from the workers to the service that sends order emails. The Observability panel has two cards, one for logs, metrics and traces and one that pages the on-call.

Dashed arrows are events and background jobs; solid arrows are requests.

Label every arrow

A box-and-line drawing with bare lines only says that two parts are related. The example never leaves a line bare when the meaning could be guessed wrong. Each label is one or two words for what moves: REST, SQL, cache, files, charge, email. The event carries its real name, order.placed.

The Key panel fixes the three line styles so nobody has to ask: a solid arrow is a “Request (HTTPS, SQL)”, a dashed arrow is an “Event or background job”, and a dashed box is a “Cluster boundary”. Keep the key when you redraw the board for your own system, and add a row if you introduce a new style.

Three line styles, each explained once, so every arrow reads the same way.

How to use the system architecture template

  1. Open it as a new board. Use this template copies the online store into your workspace.
  2. Rename the cards layer by layer. Start with Clients and move right. Keep the second line of each card for the real tool and its job, the way the gateway card says “auth, rate limits”.
  3. Copy a card to add a part. The key says so, and it keeps icon, title and subtitle aligned. Delete the cards you do not run, such as the scheduler.
  4. Redraw the arrows last. Trace one real request, for example a checkout, and label each hop with its protocol or payload.
  5. Mark what is asynchronous. Switch a line to dashed wherever the caller does not wait for an answer.

The board holds 155 elements, more than the 150 a Free board allows, so it opens on the Pro and Team plans. FlowDraw AI can also draw a first version from a written description of your stack.

The instruction on the board: group by layer, name real tools, label each arrow.

When this diagram helps, and when to pick another

Use it for onboarding, for a design review of a new service, and as the first page of an incident runbook. It works best for one product with five to twenty parts.

If the question is where things run rather than what they are, the cloud architecture template draws regions, zones and subnets. If you need to explain the system to people outside engineering, start with a C4 context diagram, which leaves technology out. For a system that is mostly services and events, the microservices template gives each service its own database and an event bus.

Questions about the System architecture template

Does the system architecture template open on the Free plan?

No. The board has 155 elements and a Free board holds up to 150, so opening it takes the Pro or Team plan. Once it is in your workspace you can edit every card and arrow and export the result as PNG, SVG, PDF or JSON.

How much detail belongs on one architecture diagram?

Enough to follow one request end to end. The example stops at services and data stores: it names six services but shows no classes, tables or endpoints. When a panel grows past eight or nine cards, give that layer a board of its own and link to it.

Should the diagram name real tools?

Yes. The instruction line on the board says to name the real tools, and every card has a second line for it. “Queue” tells a reader little. The product name plus “Order events queue” tells them what to open when orders stop flowing.

What is the difference between a solid and a dashed arrow here?

A solid arrow is a request: the caller waits for the answer, as with the REST call from the gateway. A dashed arrow is an event or background job, such as order.placed, where the sender carries on without waiting.