geekyhacker.com
WebSocket vs Server-Sent Events vs Ajax polling
It happens many times during the process of writing a web application that both client and server have to constantly communicate with each other. And even keep a connection open. To achieve that th…