--
You received this message because you are subscribed to the Google Groups "chromium-mojo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-moj...@chromium.org.
To post to this group, send email to chromi...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-mojo/CAEdON6bPF9rdD9Hcvkzm%2BP3ZDrvC_%2BN-zYLdH%3DsrS-yij_PBew%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "chromium-mojo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-moj...@chromium.org.
To post to this group, send email to chromi...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-mojo/CAEdON6bSkRFoWohEZKg8MUQ5X647pQm4oxFmdpCXsV69h03xOw%40mail.gmail.com.
For whatever it's worth, there have been some interesting cases in the past (and one very recently) where we've wanted a pub/sub system that isn't bound to any single publishing or subscribing service instance's lifetime. i.e. we want service A to remain subscribed to events published by service B, without having to keep service B alive in the interim. The way I was going to propose we model this is as a dedicated, persistent pubsub service with generic (e.g. essentially base::Value) events. I don't suppose you happen to be solving that exact problem? :)
On Wed, Oct 10, 2018 at 10:08 PM Nigel Tao wrote:On Thu, Oct 11, 2018 at 3:18 PM John Abd-El-Malekwrote:
> What is the rough frequency of these messages, and the order of magnitude of N & M?
>
> If the above are low, then a central broker is simplest and anything extra might be premature optimization?
Yeah, they're all pretty low.
Optimization isn't really my primary concern. I don't think I
explained it very well, but some state tracking (above the Mojo layer)
is possibly simpler if the central broker is out of the way. I was
mostly wondering if N:M was even feasible, or if i was missing
something.
But keeping the broker as a central proxy should be straightforward. Thanks.
--
You received this message because you are subscribed to the Google Groups "chromium-mojo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-mojo+unsubscribe@chromium.org.
On Fri, Oct 12, 2018 at 2:55 AM Ken Rockot <roc...@google.com> wrote:
> have the method take an interface request as an argument
Ah, I see. Nice.
> For whatever it's worth, there have been some interesting cases in the past (and one very recently) where we've wanted a pub/sub system that isn't bound to any single publishing or subscribing service instance's lifetime. i.e. we want service A to remain subscribed to events published by service B, without having to keep service B alive in the interim. The way I was going to propose we model this is as a dedicated, persistent pubsub service with generic (e.g. essentially base::Value) events. I don't suppose you happen to be solving that exact problem? :)
That's not *exactly* the problem I'm solving, as I expect my B's to
live forever (or for as long as a Chrome OS session). More
importantly, when a new A arrives, I want it to catch up with a
summary of all of the B's previous events: each event is a state
delta. I haven't decided yet whether the broker or the B's should be
primarily responsible for sending the initial state of the world.
But I do want a dedicated, persistent (meaning long-lived, not
saved-to-disk) pubsub service. If your dedicated, persistent pubsub
service existed, I think I'd use it. :-)
Hi, Ken!For whatever it's worth, there have been some interesting cases in the past (and one very recently) where we've wanted a pub/sub system that isn't bound to any single publishing or subscribing service instance's lifetime. i.e. we want service A to remain subscribed to events published by service B, without having to keep service B alive in the interim. The way I was going to propose we model this is as a dedicated, persistent pubsub service with generic (e.g. essentially base::Value) events. I don't suppose you happen to be solving that exact problem? :)In general... Can we have "auto connection" ("auto discovery") for services as an intrinsic feature for chromium-mojo?
(With handy helpers for 1:1, 1:many and many:many relationships between services)
Alexey.
On Wed, Oct 10, 2018 at 10:08 PM Nigel Tao wrote:
On Thu, Oct 11, 2018 at 3:18 PM John Abd-El-Malekwrote:
> What is the rough frequency of these messages, and the order of magnitude of N & M?
>
> If the above are low, then a central broker is simplest and anything extra might be premature optimization?
Yeah, they're all pretty low.
Optimization isn't really my primary concern. I don't think I
explained it very well, but some state tracking (above the Mojo layer)
is possibly simpler if the central broker is out of the way. I was
mostly wondering if N:M was even feasible, or if i was missing
something.
But keeping the broker as a central proxy should be straightforward. Thanks.
--
You received this message because you are subscribed to the Google Groups "chromium-mojo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-moj...@chromium.org.
To post to this group, send email to chromi...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-mojo/CAEdON6bSkRFoWohEZKg8MUQ5X647pQm4oxFmdpCXsV69h03xOw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "chromium-mojo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-moj...@chromium.org.
To post to this group, send email to chromi...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-mojo/a085242a-959f-4de4-8d77-ee571f68ecbd%40chromium.org.
On Thu, Oct 11, 2018 at 8:28 PM loyso wrote:Hi, Ken!For whatever it's worth, there have been some interesting cases in the past (and one very recently) where we've wanted a pub/sub system that isn't bound to any single publishing or subscribing service instance's lifetime. i.e. we want service A to remain subscribed to events published by service B, without having to keep service B alive in the interim. The way I was going to propose we model this is as a dedicated, persistent pubsub service with generic (e.g. essentially base::Value) events. I don't suppose you happen to be solving that exact problem? :)In general... Can we have "auto connection" ("auto discovery") for services as an intrinsic feature for chromium-mojo?
(With handy helpers for 1:1, 1:many and many:many relationships between services)
Alexey.What does "auto discovery" mean in this context?
Daniel
On Wed, Oct 10, 2018 at 10:08 PM Nigel Tao wrote:
On Thu, Oct 11, 2018 at 3:18 PM John Abd-El-Malekwrote:
> What is the rough frequency of these messages, and the order of magnitude of N & M?
>
> If the above are low, then a central broker is simplest and anything extra might be premature optimization?
Yeah, they're all pretty low.
Optimization isn't really my primary concern. I don't think I
explained it very well, but some state tracking (above the Mojo layer)
is possibly simpler if the central broker is out of the way. I was
mostly wondering if N:M was even feasible, or if i was missing
something.
But keeping the broker as a central proxy should be straightforward. Thanks.
--
You received this message because you are subscribed to the Google Groups "chromium-mojo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-mojo+unsubscribe@chromium.org.
To post to this group, send email to chromi...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-mojo/CAEdON6bSkRFoWohEZKg8MUQ5X647pQm4oxFmdpCXsV69h03xOw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "chromium-mojo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-mojo+unsubscribe@chromium.org.