On Mon, May 16, 2011 at 2:54 PM, Andrew Hume <[email protected]>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
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
