Andrew,

No. There's no such API. It's not even obvious what the semantics
should be. Some messages are in 0MQ tx buffer, some are in TCP tx buffer
or PGM tx buffer, some may be on the wire but not yet at the receiver.
Moreover, the whole system is in state of flux so any figure you would
get would be outdated already etc.

Martin

On 7/9/2010, "Andrew Hume" <[email protected]> wrote:

>thanks!
>
>is there an API to get the queue length?
>
>On Sep 7, 2010, at 6:43 AM, Martin Sustrik wrote:
>
>>
>> Andrew,
>>
>>> just checking:
>>>     is there any pattern that incorporates back-pressure?
>>> that is, fair share but taking queue length into account?
>>
>> Both req/rep and push/pull patterns do apply backpressure _if_ there's
>> high watermark set (ZMQ_HWM socket option) for the length of the
>> queue.
>>
>> Martin
>> _______________________________________________
>> zeromq-dev mailing list
>> [email protected]
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>------------------
>Andrew Hume  (best -> Telework) +1 732-886-1886
>[email protected]  (Work) +1 973-360-8651
>AT&T Labs - Research; member of USENIX and LOPSA
>
>
>
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to