[zeromq-dev] LRU broker queue in intuitive way on 3.0

Ian Barber ian.barber at gmail.com
Tue Apr 5 00:38:48 CEST 2011


On Mon, Apr 4, 2011 at 11:30 PM, Pieter Hintjens <ph at imatix.com> wrote:
>
> The BOSS socket keeps a list of ready workers, which signal presence
> to the BOSS socket, when they connect, and when they reply to a
> request. They work synchronously, and look just like REP sockets to
> applications. They could fan-in from multiple BOSS sockets. The BOSS
> socket will queue messages until it can send them, and will return
> replies that can be sent back up to clients.


I suspect this would be a matter of personal taste, but I would say this is
too high level for libzmq - as you clarify in the guide, to do this reliably
you need some form of heartbeat, and I would say that this is something that
should be dealt with on the application layer. However, it does seem an
interesting idea for zapi - this could fairly easily be implemented as
pseudosockets on top of existing ones using the work already in the guide.

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110404/eb7d0bb8/attachment.htm>


More information about the zeromq-dev mailing list