-->

Does Juggernaut work on Heroku?

2019-09-04 08:37发布

问题:

I'm building a Rails app that includes live group chat. I've heard Juggernaut is the best option for this. Does it work on Heroku?

回答1:

They did have experimental node.js support but it seems to be in closed beta for the timebeing. Expect a release soon.

http://blog.heroku.com/archives/2010/9/20/an_update_on_heroku_node_js_support/

I have minimal sysadmin skills but managed to set up an Ubuntu 10.04 environment with relative ease. http://purebreeze.com/2011/03/adding-realtime-push-updates-to-agileista-using-juggernaut/

The 'easiest' option is probably to use Pusher but probably not as fun or cost effective.

UPDATED

Heroku now fully support node.js

Here's a gist from the juggernaut author showing how he set up juggernaut on Heroku:

https://gist.github.com/1003748

I will also update my blog post shortly to reflect getting up and running.

It's much easier now!