[zeromq-dev] IPC vs TCP efficiency

Pieter Hintjens ph at imatix.com
Tue Jul 26 22:12:36 CEST 2011


On Tue, Jul 26, 2011 at 5:15 PM, Tonis Xie <tonis.xie at gmail.com> wrote:

> 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?

The main difference I think is that if you use IPC, other machines on
the network *cannot* connect, so it will be more secure in some
designs. For any elastic design that you want to stretch across boxes,
TCP is portable.

-Pieter



More information about the zeromq-dev mailing list