On Mon, Dec 12, 2011 at 5:51 PM, Andrei Zmievski <[email protected]>wrote:

> I have several C worker processes that need to send data to a single Java
> process that will collect and aggregate it. I was thinking of binding on a
> SUB socket in the Java process and then connecting to the same endpoint on
> a PUB socket in each C one. Would this work or is there a better pattern
> for this?
>
> -Andrei
>

It would work, but you'll probably find binding a PULL socket and having
multiple processes PUSH to it will be a better bet, unless you want the
drop on HWM properties of pubsub.

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

Reply via email to