WebSocket versus Ajax Requests

WebSocket versus Ajax Requests

First speed, if a websocket connection is established you are constantly connected to the websocket server and both parties can send data in real time back and forward.

Second Bandwith, HTML5 Web Sockets provide a dramatic reduction of unnecessary network traffic compared to ajax requests. It is also much faster on mobile networks it even runs fast on a simple EDGE connection.