[zeromq-dev] Performance issues in multiple queues from a single process..
Martin Sustrik
sustrik at 250bpm.com
Thu May 26 21:58:08 CEST 2011
Hi Arvind,
> Process1
> --------------------------------------------->
> Process2 --------300
> packets/sec --------------> Process3 (pushq)
> slows down gradually from 2500 (PullQ towards
> Process1, PushQ to process3)
> (PullQ towards Process2)
The ASCII graphic was messed up. However, I'm assuming you are sending a
message from process 1 to process 2 which then forwards it to process 3.
> In the above usecase, we see performance issues ... first the moment,
> the call to zmq_send from Process2 is done, the performance of
> Process2 to pull comes down to almost half and even less as time
> progresses. This inturn leads to slowness in pulling. Commenting the
> zmq_send makes the Process2 makes the while thing work fine again.
What exactly are you measuring?
The loop which has to do both send and recv is obviously going to work
at half speed when compared to loop that does just recv. Can that be the
problem you are seeing?
Martin
More information about the zeromq-dev
mailing list