On Thu, May 2, 2013 at 5:19 PM, [email protected]
<[email protected]> wrote:

> It seems the best socket type to achieve my goal (at least to fan-out) is
> the PUB socket type with all my workers subscribed to my publisher.

At least to start with, yes.

> - Is there an easy way to get back my results on my main server: opening
> another socket for that ? which type ?

You can use PUSH at the workers and PULL in the server to get results back.

> - Should I use a set of REQ socket (one for each worker) and do the message
> distribution by myself and use polling?

Perhaps but it is more complex than that, and you do want to work
through the Guide request-reply examples to understand.

-Pieter
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to