Skip to main content

Architecture Simulator

The Architecture Simulator is Codivise’s visual system design playground. Build architectures by dragging components, connect them with data flows, run live simulations with real-time metrics, and test chaos scenarios. Create custom named diagrams and save them for later—all in one place. No more switching between Excalidraw and separate tools.

See It in Action

Why the Architecture Simulator

  • Interview-ready — Practice system design the way it’s asked: draw, explain, iterate
  • Live metrics — See QPS, latency, error rate, cache hit rate, and cost as you simulate
  • Chaos testing — Toggle traffic spikes, cache misses, and node failures to test resilience
  • Custom diagrams — Create and name unlimited diagrams. Save and reload anytime
  • Task-linked — Pick a system design problem (e.g., URL shortener) and build your solution

Getting Started

  1. Go to Coding CoachSystem Design Simulator (route: /system-design-simulator)
  2. Select a task (e.g., “Design a URL shortener”) or Freeform
  3. Drag components from the right palette onto the canvas
  4. Connect components by dragging from output handles (right) to input handles (left)

Components

ComponentDescription
Load BalancerDistributes traffic across nodes
CacheRedis/Memcached-style caching layer
DatabasePrimary data store
QueueMessage queue for async processing
API ServerStateless service layer
CDNContent delivery at edge
TextLabel or annotation

Running a Simulation

  1. Build your architecture
  2. Click Run Simulation in the controls panel
  3. Observe metrics: QPS, Latency p95, Error rate, Cache hit rate, Cost
  4. Toggle chaos: Traffic spike, Cache miss, Node crash

Custom Diagrams

  1. Click New diagram
  2. Enter a name (e.g., “My API architecture”)
  3. Build and save with Save or Cmd+S / Ctrl+S
  4. Load from Saved diagrams or the task dropdown (📐 icon)

Keyboard Shortcuts

  • Cmd+S / Ctrl+S — Save diagram