Stackrig

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

  1. Design
  2. Simulate
  3. Find the bottleneck
  4. Fix
  5. Compare cost

Open the app See how it works

Draw an architecture, put load on it and watch throughput, p99 latency, errors and monthly cost live. It runs in your browser; the demo below needs no sign-up.

Triple the traffic, watch the database tip over

This is the real simulation, running on this page: 400 requests/s through a load balancer to 4 API servers and one Postgres database. At 3× the database runs at about 130 % load, p99 goes from under 100 ms to about 1 s and about a quarter of the requests fail.

In the app, put a Redis cache in front of the reads: the database drops to about 36 % at 3×, p99 is back under 100 ms and nothing fails, for about $192/month more.

How it works

  1. Design

    Drag load balancers, services, caches and databases onto a canvas and connect them.

  2. Simulate

    Press play and set the traffic. Throughput, p99 latency, errors and monthly cost update live.

  3. Find the bottleneck

    Stackrig names the node that breaks first, not every node that waits on it.

  4. Fix

    Add a cache, a replica or a larger machine and see at once whether the design holds.

  5. Compare cost

    Every change shows its monthly price, so you see what the fix costs.

The model against real machines

We run the same designs on real cloud VMs under load and publish how far the model is off. These are the runs of 30 September 2026 on 2-vCPU machines: the mean deviation of the model from the measurement. What Stackrig shows you are model results, not measurements of your system.

Read the accuracy report

From our experiments

All experiments

What you get

Also in the app

Stackrig itself runs on this architecture

  • Cloudflare Pages
  • a Cloudflare Worker
  • Supabase Postgres
  • Brevo for e-mail

How the numbers are made

Open the app

From the blog

  1. measured

    Self-hosted LLM or API: when does a rented GPU pay off?

    gpt-oss-20b on one rented L4, measured: what a million output tokens cost at 1 to 64 requests at once, and how busy the GPU must be to beat five per-token APIs.

  2. tested

    Could not get lock /var/lib/dpkg/lock-frontend on Ubuntu 24.04

    We started a second apt while a first one was installing on a fresh Ubuntu 24.04: it named who held the lock, waited, and went on by itself.

  3. tested

    Package 'mysql-server' has no installation candidate on Debian 13

    We made apt’s “no installation candidate” for mysql-server on a fresh Debian 13, read what apt offers instead, installed it and logged in.

All pieces

Join the waitlist

The app is open, and Pro is not for sale yet. Leave your email address and we tell you when Pro is ready. We may also ask whether you would like to talk to us about how you design systems today. No newsletter.

You need no waitlist and no account to try Stackrig: the app is free to use in your browser. An account, by email or GitHub, is only for saving designs to the cloud.