Reputation: 4810
I would like to start implementing to my site some "long polling like" techniques.
Basically i need a main feature that refresh an HTML listing whether new data has been added to the DB.
For my setup, I have a entry range VPS server with LAMP environement. I know PHP, JS and i am familiar with Unix systems.
What would be the right technology to achieve some long polling effects?
Thanks a lot for any inputs
Upvotes: 4
Views: 3992
Reputation: 17014
One solution is to socket.io which is based on node.js and makes it super easy to use web-sockets and long polling for real-time updates. You will have to use JavaScript though for the server-side, but it sounds like you're okay with doing that.
Some related articles and discussions:
Upvotes: 6