A system design simulator that shows which part of your design fails first.
Draw your services, caches, queues and databases, then send traffic through them. Watch queues fill and latency climb until StackMonkey names the part that gave out.
Bring the diagram you already have
Open a draw.io file, a screenshot or a photo of a whiteboard, and run it. Each box becomes a component, each arrow becomes a call, and you see which part gives out first.
- draw.io
- A
.drawiofile, or a PNG or SVG exported from draw.io, opens exactly as drawn. It is read in your browser. - A picture
- A screenshot, a slide or a whiteboard photo becomes boxes and arrows. Before anything opens, you see what was read and anything that was unclear. Needs a free Google sign in.
- Your phone
- Scan a QR code on your computer, photograph the board or pick a photo, and it arrives on your screen.
10 Designs to Start From
Ten classic system design problems, each sized for a stated load. Open one, push it past its limit, and see which box gives out first. Each one also says what it leaves out.
URL Shortener
Redirects check a cache first and only misses reach the database. New links take a separate path, so a flood of them cannot slow redirects. About 20,000 requests a second at peak.
Chat Service
50,000 people keep a WebSocket open and send messages through Kafka into a Cassandra history store. Stop a chat server and watch everyone reconnect at once.
News Feed
A new post goes through Kafka to a worker that fills the timeline cache, so reading a feed is one lookup. Slow the worker down and feeds go stale while reads stay fast.
Video Streaming
Viewers fetch video segments from a CDN that answers 96 percent of them from the edge. Purge the CDN and watch the origin take everything, or surge the uploads and watch the transcode queue.
File Storage & Sync
A Dropbox style service: 4 MB chunks in S3, a metadata database behind a cache, and a queue that tells your other devices. Pause S3 or the database and see which parts keep working.
Payment System
Every payment is written to a primary database with a synchronous replica, so no accepted payment is lost. Stop the primary and watch the failover. A slow merchant backs up webhooks without delaying payments.
API Rate Limiter
One customer sends 6,000 requests a second against a 3,000 limit. The gateway turns the extra away with 429s and the services behind it never see them. Switch the limit off to see the same flood unprotected.
Notification System
Services send 5,000 notifications a second into a push queue and an email queue. Slow the push provider and only the push queue grows. Email and the callers carry on.
Web Crawler
Fetchers spend their time waiting on other people's servers, so they need many workers, not many cores. Cut the fetchers and the backlog grows. Lose the seen URL filter and the queue fills with repeats.
Ride Sharing
40,000 drivers send their location every few seconds, kept in Redis and never in the trip database. Riders look up nearby drivers and ask for rides. Kill the location store and riders cannot be matched, but ride requests still go through.
Watch These Break Under Load
Each of these is a built in design. Stop the box, slow it down or press the spike button, and watch what the rest of the system does about it.
The Retry Storm
A checkout service calls a slow inventory service with a 150 ms timeout and three retries. During a ten-second traffic spike, retries bury the inventory service. Without a circuit breaker, it never recovers.
The Cache Goes Down
Redis stops. Redirects keep working because the service falls back to the database, but the database now takes every read. It gets much busier and a little slower. At double the traffic it would not survive.
A Slow Provider
The push provider starts taking three seconds to answer. Only the push queue backs up, with thousands of waiting messages. Email keeps flowing, and the services sending notifications never notice.
The Cold CDN
Someone purges the CDN. Until it refills, nearly every viewer request goes to the origin instead of the edge. The origin goes from comfortable to flat out, and it is the next box to fail.
How We Check the Numbers
The queue part of the engine is tested against textbook formulas. Each test runs the same situation in the simulator and in the math, and checks that the answers match.
Average wait times match the textbook formula for one worker and for many workers, from a nearly idle system to a nearly full one.
When the waiting room is full, new requests are turned away. The share turned away matches the formula.
The average number of requests inside the system equals how fast they arrive times how long each one stays. It is a good check that worker counts add up.
Waiting time when response times vary: a few slow calls hurt even when the average looks fine. Checked for fixed, exponential and long tailed response times.
The checks cover the queueing part of the engine. StackMonkey does not run your code, and it does not know your real hardware or network. It shows how a design behaves when workers, queues and connections run out, with numbers you set yourself.
Why a System Design Simulator Beats Static Diagramming
Drawing static architectures on Excalidraw, Draw.io, or Lucidchart communicates layout, but static lines cannot show when a connection pool exhausts, buffers overflow, or retry storms cascade under load. StackMonkey executes your design with deterministic queueing physics.
| Capability | Static Whiteboards (Draw.io, Excalidraw) |
StackMonkey Simulator
Executable
|
|---|---|---|
| Traffic & Request Flow |
Static vector lines and arrows; cannot model queue buildup or concurrency
|
Real-time discrete-event packet flow across queues, caches, and workers
|
| Bottleneck Discovery |
Manual guesswork; bottlenecks only surface in post-production outages
|
Live latency percentiles (p50/p95/p99), thread pool saturation, and queue drops
|
| Queue Theory & Math |
None; sizing depends on rough rules of thumb
|
Verified with textbook M/M/c/K, Pollaczek-Khinchine, and Little’s Law
|
| Failure Injection & Chaos |
Must manually recolor boxes red or draw outage scenarios by hand
|
1-click chaos: spike traffic, kill cache instances, or saturate DB connection pools
|
| Interview Preparation |
Sketching static boxes without execution or quantitative verification
|
10 pre-sized production architectures with capacity math and auto-graded challenges
|
Who It Is For
Architects and Senior Engineers
Put a running design next to your proposal instead of a diagram. Find out roughly where it runs out of workers or connections before you pay for the machines.
- ✓ Back up a design with numbers
- ✓ Find the box that fails first
Platform and SRE Teams
Try timeouts, retries and circuit breakers on a model before you change them in production. See how one slow service drags down the ones that call it.
- ✓ Try timeouts, retries and circuit breakers
- ✓ Watch queues build when a box slows down
Students and Interview Prep
Build the classic designs, push them until they break, then try a fix and see if it helped. The formulas from your course show up on real numbers, so they stop being abstract.
- ✓ Same design, same result every time
- ✓ Checked against textbook queueing formulas
Frequently Asked Questions
Find out what breaks first.
Build a design, stop boxes mid run and push the load up. Free to use, and you only need a Google sign in to save, export, or take design challenges.