System Design Lab Workbench preview
100req/s

Start with a template or add Users, then connect components.

How to use the workbench

  1. Start from a template (left list, near the bottom) or tap Users and then any component to add it.
  2. Connect: drag from the blue dot on the right edge of a box to the next box. Calls run in the order you connect them.
  3. Change a box: tap it. The bar on top of the canvas has − / + for how many copies run and Remove; the right panel has every setting. The Delete key removes the selected box or wire.
  4. Set the traffic with − / + next to Play traffic, then press Play traffic. Requests flow along the wires, and each box shows a light and a load bar: green fine, amber busy, red overloaded or failing.
  5. Break it: in Faults, take a box down or slow it, or add a burst, then play again. Add retries or a circuit breaker on a wire and compare.
  6. See it in 3D with the View bar (top left of the canvas). Drag to turn it; switch back to 2D to edit.
  7. Compare: save a run as the baseline, change one thing, run again. Use What if… to sweep one setting.

Numbers come from a simulation, not from real servers. Your design is saved in this browser.

A free account lets you take your design with you

No payment needed. Building, running and comparing stay open without an account, and your design is kept in this browser while you sign up.

Sign inCreate free account

That's all for today

Your design stays here. Editing, the lab topics and everything else keep working.

My designs

Import a design

Paste JSON or YAML, or choose a file. Short forms work: components with a type, connections like nginx -> api -> db. Missing values are filled with defaults and listed so you can check them.

Supported types: traffic, cdn, ratelimit, lb, gateway, app, auth, worker, cache, db, search, storage, queue, external.

Draft a design from a description

Write how requests flow, e.g. React -> Nginx -> 3 Node instances -> PostgreSQL; Redis cache; BullMQ workers. Read by fixed rules in your browser: nothing is sent anywhere, and the text is only read as data. A description gives the layout, not the numbers: answer the questions or keep the listed defaults.

Describe your system

Leave a number empty if you are not sure: a default is used and listed under Assumptions, so you can see what the results depend on.