Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It depends. Any IP-based socket will still go through some protocol stack (routing and filtering). On the other hand, unix domain sockets are optimized for IPC and should perform well. But any socket will require a copy, and thus be slower than shared memory.

On the other hand, if you are going to exchange json messages, you can stop worrying about socket overhead.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: