UDS vs FIFO vs TCP for IPC in Go and Linux
Actually, on a re-run, FIFO turns out to be the fastest.
— Manish R Jain | mrjn.eth (@manishrjain) July 15, 2022
Given how close these numbers are, I think ultimately the one with the least standard deviation wins.
name time/op
Unix-32 142µs ±21%
TCP-32 149µs ±24%
Fifo-32 120µs ± 5%