[zeromq-dev] debugging performance problems
Ian Barber
ian.barber at gmail.com
Mon May 16 16:04:17 CEST 2011
On Mon, May 16, 2011 at 2:54 PM, Andrew Hume <andrew at research.att.com>wrote:
> how can i tell if it was hit?
>
> generally, the process links don't have hwm set, but some do.
> is your advice to set them on all links?
>
>
Yeah, I think having HWM set across all links is a good idea. For detection,
depends on the socket type - polling for blocking should work for HWM on
REQ/XREQ/PUSH sockets, but I don't think there is any way to measure it for
PUB/XREP as it will just drop. The only way to get detection then is to have
sequence numbers and some kind of nack, which seems like a lot of work for
the problem here - you're getting to the point where you could implement as
a series of request-response connections and track that way, which is a
pretty big model change if you are using pub sub.
Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110516/c7faba80/attachment.htm>
More information about the zeromq-dev
mailing list