Real-Time
Pushing data to a client on a protocol built to do the opposite.
4 chapters13 lessonsabout 1 hour
Client asks 'anything new?' on a fixed timer. Simple but wasteful.
Server holds the connection open until data is ready, then client immediately reconnects.
One HTTP connection; server streams events to client indefinitely.
Full-duplex persistent connection, both sides send messages freely after a single handshake.