Iโm looking for a โway to goโ (that is, the most efficient, most used, generally accepted way) when it comes to overloading data from a web server to the forefront. In the final application, I will have several output fields into which the data should be written, for example:

Data streams will differ from each other in the final application. Lines should be reloaded with fresh, updated data from the server.
I was thinking about using Ajax requests for updates, like every second, but there should be a different way to do this. Ajax requests will cause a lot of data traffic. In addition, when using Facebook chat, you donโt have to wait every second, chats are received almost instantly. However, I do not see any Ajax polls when I use the Mozilla Firefox developer tools. It made me wonder if there would be another way to do this.
I looked through Node.js but it seems like this is not possible with my host.
I heard people talking about Ajax Push, is that what I should use? If so, can you give me a basic use case?
If not, what will happen when you need to have several data streams that need to be reloaded in a second?
Requirements are speed and low data traffic. Therefore, in my opinion, this will not be an opportunity to constantly poll the server, because it will create huge overhead.
I don't think this makes any difference, but I use PHP5.3 at the end and JavaScript with jQuery 1.9.1 in the interface.
Keelan
source share