[zeromq-dev] dealer responsibility with the DEALER->REP pattern
Pieter Hintjens
ph at imatix.com
Mon Apr 30 07:36:28 CEST 2012
On Mon, Apr 30, 2012 at 3:41 AM, Michel Pelletier
<pelletier.michel at gmail.com> wrote:
> Setting a HWM to 1 is, to me, an anti-pattern. It specifically makes
> you have to think about these very issues you bring up, and it negates
> the ability for the message paths to naturally surge and and ebb as
> load varies.
It won't work accurately in any case, since there are other network queues.
It does sound like you want an LRU queue, or perhaps a more generic
type of credit-based flow control[1].
-Pieter
[1] http://unprotocols.org/blog:15
More information about the zeromq-dev
mailing list