As far as I know, zmq doesn't need a broker but subscribers should know the
address of the publisher, if the network increases its complexity with more
publishers you need a broker,  that is a proxy on zmq.
If I understand well you need any of them should be able to publish a
change to all of the other images?

El mar., 29 jun. 2021 20:11, Esteban Maringolo <emaring...@gmail.com>
escribió:

> As far as I understand, ZeroMQ does not require a broker to perform
> the communication between publishers and subscribers, I don't know how
> that is implemented (what do they connect to? how each client
> discovers each other?).
>
> I already got MQTT running, It's not completely clear to me how the
> QoS setting works (atLeastOnce, exactlyOnce, atMostOnce), I don't
> remember using that setting in Java (it probably had a sensible
> default).
>
> Regards!
>
>
> Esteban A. Maringolo
>
> On Tue, Jun 29, 2021 at 2:45 PM Jesus Mari Aguirre
> <jmariagui...@gmail.com> wrote:
> >
> > Maybe ZeroMQ fits you, but unlucky is not documented and there are only
> a few examples. I use ir in my jupyter kernel. You can install my port to
> pharo64 uFFI doing:
> >
> > Metacello new
> > baseline: 'JupyterTalk';
> > repository: 'github://jmari/JupyterTalk:master/repository';
> > load:'zmq'
> >
> > But it needs ZeroMQ previously installed on your system.
> > It was ported from http://smalltalkhub.com/#!/~panuw/zeromq now it is
> at: https://github.com/dellani/zeroMQ but I'm not sure if the original
> repo works on newer Pharos....I had no time to contact the original author
> to join both repos...
> >
> >
> >
> > El mar, 29 jun 2021 a las 4:56, Esteban Maringolo (<emaring...@gmail.com>)
> escribió:
> >>
> >> Hi,
> >>
> >> I'm rearchitecting a web app to perform updates only when necessary
> >> (instead of computing them all the time) on each request, I can have a
> >> global announcer and subscribers to know when to update within an
> >> image, but is there a way to have something like that but for
> >> inter-image coordination?
> >>
> >> I'd only need to communicate the id and the class name (or a similar
> >> identifier), so on other images they'll update accordingly, and if
> >> there is an update in one image, it will notify the other images. The
> >> common data is on the database, so this is just to avoid re-reading a
> >> lot of things.
> >>
> >> Is a message queue a good fit for this? Pub/Sub?
> >> What is available in Pharo that works without having to set up a lot of
> things?
> >>
> >> Thanks!
> >>
> >> Esteban A. Maringolo
>

Reply via email to