[zeromq-dev] IPC vs TCP efficiency

Tonis Xie tonis.xie at gmail.com
Tue Jul 26 17:15:48 CEST 2011


Thanks, Pieter.

I tested for more times and it seemed to be experimental variation as you
said.

One more question, if the mechanisms on Linux are the same, can I understand
it as TCP is better because when you want to cross machines, you even don't
need to change the server code?

-Tonis

On Tue, Jul 26, 2011 at 4:52 PM, Pieter Hintjens <ph at imatix.com> wrote:

> On Tue, Jul 26, 2011 at 1:19 AM, Tonis Xie <tonis.xie at gmail.com> wrote:
>
> > I have made a test on PUB/SUB pattern to compare the communication
> > efficiency between IPC and TCP. While IPC was supposed to be better, it
> > turned out that TCP is more efficient and stable than IPC.
>
> What does "more efficient and stable" mean, specifically? What is your
> data?
>
> As far as I know both transports use the same internal mechanisms on
> Linux, and so any difference you saw is experimental variation.
>
> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110726/ab161e36/attachment.htm>


More information about the zeromq-dev mailing list