[zeromq-dev] Queue device slows down when there is a worker with high latency

Ian Barber ian.barber at gmail.com
Mon Jun 6 18:05:32 CEST 2011


On Mon, Jun 6, 2011 at 4:57 PM, Seref Arikan <
serefarikan at kurumsalteknoloji.com> wrote:

> Hi,
> I've been having a lot of fun playing with the queue device, but when
> I test it with two machines. I'm having a performance problem.
>

The idea with this kind of queue is like the queue to pay at a shop - the
clients have to have a reply, so they wait; the queue is really protecting
the workers and allowing them to come and go without breaking the clients.
If you don't need an immediate reply you can implement a similar thing with
PUSH/PULL so that clients can push their message and immediately disconnect,
and the queue device can PUSH it to a worker as soon as one becomes
available. For a more advanced methods, take a look at the patterns in the
guide.

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


More information about the zeromq-dev mailing list