Re: Send a message to all application instances

Gwenn Etourneau

It depends, but what James suggest is to use an external service for
All your application listen on it and they will get notifify.

On Tue, Jul 21, 2015 at 5:15 AM, Peter Dotchev <dotchev(a)> wrote:

Hi James,

But how does this service deliver the messages to all app instances? is it
via HTTP?

Best regards,
Peter D

On Mon, Jul 20, 2015 at 11:11 AM, James Bayer <jbayer(a)> wrote:

a common way is to use a pub/sub pattern with a cf service the app binds
to. the service could be something like rabbitmq or redis that supports the
pub/sub pattern.

On Sun, Jul 19, 2015 at 11:35 PM, Peter Dotchev <dotchev(a)>


I could not find a way to send/broadcast a message to all instances of a
given application in Cloud Foundry.
How can I notify all app instances of certain events?
If I just send a HTTP request, CF router will dispatch it to a single
instance of the app.
What solutions do you use in such cases.

Best regards,
Peter D.

cf-dev mailing list

Thank you,

James Bayer

cf-dev mailing list

cf-dev mailing list

Join to automatically receive all group messages.