All systems

Chat app.

A chat app keeps a connection open to every person online, then copies each message to everyone in the room. Fill the servers, grow the rooms, and restart a server at peak to see what breaks.

Every person online holds one connection open, and each one takes memory. Push users past 20,000: the server is full and refuses new connections while its CPU has room to spare. More memory fixes it. More cores do not.

Clients15,000 online0 messages/sLoad balancer0 req/sWebsocket servers0 connected · 20k max each0 deliveries/sserver-115k · CPU 0%Pub/sub brokerLevel 3
  • Request
  • Request that will fail
  • Thicker line, more traffic
Clock
0:00
Requests
0/s
p95 latency
–
Errors
0%
Cost
$0.00/h

Click any box

Each box explains what it does and how it fails.

Event log

Nothing has broken yet. Crashes, limits and scaling show up here.

Next systemVideo pipeline