[zeromq-dev] Identities & PUB/SUB
Martin Sustrik
sustrik at 250bpm.com
Fri Apr 8 08:11:05 CEST 2011
On 04/06/2011 11:16 AM, Pieter Hintjens wrote:
> A very common example is LRU (least-recently used) routing, which is
> an essential pattern for workload distribution, that solves a series
> of problems of PUSH-PULL pipelines, including:
>
> * Unbalanced distribution, where early joiners get disproportionate
> numbers of tasks;
> * Insensitive distribution, where tasks may be sent to busy workers
> while other workers are idle.
If that's you use case, it should be solved inside 0mq by providing acks
in push/pull model. That would allow us to limit number of messages on
the flight (HWM) to particular worker to an exact number (even though
the network buffers are not yet filled).
See issue 160.
Martin
More information about the zeromq-dev
mailing list