Hi,
I'm trying to use zeromq for a high performance service where I have a main server that needs to fan-out a computation request to a set of workers. All workers should receive the same computation request. I'd like the main server to get back computation results from all workers in order to merge all results on my main server. 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. I have a few question regarding this: - Is there an easy way to get back my results on my main server: opening another socket for that ? which type ? - Is there any performance drawback using PUB/SUB sockets over REQ/REP sockets ? - Should I use a set of REQ socket (one for each worker) and do the message distribution by myself and use polling? Bests, F.
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
