On Feb 3, 9:04 pm, Lille <[email protected]> wrote:
> Sorry for the muddled subject line, but an Heroku post on the rabbitmq
> add-on (http://blog.heroku.com/archives/2011/8/31/
> rabbitmq_add_on_now_available_on_heroku/) and on the proposed related
> Heroku goal of 'polyglot programming' (http://blog.heroku.com/archives/
> 2011/8/3/polyglot_platform)  prompts me to wonder the following:
>
> + can I use a Procfile in Cedar to start multiple web processes, e.g.,
> several rack apps, that would speak across HTTP to each other in the
> same Heroku app?

You can certainly start multiple web processes in the same app, but
they will be _the_same_app_ (not distinct rack apps). Unless you have
some mechanism to track each process (port) then they won't be able to
communicate directly to each other. You really want to pass messages
off to a bus (e.g. rabbit) and have worker processes handle tasks
accordingly.

> + can I use a heroku messaging add-on (rabbitmq) to pass messages
> securely between multiple heroku apps?

Definitely. You'll just need to manually set the addon's config var(s)
for each additional app.

Jason

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to