See where your architecture breaks and what it costs, before you build it.

Drag load balancers, services, caches and databases onto a canvas, press play and watch throughput, p99 latency, errors, bottlenecks and monthly cost live. It runs in your browser; the live demo below needs no sign-up.

Get early access Watch the demo

Triple the traffic, watch the database tip over

This is the real simulation engine, running the Web app with database template in a Web Worker on this page: 400 requests/s through a load balancer to 4 API servers and one Postgres primary. The traffic dial moves from 1× to 3× and back. At 3× the database runs at about 130 % load, the API runs out of threads waiting for it, p99 goes from under 100 ms to about 1 s and about a quarter of the requests fail.

In the full playground (early access) you can go one step further: put a Redis cache in front of the reads and the database drops to about 36 % at 3×, p99 to 120–150 ms, for about $192/month more.

What you get

Stackrig itself runs on this architecture: Cloudflare Pages, a Cloudflare Worker, Supabase Postgres and Brevo for e-mail. The Stackrig launch spike template puts a Hacker News front page on it. At 10× nothing turns red; what breaks first is a free plan's 300 e-mails a day, about 20 minutes into the peak. Try it with early access →

How it works

  1. A fast model, at any load

    Rates, queues, utilization, errors and retries are computed per node and connection, so the cost of a step depends on the size of the design, not on the load: 10 requests/s and 10 million requests/s cost the same. Latency percentiles come from sampled request paths.

  2. Checked against an exact reference

    A discrete-event simulation that follows every single request serves as the reference. In every validation scenario the live model has to match it within 5 % for throughput and utilization and within 15 % for p50, p95 and p99. For the template in the demo above it matches within 0.3 %. Where it misses, for example overload tails, correlated retries and retry-storm tipping points, the deviation is measured and listed, not hidden.

    See every check and the known limits →

  3. Measured on real machines

    We also run the same designs on real cloud VMs under load and publish how far the model is from the measurements, with the setup of every run. The numbers you see are model results, not measurements of your system.

Get early access

Join the waitlist

Stackrig is in private preview. Leave your email address and we tell you when it opens. We may also ask whether you would like to talk to us about how you design systems today. No newsletter, no tracking.

The full playground is invite-only during the private preview. Join the waitlist to get an invite.