On Tue, Feb 8, 2011 at 9:59 AM, Martin Sustrik <[email protected]> wrote:

> AFAIU that would mean you would have to have a separate 0MQ socket for
> each peer, i.e. only 1-to-1 communication. Which makes 0MQ kind of
> useless. You could use TCP instead pretty well.
>
> Martin
>
>
Yeah, I think that is true, though each peer could run a single  PULL
socket.  I think you would be using them for one shots a lot though, the
calling end would likely be constructing a new socket, pushing a message and
going away. I guess the benefit of 0MQ would be the usual scale out argument
- based purely on DSN you could push messages inproc, ipc or tcp easily.

That said, I also wouldn't be surprised if in working out the details it
didn't work out easier to use PUB/SUB sockets - pretty much the same setup
as before but with the ability to signal multiple other actors with a bit
more ease on the calling side.

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

Reply via email to