[zeromq-dev] ZMQ_HWM in zeromq 2.0

Sigismondo Boschi s.boschi at totalwire.it
Tue Jan 26 16:24:18 CET 2010


Hi,

I am using zeromq 2.0 in an application, using a socket pair created with 
ZMQ_UPSTREAM and ZMQ_DOWNSTREAM.
I have seen ZMQ_HWM and ZMQ_LWM need still to be implemented. How should I limit 
the reception of new messages, in the case the incoming stream of data is faster 
than the speed I can handle them? How should I limit/block the stream in order 
to avoid memory exhaustion?

Thanks for your help,

    Sigismondo




More information about the zeromq-dev mailing list