Juggernaut: Server-side push for Rails
Posted by David August 27, 2008 @ 01:50 PM
Juggernaut is a combination of a small Ruby server, a Flash bridge, and a plugin that makes it easy to do server-side push systems in Rails. I played with this idea with Rich Killmer a few years ago and even made a small demo system to present at a conference, but never made it to the finish line of something releasable. So it’s fantastic to see that the guys behind Juggernaut did.

Perfect! I haven’t used it yet, but I was just thinking of writing something just like this for a project (I’ve done it before in php—otherwise it’d be foolish to try :).
Thanks for the tip
Thanks for the post. I’m also speaking at Rails Conf Europe about Juggernaut: http://en.oreilly.com/railseurope2008/public/schedule/detail/2573
Great job! Looking forward to see this project progress!
We’re integrating it into a project right now (although we’re using Moo rather than prototype) and it does the job – strange to start seeing it get more focus recently as i think Alex originally released it about 2 years ago?
I absolutely love Juggernaut. I have written a couple of blog posts about it at
http://slightlycoded.com/blog/the-juggernaut-a-push-server-for-ruby-on-rails
and
http://slightlycoded.com/blog/juggernaut-on-rails-sending-private-messages
The example demo from the blog has been moved on to github here.
http://github.com/taelor/chat_sandbox
check it out! Juggernaut has some real potential!
Yep, Juggernaut is great (and certainly not new). Actually it surprises me what David says about playing with it. I thought campfire did actually used it.
Chris: You’re right. I just noticed the first Ruby Inside mention of it was July 2006 ;-) As far as I recall, it was influenced by DHH’s own experiements (but lack of releasing the code).
thought so :) seem to remember around the time that there was a lot of scoffing from the orbited camp – can’t remember the reasons but might be worth also checking out orbited or similar options to ensure which technology is the best fit for your needs.
I’ve been using a really old version of this for ClockingIT, and the only problem I’m having is Flash crashing the browser. Supposedly getting better with version 10, though.
(Campfire uses polling every few seconds, at least they did a when I last checked.)
David, please define:
“patronizing” ...
Erlend – is that on a Mac? In the source of the flash file on the version i have then the line where it tries to get the crossdomain.xml over the socket is commented out referencing crashes on Leopard – so if that’s the case you might be able to do the same..
Wow, love it… Implemented it with only the help of the readme , had some glitches with windows env which we fixed easily,
still json issues is not resolved when I am on linux running the server with passenger