Date
1 - 4 of 4
Send a message to all application instances
Gwenn Etourneau
It depends, but what James suggest is to use an external service for
toggle quoted message
Show quoted text
PUB/SUB. All your application listen on it and they will get notifify. On Tue, Jul 21, 2015 at 5:15 AM, Peter Dotchev <dotchev(a)gmail.com> wrote:
Hi James, |
|
Peter Dotchev <dotchev@...>
Hi James,
toggle quoted message
Show quoted text
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 |
|
James Bayer
a common way is to use a pub/sub pattern with a cf service the app binds
toggle quoted message
Show quoted text
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, --
Thank you, James Bayer |
|
Peter Dotchev <dotchev@...>
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. |
|