FlowDiagram
30 templates

Software & system architecture templates

Integration landscapes, microservices and C4-style context diagrams. Every one opens as a real, editable diagram — restyle it, extend it and export it as your own. See also the system architecture diagram tool.

All 30 software & system architecture templates

Shopify storefr…Stripe paymentKafka order eve…SAP S/4HANA sal…Credit check…Order on cre…

Order-to-cash integration landscape

Six systems, left to right — drop in real vendor logos afterward.

Mermaid
ClientAPI gatewayAuth serviceToken cacheOrders servi…Orders DB

Microservices with a message queue

Services decoupled through a broker instead of calling each other directly.

Mermaid
BrowserDNSCDN edgeCache hit?Web applicat…Load balancer

One request through a stack

Where a request actually goes, caches and queue included.

Mermaid
Retail custo…Web banking…Mobile banki…Support agentAgent consoleInternet Ban…

System context diagram (C4-style)

One system, its users and the external systems it depends on.

Mermaid
Orders servi…Event busPayments ser…Shipping ser…Schema regis…Analytics co…

Event-driven architecture

Producers, an event bus, and independent consumers.

Mermaid
UsersDNSCDN static a…Load balancerWeb server 1Web server 2

Three-tier web application

The classic web, app and database tier split.

Mermaid
Tenant usersCustom domai…API gatewayIdentity ser…Tenant SSO /…Tenant resol…

Multi-tenant SaaS architecture

Shared services with per-tenant data isolation.

Mermaid
UserAgent host a…LLM: plannin…Short & long…Tool needed?MCP client

Agentic AI architecture with MCP

An agent host calling tools and data through Model Context Protocol servers, with planning, memory, human approval and audit — the pattern behind current AI agents.

Mermaid
Web: Next.jsEdge CDN & f…Mobile appAPI orchestrati…Headless com…Headless CMS

Composable commerce (MACH) architecture

Microservices, API-first, cloud-native SaaS and headless: best-of-breed commerce, CMS, search and payments behind a frontend and orchestration layer.

Mermaid
On-prem broker:…Dynamic even…AWS broker regi…Azure broker re…SaaS webhook…Event catalo…

Enterprise event mesh architecture

Connected event brokers across on-prem, clouds and SaaS so events route anywhere with a shared catalog and governance.

Mermaid
ShoppersCDN & WAFNext.js stor…Backend for…Catalogue se…Search servi…

E-commerce platform architecture

Storefront, catalogue, cart, checkout, payments, search and fulfilment services around an event bus — the reference picture for a modern online store.

Mermaid
Driver appsWebSocket gatew…Rider appsAPI gatewayLocation ing…Kafka location…

Real-time dispatch system architecture

Location ingestion, geo-indexing, matching and pricing for a ride-hailing or delivery platform.

Mermaid
ClientsLoad balancerWebSocket node 1WebSocket node 2Pub/sub: RedisMessage service

Real-time chat application architecture

Presence, message fan-out, persistence and push notifications for a Slack- or WhatsApp-style messaging product.

Mermaid
CreatorsUpload servi…Raw video st…Transcode jo…Transcoding…Packaging &…

Video streaming platform architecture

Upload, transcode, catalogue, recommendation and playback components of a Netflix/YouTube-style service.

Mermaid
REST control…Inbound port…CLI adapterMessage cons…Inbound port…Application…

Hexagonal (ports & adapters) architecture

How a service isolates domain logic from HTTP, messaging and databases through ports and adapters — useful when explaining clean architecture to a team.

Mermaid
ClientCommand APICommand vali…Reject with…Load aggrega…Event store

CQRS with event sourcing

Commands append events to an event store; projections build read models — the pattern for audit-heavy domains like banking and ledgers.

Mermaid
Web appAPI gatewayMobile appPartner syst…Auth & token…Rate limitin…

API gateway with backend-for-frontend

Separate BFFs for web, mobile and partners behind one gateway, with auth, rate limiting and aggregation.

Mermaid
Ingress gatewayService ASidecar prox…Sidecar prox…Service BSidecar prox…

Service mesh architecture

Sidecar proxies handling mTLS, retries and telemetry between microservices, managed by a control plane.

Mermaid
Product serv…Notification…Valid & not…Drop & logUser prefere…Template ren…

Notification system architecture

A multi-channel notification platform: templates, user preferences, rate limiting, providers and delivery tracking.

Mermaid
UserLoad balancerWrite APIID generator…Key-value st…Visitor

URL shortener system design

The classic system-design interview: ID generation, redirect path, caching and click analytics.

Mermaid
RequestGateway extr…Load rule fo…Atomic token-bu…Tokens avail…Decrement &…

Distributed rate limiter design

Token-bucket rate limiting at the gateway with a shared counter store, rules config and headers.

Mermaid
Source datab…Change data…KafkaEnrichment:…IndexerSearch clust…

Site search architecture

Indexing pipeline, query service, ranking and analytics for an in-product search feature.

Mermaid
Merchant che…Hosted field…PCI card vau…Payments APIIdempotency…Return previ…

Payment gateway architecture

Tokenisation, routing across acquirers, 3-D Secure, idempotency and ledger — how a payments platform is structured.

Mermaid
DevicesMQTT brokerDevice auth…Rules engineTime-series…Alerting

IoT platform architecture

Device connectivity, rules engine, digital twin, time-series storage and apps for a connected-device product.

Mermaid
UsersRouting faca…Route migrat…Legacy monol…New servicesLegacy datab…

Strangler-fig migration from a monolith

Routing traffic from a legacy monolith to new microservices one capability at a time.

Mermaid
Tenant adminsControl plane A…Onboarding &…Billing & me…Identity & S…Tenant catal…

SaaS control plane & data plane

Separating tenant management, provisioning and billing from per-tenant runtime cells.

Mermaid
iOS & Android a…Auth: OAuth…CDN for imag…GraphQL APIRemote confi…Crash report…

Mobile app backend architecture

Auth, API, sync, push, feature flags, crash reporting and analytics behind a consumer mobile app.

Mermaid
UserChat UIOrchestratorInput guardr…Conversation…Retriever

AI assistant product architecture

An LLM-powered assistant with retrieval, tools, guardrails, memory and evaluation — the reference stack for GenAI features.

Mermaid
CustomerBooking APIAvailability…Availability…Inventory DBHold service…

Booking & reservation system architecture

Availability search, holds with expiry, payment and confirmation for hotels, tickets or appointments.

Mermaid
Global usersLatency-base…EU regionUS regionApp tier EUApp tier US

Multi-region active-active architecture

Serving users from two regions at once with global routing, conflict-free replication and regional failover.

Mermaid

Other template categories