Distributed System Simulator

FlowFrame

See your backend architecture run.

FlowFrame simulates distributed system patterns โ€” load balancing, caching, API gateways โ€” and plays them back frame by frame. Not just diagrams. Actual running logic you can pause, inspect, and learn from.

EngineersSystem Design learnersTech intervieweesEducators

v2.0.0 โ€” FlowFrame DSL Engine + Monaco Code Editor ยท API Gateway, Load Balancers, RabbitMQ & PubSub Brokers ยท 8 Component Nodes

Live simulation preview Running

Round Robin ยท 3 servers ยท Real engine output

Trusted by developers onPeerlistProduct Hunt
โšก FlowFrame DSL (.flow) โ€” Declarative architecture compiler & engine๐Ÿ’ป Monaco Code Editor โ€” Real-time syntax highlighting & autocompletion๐Ÿšช API Gateway โ€” Path-based routing to Server & LoadBalancer clustersโš–๏ธ Load Balancing โ€” Round Robin & IP Hash traffic distribution๐Ÿ“ฌ RabbitMQ Queue โ€” Asynchronous message buffering & consumer prefetch๐Ÿ“ข PubSub Broker โ€” Multi-subscriber event fan-out & topic channels๐Ÿ—„๏ธ Cache-Aside โ€” Redis hit/miss & PostgreSQL database fallback๐Ÿ“– Interactive Docs (/docs) โ€” FastAPI-style comprehensive language referenceโšก FlowFrame DSL (.flow) โ€” Declarative architecture compiler & engine๐Ÿ’ป Monaco Code Editor โ€” Real-time syntax highlighting & autocompletion๐Ÿšช API Gateway โ€” Path-based routing to Server & LoadBalancer clustersโš–๏ธ Load Balancing โ€” Round Robin & IP Hash traffic distribution๐Ÿ“ฌ RabbitMQ Queue โ€” Asynchronous message buffering & consumer prefetch๐Ÿ“ข PubSub Broker โ€” Multi-subscriber event fan-out & topic channels๐Ÿ—„๏ธ Cache-Aside โ€” Redis hit/miss & PostgreSQL database fallback๐Ÿ“– Interactive Docs (/docs) โ€” FastAPI-style comprehensive language reference

What makes it different

Not a diagram tool.
A running system.

Most system design tools let you draw boxes and arrows. FlowFrame actually runs the logic, captures every hop, and plays it back so you can see what's happening inside.

โšก

Run real simulations

The engine actually runs your distributed system. Requests hop from Client โ†’ Load Balancer โ†’ Server โ†’ Redis โ†’ Postgres โ€” not just drawn arrows.

๐ŸŽž๏ธ

Frame-by-frame playback

Every request hop becomes a playback frame. Pause at any moment, scrub backwards, or fast-forward. See exactly what happened and why.

๐Ÿ”ฌ

Inspect node state

Open any node's inspector. See Redis key snapshots, server load, capacity, request queues โ€” all updating live as the simulation runs.

๐Ÿ“š

Learn as you simulate

Each concept has a guided doc page with a live sim embedded. Read the theory, trigger the failure, watch the recovery โ€” all on one screen.

Supported in v2.0

v2.0.0 RELEASE

Pick a scenario. Hit play.

Each scenario is pre-wired with real engine logic. Just select one and watch the architecture run.

โš–๏ธ
v2.0 ยท Live

Load Balancing

Watch Round Robin and IP Hash distribute requests across 3 servers. Drag capacity to 0 to see failover in action.

Round RobinIP HashFailover
Open Simulatorโ†’
๐Ÿ—„๏ธ
v2.0 ยท Live

Cache-Aside

Three deterministic requests: cache hit, cache miss โ†’ DB fallback, and invalid key. See Redis snapshots update frame-by-frame.

Redis Hit/MissDB FallbackTTL
Open Simulatorโ†’
๐Ÿšช
v2.0 ยท Live

API Gateway

Path-based routing with server & LoadBalancer pools. Set a server's capacity to 0 and watch gateway failover.

Path RoutingLoadBalancer Target503 Failover
Open Simulatorโ†’
๐Ÿ”‘
v2.0 ยท Live

Valet Key Pattern

Client requests a signed upload token from the server. Server issues it. Client uploads directly to cloud storage โ€” no proxy.

Token IssuanceDirect UploadCloud Storage
Open Simulatorโ†’
๐Ÿ“–

FlowFrame DSL Docs

Explore language specifications, syntax rules, schema specs for all 8 component nodes, and copy-pasteable flagship architecture scripts.

Read DSL Docs (/docs) โ†’
๐Ÿ“š

Guided Scenarios

Guided learning for each distributed system concept โ€” theory on the left, live simulation on the right.

Start Scenarios โ†’
โšก

Monaco DSL Sandbox

Write code in Monaco Editor using FlowFrame DSL or drag & drop nodes on canvas. Run live system simulations instantly.

Open Workspace โ†’
Version 2.0.0

What's supported right now in v2.0

โœ“ Supported

  • โœ“FlowFrame DSL (.flow) Interpreter Engine
  • โœ“Monaco Code Editor with Syntax Highlighting & Autocompletion
  • โœ“Client -> API Gateway -> LoadBalancer -> Server Topology
  • โœ“Message Queue (RabbitMQ FIFO) Producer/Consumer Simulation
  • โœ“PubSub Broker Event Fan-Out & Custom Server Topic Registration
  • โœ“Round Robin & IP Hash load balancing
  • โœ“Capacity-based server failover
  • โœ“Cache-Aside pattern (Redis)
  • โœ“Database fallback (Postgres)
  • โœ“API Gateway path routing with LoadBalancer targets
  • โœ“Valet Key token issuance & Cloud Storage uploads
  • โœ“Frame-by-frame traffic playback
  • โœ“Node state inspector & health overlay
  • โœ“Custom sandbox canvas with JSON import/export

โณ Coming next

  • โ—‹More LB strategies (Least Conn, Weighted RR)
  • โ—‹Circuit Breaker & Retry patterns
  • โ—‹Distributed Tracing (OpenTelemetry style visualization)
  • โ—‹Kafka Partitioned Log simulations

Ready to see your architecture run?

Pick a scenario, hit play, and watch every hop of every request โ€” live.