[zeromq-dev] Disable message batching

Martin Lucina mato at kotelna.sk
Fri Apr 16 00:44:20 CEST 2010

chris at chriswongstudio.com said:
> I have an application that needs to send out a message as soon as possible without waiting for the optimistic batching.  Latency is more important than message throughput.  Is there a switch I can use with zmq_setsockopt to disable batching?  I looked at the man page but couldn't find anything there that can remotely do what I want to do.

There was a zmq_flush() call pre 2.0.6 which AFAIK did exactly this, but it
got taken out since too many people thought it really meant "flush the

Maybe it can come back as a differently named socket option. In the mean
time, you're out of luck.


More information about the zeromq-dev mailing list