Architecture Templates

Start from a proven blueprint and adapt it to your system.

19 of 19
Web ApplicationProduction

SaaS Application

Baseline SaaS architecture with sync APIs, async job processing, webhook billing, and cache layer. Suitable for scalable web apps with background workloads.

Best for: SaaS teams shipping subscription products

Watch for: API throughput during tenant spikes

Hot-path cachingBackground jobs
13 nodes17 edgesTeam-scale product
Open
E-commerceAdvanced

E-commerce High Traffic

Flash-sale ready storefront with CDN edge caching, search indexing, event-driven fulfillment, and Stripe payment webhooks. Handles spiky traffic via layered caching and async order processing.

Best for: Commerce teams preparing for flash-sale traffic

Watch for: Inventory contention on hot SKUs during flash sales

Edge cachingEvent-driven fulfillment
14 nodes18 edgesOrg-scale commerce
Open
Enterprise IntegrationAdvanced

Queue-based ERP Sync

Async enterprise integration pattern with reliable message queuing, exponential retry, and dead-letter isolation. Use when syncing internal systems with ERP without tight coupling.

Best for: Integration teams gluing ERP to internal systems

Watch for: SAP API quotas and rate limits

Durable messagingRetry with backoff
7 nodes7 edgesEnterprise integration
Open
AI / MLAdvanced

AI Chatbot Stack

LLM-powered chatbot with RAG vector retrieval, WebSocket streaming, multi-provider failover, and persistent chat history. Suitable for production AI assistants and copilot products.

Best for: Teams building retrieval-backed assistants

Watch for: LLM provider latency and quota limits

Streaming UXRAG retrieval
9 nodes8 edgesAI product stack
Open
Event ProcessingProduction

Webhook Ingestion Pipeline

Multi-source webhook receiver with signature validation, rate limiting, Kafka fan-out, and dead-letter alerting. Suitable for building reliable event intake from third-party platforms.

Best for: Teams ingesting third-party webhooks at scale

Watch for: Bursty delivery from vendor retry storms

Rate limitingKafka durability
9 nodes8 edgesIntegration platform
Open
Data PipelineProduction

News Crawler Pipeline

Scheduled scraper pipeline with URL-frontier queuing, document storage, full-text indexing, and CDN-cached read API. Use for aggregators, content trackers, or data harvesting systems.

Best for: Teams building content aggregation pipelines

Watch for: Per-domain rate limits and robots rules

Frontier queuingIndexed retrieval
9 nodes10 edgesData harvesting
Open
MicroservicesAdvanced

Microservice Event-Driven

Domain-driven microservices with event sourcing, CQRS-style analytics write path, and dead-letter isolation. Use when services must evolve independently with async integration.

Best for: Teams decomposing a monolith into domain services

Watch for: Consumer lag during traffic shifts

Domain ownershipEvent bus decoupling
11 nodes11 edgesDomain platform
Open
DevOpsProduction

CI/CD Deployment Pipeline

End-to-end CI/CD pipeline with containerized builds, secrets injection, staged rollout (staging → production), and Prometheus/Grafana observability. Use when shipping containerized services reliably.

Best for: Teams standardising release quality

Watch for: Pipeline queue time for large repositories

Staged promotionSecrets hygiene
9 nodes8 edgesPlatform engineering
Open
LearningStarter

Getting Started

Walkthrough of core ArchFlow interactions: drag & drop, node connections, inspector edits, template selection, and export. Start here to learn the tool.

Best for: New users learning ArchFlow

Watch for:

Interactive canvasStep-by-step flow
5 nodes5 edgesLearning
Open
RealtimeProduction

Realtime Chat System

Realtime messaging system with WebSocket channels, pub/sub presence tracking, durable message history, media uploads, and error telemetry. Use for chat products, collaborative tools, or live feeds.

Best for: Product teams building live messaging

Watch for: Fan-out cost for very large rooms

WebSocket transportPresence state
8 nodes9 edgesRealtime collaboration
Open
MediaProduction

Video Streaming Platform

Video transcoding pipeline with async job queuing, multi-bitrate FFmpeg encoding, S3 segment storage, CDN delivery, and real-time engagement analytics. Use for VOD and streaming platforms.

Best for: Media teams launching video-on-demand

Watch for: Transcode queue depth for large uploads

Async transcodingEdge delivery
10 nodes13 edgesMedia platform
Open
EnterpriseAdvanced

Multi-tenant SaaS ERP

Multi-tenant ERP platform with per-tenant schema isolation, shared API gateway, RBAC via Redis cache, and batch worker for reports and reconciliation. Use for B2B SaaS platforms.

Best for: B2B platforms with strict tenant isolation

Watch for: Noisy-neighbour load on the shared database

Tenant context routingSchema isolation
8 nodes8 edgesEnterprise SaaS
Open
AI / MLAdvanced

AI Agent Workflow

Autonomous AI agent with LLM inference, RAG retrieval, tool execution, async job queue for long tasks, human approval checkpoint, and persistent memory. Use for copilots, autonomous workflows, and AI agents.

Best for: Teams orchestrating tool-using AI agents

Watch for: LLM latency and token cost per agent step

Agent orchestrationTool calling
9 nodes10 edgesAgentic automation
Open
Event-DrivenAdvanced

Event Replay & DLQ Monitoring

Resilient event pipeline with parallel consumers, dead-letter parking, manual replay trigger, and PagerDuty alerting. Use to build observable, fault-tolerant event-driven systems.

Best for: Teams that need guaranteed event delivery

Watch for: Consumer lag during replay backlogs

DLQ isolationControlled replay
8 nodes9 edgesReliability engineering
Open
DevOpsProduction

Feature Flag Rollout System

Feature flag system with real-time evaluation engine, Redis hot cache, PostgreSQL source of truth, and A/B impression tracking. Use for progressive rollouts, killswitches, and experimentation.

Best for: Teams shipping behind kill switches

Watch for: Cache invalidation staleness after a kill switch

Local flag evaluationStreamed config
8 nodes10 edgesRelease engineering
Open
Data EngineeringAdvanced

High-frequency Analytics Pipeline

High-throughput analytics pipeline ingesting clickstream events via Kafka, processing in real-time with Flink, archiving with Spark to S3, and querying with ClickHouse for live dashboards.

Best for: Product teams running clickstream analytics

Watch for: Kafka partition skew and consumer lag

Stream + batch splitColumnar queries
8 nodes8 edgesData platform
Open
AI / MLProduction

Search & Recommendation Engine

Search and recommendation system with Elasticsearch full-text retrieval, ML-powered ranking and embedding, collaborative filtering, and real-time click event feedback loop.

Best for: Commerce teams tuning search relevance

Watch for: Index freshness versus catalog change rate

Index sync from catalogML re-ranking
9 nodes10 edgesDiscovery platform
Open
InfrastructureAdvanced

Multi-region API Failover

Active-passive multi-region setup with DNS global load balancer, primary/replica PostgreSQL replication, and automated health-check-driven failover. Use for high-availability APIs with sub-minute RTO.

Best for: Teams with strict RTO/RPO targets

Watch for: Replication lag defining the achievable RPO

Geo routingAsync replication
6 nodes6 edgesMission-critical APIs
Open
AI / MLProduction

Edge-first AI Search App

Edge-deployed AI search with serverless query processing, embedding-keyed semantic cache, vector retrieval grounding, and OpenTelemetry request tracing. Suitable for low-latency AI search products.

Best for: AI search experiences with strict latency budgets

Watch for: Embedding and LLM backhaul latency from the edge

Edge executionSemantic cache
7 nodes8 edgesGlobal low-latency search
Open