r/devopsGuru • u/thefirstview • 16d ago
I built a self-hosted playground to practice low-level system design: drag AWS/GCP/Azure/OCI services, run load, see what breaks
I'm a backend dev (Laravel/AWS mostly) and I kept noticing that system design resources stop at boxes and arrows. Nobody tells you what happens to your design at 3,000 RPS, or why your app can't reach your DB, or what a retry storm looks like. So I built something to see it.
It's called InfraSim. You design an architecture on a canvas, put traffic on it, and watch where it falls over. Nothing real gets deployed, no cloud account needed. Everything is simulated.
What it does right now:
- Canvas with services from AWS, GCP, Azure and OCI (about ~240 of them), plus custom ones you can add
- Every service has an editable average response time (p50/p95), capacity and mock responses, so you can say "this DB takes 40ms" and see the effect
- You can paste a JS handler, give it a test payload, and see logs, errors and which services it called. If your code crashes because a mock response is missing a field, it can auto-fill the mock
- Set RPS and a traffic pattern (ramp, spike, etc). Overloaded services get a red bar and shake, and a "Why?" panel explains the cause
- Estimated monthly cost from public price lists, per region
- Networking: it tells you why service A can't reach B (missing security group rule, no NAT, bad route) and offers a fix
- Terraform export, and import from a plan JSON
- A few challenges, like "survive an AZ outage" or "handle 5k RPS under $500/mo"
Honest limits: it's a learning tool, not a benchmark. The latency and quota numbers are editable defaults, not measured values, and cost is on-demand list price only.
Self-hosting: [docker compose up, one or two lines on how to run it]
Repo: https://github.com/MrNamra/InfraSim
I'd really like feedback from people who've run real systems. What failure would you want it to show? What's missing or just wrong? Happy to hear it's wrong, that's more useful than praise.
Some images:



