[zeromq-dev] Automatic tuning of active worker threads in a ZMQ_PUSH/ZMQ_PULL environment

Michael Andersen michael at ibab.dk
Thu Mar 10 19:09:24 CET 2011

Hello Dev-list,

Given an active ZMQ_PUSH socket with a number of ZMQ_PULL worker threads 
connected - is there a way to:
1) Determine how many workers are currently ready. To be more specific: 
how many connected ZMQ_PULL threads are currently connected and blocked 
in recv() ?
2) Determine how many messages are currently pushed on the socket, 
queued up, waiting to be recv()'ed by an available worker ?

Michael A

More information about the zeromq-dev mailing list