[zeromq-dev] Migrating IPC-based Pub/Sub System To ZMQ
Michael.Santy at dynetics.com
Mon Aug 16 19:29:55 CEST 2010
> PUSH/PULL (aka DOWNSTREAM/UPSTREAM) will load-balance requests among
> processors. They are designed precisely for this use case.
Because of the variability in computation time on the worker nodes we don't use round-robin, but instead use least-recently-used (LRU) scheduling. When done processing a worker reports that it is ready, so the scheduling logic must be in the application. If the scheduling was round-robin, the DOWNSTREAM/UPSTREAM would be a perfect fit. It sounds like I'll need to come up with some application-level workaround for this use-case.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zeromq-dev