SETUP

Naïve real-time: Short Polling floods your API

WebSockets & Real-Time · Step 1 of 10

1/10
GET /msgs every 2sempty polls20,000 onlineREST APIFleet88%95% emptyMessages DB82%constant SELECT95% WASTED POLL WORKEmpty 304s9,500 req/s wastedCost DriverScales with idle tabs
HTTP / WS frame
live push / pubsub
heartbeat ping
poll / reconnect storm
dropped / unreachable
POLL TRAFFIC:10,000/s
EMPTY RESPONSES:95% wasted
AVG MSG DELAY:1,050 ms
API CPU LOAD:88%