Re: Send a message to all application instances


Peter Dotchev <dotchev@...>
 

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)pivotal.io> 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)gmail.com> wrote:

Hello,

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
cf-dev(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev


--
Thank you,

James Bayer

_______________________________________________
cf-dev mailing list
cf-dev(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.