WebSocket
A persistent two-way connection, used to subscribe to chain events instead of repeatedly asking whether anything changed.
Polling for new blocks wastes requests and adds latency equal to the polling interval. A subscription pushes events as they happen — at the cost of a connection you must now keep alive and reconnect, since a dropped subscription fails silently.