[zeromq-dev] ZMQ_HWM in zeromq 2.0

Martin Sustrik sustrik at 250bpm.com
Tue Jan 26 16:43:08 CET 2010

Hi Sigismondo,

> I am using zeromq 2.0 in an application, using a socket pair created with 
> 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?

The feature haven't yet been ported from 0MQ/1.0. However, it's the top 
priority at the moment, so, hopefully it'll be provided soon.


More information about the zeromq-dev mailing list