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 <[email protected]> wrote: > On Mon, Jun 6, 2011 at 4:57 PM, Seref Arikan > <[email protected]> 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 > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
