Flowdrom
RUSign in
Architecture

How to design service architecture on a board

Map the whole system, then explain one service in detail. Follow an order from an API gateway request to a database write and a published event.

Explore the online store example

Platform overview and system boundaries

Start with the client, the API gateway and the services handling a request. For example, the storefront calls the order service and the payment service contacts a bank. Draw boundaries around each area of responsibility and place external systems outside the relevant boundary.

Inside the order service

Inside the boundary, show the order validation component, storage and event publisher. In a transactional outbox design, one transaction stores the order and its event. The publisher reads the event and sends it to the queue. Edges touching a queue are dashed, and other edges are solid.

Sharing the design with your team

Choose PNG or PDF for review. Choose PlantUML or PlantUML C4 for editable source. Select a service boundary before exporting to share just that part. With no boundary selected, the export includes the entire board.

Questions and answers

How does C4 differ from a board image?

The C4 file describes boundaries, nodes and relationships. Block colors and dashed queue connections are preserved. PlantUML lays out the diagram when it renders. Use PNG or PDF to share the exact board layout.

Flowdrom

Try it on your board

Features depend on the plan. See pricing for current terms.

Sign inView pricing