In order to reduce RTT ( Round trip time ), websockets becomes handy if you are thinking about performance. WebSocket is a protocol for creating a fast two-way channel between a web browserand a server. WebSocket overcomes limitations with HTTP to allow for low latency communications between a user and a web service PHP supports WebSockets and the following projects help us use them in our projects: i.   https://socketo.me