Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Node.JS Looking for an alternative to socket.IO

I've been testing Node.JS and Socket.IO for a couple of days. I'm interested in a real-time application that's why I'm testing Socket.IO, problem is I found many problems on several browsers. Chrome always works but IE and Firefox only some times.

My question is, is there a way to push information from the server to the client without sockets (socket.io)? I don't want to set an interval in the client and check if something changes on the server side every "n" seconds.

like image 392
oscarm Avatar asked Dec 28 '22 06:12

oscarm


1 Answers

Faye is a good alternative to Socket.IO for Node.js push applications.

From the Faye website:

Faye is an easy-to-use publish-subscribe messaging system based on the Bayeux protocol. It provides message servers for Node.js and Rack, and clients for use in Node and Ruby programs and in the browser.

like image 150
elasticrat Avatar answered Dec 31 '22 13:12

elasticrat