Medium
Unix domain sockets versus TCP loopback for local IPC
Two processes on the same machine need a fast IPC channel. One design uses a Unix domain socket (AF_UNIX); another uses TCP over 127.0.0.1 (loopback). Both avoid the physical NIC entirely. Which has lower overhead, and why?
17 of 45 in Networking