logoalt Hacker News

jeffbee11/20/20245 repliesview on HN

Interesting that it is taken on faith that unix sockets are faster than inet sockets.


Replies

eqvinox11/20/2024

That's because it's logical that implementing network capable segmentation and flow control is more costly than just moving data with internal, native structures. And looking up random benchmarks yields anything from equal performance to 10x faster for Unix domain.

show 1 reply
yetanotherdood11/20/2024

Unix Domain Sockets are the standard mechanism for app->sidecar communication at Google (ex: Talking to the TI envelope for logging etc.)

show 2 replies
dangoodmanUT11/20/2024

Are there resources suggesting otherwise?

pjmlp11/20/2024

As often in computing, profiling is a foreign word.

aoeusnth111/20/2024

Tell me more, I know nothing about IPC