Realtime bidirectional event-based communication framework for Node.js
explore
Guided Walkthroughs
A Client Connects and Sends an Event11 steps
Follow a connection from the browser calling io() all the way to the server-side event handler firing.
Server Broadcasts to a Room6 steps
How io.to('room').emit() gets an event from one server call to all sockets in a room, across multiple nodes.
Scaling Socket.IO to Multiple Nodes7 steps
The infrastructure journey from a single-process server to a horizontally scaled cluster.
How a Connection Upgrades from Polling to WebSocket6 steps
The internal Engine.IO handshake and transport upgrade that happens in the first few hundred milliseconds of every connection.