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.

Posted in Sightings | 12 comments

Comments

  1. Sean Hess on 27 Aug 14:41:

    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

  2. Alex MacCaw on 27 Aug 15:00:

    Thanks for the post. I’m also speaking at Rails Conf Europe about Juggernaut: http://en.oreilly.com/railseurope2008/public/schedule/detail/2573

  3. Fritz on 27 Aug 19:05:

    Great job! Looking forward to see this project progress!

  4. Chris Anderton on 27 Aug 19:30:

    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?

  5. taelor on 27 Aug 19:50:

    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!

  6. Spyros on 27 Aug 20:24:

    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.

  7. Peter Cooper on 28 Aug 01:34:

    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).

  8. Chris Anderton on 28 Aug 17:34:

    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.

  9. Erlend Simonsen on 02 Sep 19:40:

    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.)

  10. mail@pipewriter.eu on 05 Sep 07:42:

    David, please define:

    “patronizing” ...

  11. Chris Anderton on 08 Sep 09:05:

    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..

  12. Piyush Guptsw on 19 Sep 09:32:

    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