[zeromq-dev] Migrating IPC-based Pub/Sub System To ZMQ

Peter Alexander vel.accel at gmail.com
Tue Aug 17 07:31:29 CEST 2010

On Mon, Aug 16, 2010 at 3:46 PM, Santy, Michael
<Michael.Santy at dynetics.com>wrote:

>  > Indeed, round-robin is not perfect for all types of workload
> > distribution.  You can consider using a reverse request-reply
> > mechanism where the workers signal 'ready' by sending a request.
> >
Is it in consideration to make load-balancing/distributing algorithm types
optional and possibly even optionally custom (supplied by the user). I can
see where this will be important to me in the near future.

Thanks, Peter

> You'd want two threads in the collector.  First thread collects data,
> > prepares workloads, sends to second thread.  Second thread listens on
> > REP socket, pops workloads and sends them as replies.
> That certainly makes sense.
> > Let me know if you want a worked example, I'm thinking this could make
> > a nice example for the tutorial of inter-thread signalling.
> I appreciate the offer, but don't worry about making up an example unless
> you were already planning to do so for the purpose of a tutorial.
> Thanks a bunch for the feedback on this.
> Mike
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100817/bd1dda7e/attachment.htm>

More information about the zeromq-dev mailing list