[zeromq-dev] Queue Monitoring

2014-03-19 Thread Reggie Cushing
Hi All, I'm trying to monitor ingress/egress messages from within the application. Is there a way to get the number of queued messages on a socket waiting to be delivered from 0MQ API? ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org

Re: [zeromq-dev] Queue Monitoring

2014-03-19 Thread Pieter Hintjens
There's no API for this, and it'd be hard to make in any case, as message pipes are filled and emptied asynchronously by different threads. One way to control the limit of pending messages is to use credit based flow control (see Chapter 7 of the Guide). On Wed, Mar 19, 2014 at 1:59 PM, Reggie