logoalt Hacker News

jeffbeeyesterday at 3:59 PM5 repliesview on HN

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


Replies

eqvinoxyesterday at 4:25 PM

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
yetanotherdoodyesterday at 5:39 PM

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
dangoodmanUTyesterday at 4:22 PM

Are there resources suggesting otherwise?

pjmlpyesterday at 5:04 PM

As often in computing, profiling is a foreign word.

aoeusnth1yesterday at 4:24 PM

Tell me more, I know nothing about IPC