[zeromq-dev] queue limits
Martin Sustrik
sustrik at fastmq.com
Tue Sep 29 11:23:13 CEST 2009
Hi Pavel,
> I want to implement different backend protocol engine limits for
> different objects. How you think, it will be good to have this
> functionality in master branch?
>
> As i understand, there is three places, where backend protocol engines
> will be created:
> 1) create_exchange (if exchange is global)
> 2) create_queue (if queue is global)
> 3) bind (if we are binding something to global exchange/queue)
>
> This is correct?
>
> (I plan add to these api calls two paramaters "int64_t bp_hwm,int64_t
> bp_lwm")
The change you've proposed is one possibility. The other would be to set
the values to dispatcher object so that you don't have to supply the
limits in every call:
dispatcher_t dispatcher (2);
dispatcher.set_watermarks (1000, 500);
Martin
More information about the zeromq-dev
mailing list