Running Phoenix on a Unix socket

Much of this depends on the version of kernel. It is true that since the beginning of time, communication over the loopback subnet went through the entire TCP stack, twice, “outgoing” and “incoming”. But in some recent’ish Linux kernel short-circuiting was added so that those comms now skip that overhead and work much more like domain sockets.

2 Likes