[zeromq-dev] TCP vs IPC on common host

Michel Pelletier pelletier.michel at gmail.com
Mon Jul 30 23:26:31 CEST 2012


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.

>
> On OSX, IPC is handled via UNIX domain sockets so that the performance
> relative to TCP is pretty similar. Future releases of OSX may change this.

-Michel



More information about the zeromq-dev mailing list