[zeromq-dev] Migrating IPC-based Pub/Sub System To ZMQ
Michael.Santy at dynetics.com
Mon Aug 16 21:46:38 CEST 2010
> 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.
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zeromq-dev