[zeromq-dev] Is there a way to query ZeroMQ statistics
Luca Boccassi
luca.boccassi at gmail.com
Thu Mar 14 20:27:56 CET 2019
On Thu, 2019-03-14 at 18:46 +0000, Martin.Belanger at dell.com wrote:
> Hi,
>
> I'm trying to fine tune my PUB-SUB system. I've set the high water
> mark (RCVHWM/SNDHWM) to zero (no-limit) and now I would like to see
> how high the "water" actually gets after running the system for a
> while.
>
> Using zmq_getsockopt() with ZMQ_RCVHWM/ZMQ_SNDHWM only retrieves the
> high water marks that were previously set with zmq_setsockopt() (i.e.
> 0), but not the actual level that was reached.
>
> Is there a way to query the actual "water level" that was reached?
>
> Thanks,
> Martin
Yes, but it's experimental and only in DRAFT status for now:
https://github.com/zeromq/libzmq/blob/master/doc/zmq_socket_monitor_versioned.txt#L59
--
Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20190314/072ace9f/attachment.sig>
More information about the zeromq-dev
mailing list