Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails 3: Real-time server push?

I'm trying to write a Rails 3 application in which a server can push data to multiple clients in real time.

I've heard of Juggernaut, but I've also heard that it does not work with Rails 3. I tried APE (AJAX Push Engine), but I'm not having much luck with it.

I'm very new to Rails. I can't find many guides that involve real-time push, and Rails 3. I was looking for a free, easy (if possible) solution to this. If anyone could point me in the right direction, I'd greatly appreciate it.

like image 884
Derek Avatar asked Sep 12 '11 08:09

Derek


2 Answers

Check out Faye: http://faye.jcoglan.com/ - I hear really good things about it.

if you're looking for a hosted solution, i've used Pusher http://pusher.com/ in the past, and loved it. i converted a site that used ajax polling over to pusher in about 30 minutes.

like image 73
Derick Bailey Avatar answered Nov 09 '22 05:11

Derick Bailey


You can try juggernaut to do what you want.

The github repository : https://github.com/maccman/juggernaut Example of application with juggernaut : https://github.com/maccman/holla

Enjoy :)

like image 1
Awea Avatar answered Nov 09 '22 07:11

Awea