This article is by [Alex MacCaw](http://www.eribium.org/). He's a
Thinking](http://leadthinking.com/). Follow him on Twitter here:
Juggernaut gives you a realtime
connection between your servers and client browsers. This lets you do
awesome things like multiplayer gaming, chat, group collaboration and
more. What's more, Juggernaut is built on top of node.js so you can take advantage of its
incredible speed and scalability.
Example code is worth a thousand words, so here's a simple group chat
implementation using Juggernaut:
var jug = new Juggernaut;
That's it, the browser will set up a streaming connection to
Juggernaut's node server. Any messages pushed to the channel "/chats"
will be sent to the client. For example, we can push data from a Ruby
Right, now we need to start "Redis":http://code.google.com/p/redis/ ("install":http://code.google.com/p/redis/wiki/QuickStart it if you don't have it already). Juggernaut uses Redis for PUBSUB:
Download Juggernaut, and start the Juggernaut server:
git clone git://github.com/maccman/juggernaut.git