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

instead of going over the network, they’ll go over a UNIX socket, and the kernel doesn’t have to copy data around.

This isn't really true. Even if the kernel does cow pipes (on both ends), the writer is almost certainly going to trash the page and cause a fault. The data is just copied around without being bundled into TCP packets.

There is also a SHM extension which does use shared memory, but that's separate and mostly only used for pixmaps and the like.



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

Search: