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

Seref Arikan serefarikan at kurumsalteknoloji.com
Mon Jun 6 18:12:57 CEST 2011

Thanks Ian,
I just wanted to make sure that I'm not thinking about using the queue
device in way it was not supposed to be used.
I'll take a better look into the patterns.

On Mon, Jun 6, 2011 at 5:05 PM, Ian Barber <ian.barber at gmail.com> wrote:
> 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
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

More information about the zeromq-dev mailing list