Node.JS Looking for an alternative to socket.IO

后端 未结 3 583
栀梦
栀梦 2021-01-06 09:51

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 problem

相关标签:
3条回答
  • 2021-01-06 10:35

    Socket.IO has had some bugs recently, but they're being actively worked on, so I encourage you to check back later (it may even already be working better now, as there are commits almost every day). This is the issue you should be watching: http://github.com/LearnBoost/Socket.IO-node/issues#issue/63

    0 讨论(0)
  • 2021-01-06 10:39

    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.

    0 讨论(0)
  • 2021-01-06 10:54

    You can try long-polling. It's relatively simple and it'll work in almost any browser. Check this out:

    http://jsguy.com/?p=103

    Hope this helps

    0 讨论(0)
提交回复
热议问题