The idea is to use nodejs instead of comet for longpolling.
The intention is to spot changes in database and flush the update to several users.
Any ideas ?
Thank you
The idea is to use nodejs instead of comet for longpolling. The intention is
Share
comet is a grouping term for ajax technologies. It’s a way of doing long polling.
node.js is evented IO. Specifically you would use it to run a HTTP server.
node.js does not mix well with your current serverside (probably php). Yes you can use node.js with socket.io to do communication between client and server.
I would personally advice againts using mysql as your database for node though. It’s more suited to document based noSQL databases.