Is there a stable, production ready library for ruby for websockets?

381 views Asked by At

I've been using Socket.io with node.js for some time, but I'd really love to do this in Ruby. There seem to be some projects available, but most of them are dead, namely:

  • danthes - fork of Ryan Bates' private_pub
  • cramp - no activity for the past 9 months
  • socket.io-ruby - no activity for the past 11 months

the only project I was able to find is em-websocket, which however is very low level and doesn't have any client side library.

Am I missing some project or librarly, or is there really no way to do WebSockets with Ruby?

2

There are 2 answers

0
lucapette On

Maybe faye-websocket? I never used it tough but I trust the author.

0
leggetter On

At Pusher we use and contribute to em-websocket.

On the client we then have our own Pusher JavaScript library which uses web-socket-js for Flash fallback.

Some more options, including an open source self-install version of Pusher (not by Pusher) are available via the realtime web tech guide