[zeromq-dev] TCP vs IPC on common host
Steven McCoy
steven.mccoy at miru.hk
Tue Jul 31 01:20:54 CEST 2012
On 30 July 2012 17:26, Michel Pelletier <pelletier.michel at gmail.com> wrote:
> On Mon, Jul 30, 2012 at 8:51 AM, Chuck Remes <lists at chuckremes.com> wrote:
> > On Jul 30, 2012, at 10:38 AM, Iggy Philly wrote:
>
> > On Windows, IPC is *currently* handled by opening up a local TCP
> connection
> > through loopback. However, that could change in a future release and
> result
> > in a performance change.
> >
> > Same is true for Linux; more recent releases have a highly optimized
> kernel
> > code path for IPC than for TCP to the same host. Try it and see.
>
> I always thought (and it looks to me by brief code inspection) that
> Linux uses domain sockets as well.
>
>
I think the point is Unix sockets are faster than TCP because of less
layers to traverse. Solaris is still I think the only OS that can bump
localhost TCP connections to Unix sockets.
--
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120730/32dbf5d9/attachment.htm>
More information about the zeromq-dev
mailing list