I am developing an application that relies on server-side variables which update every second. It is crucial that all clients viewing the webpage are able to see these updates in real-time.
Many people have suggested using comet as it allows for pushing/pulling of data every second. However, I have a few questions regarding this:
In terms of efficiency and accuracy, would it be better to pull the new data from the client or push it from the server, considering the need for updates every second?
Additionally, the item IDs on the server side (along with their corresponding variables) can change. When a client refreshes the page, they should still receive the most up-to-date and relevant IDs. What is the best way to implement this using jQuery/JavaScript on the client side?
Lastly, I am having trouble finding a reliable (and affordable) comet library/api for ASP.NET (C#). Has anyone had success using a comet library with similar requirements? We anticipate having up to 2000 comet connections active at any given time.