Backend, networking & system design simulator

Change the numbers, then watch what happens to every request. Start with the whole architecture in 3D, then go deep on networking, caching, load balancing, queues, rate limiting and sharding.

Everything that happens before the first byte

DNS lookup, TCP handshake, TLS, then the request itself. Each arrow is a packet crossing the network, so distance multiplies everything.

–Time to first byte
–Round trips to server
–DNS lookup
–Connection setup

Where the time goes

01.5 s

Packet by packet

    Where DNS finds the address
    Protocol

    Try this

    • Set distance to 250 ms and compare HTTP/1.1 with HTTP/3. Count the round trips.
    • Turn on keep-alive: the second request on a connection skips every handshake.
    • A full DNS lookup costs more than the server’s own work in many setups. That’s why DNS caching matters.