Hacker News new | ask | show | jobs
by the8472 2280 days ago
If you're on the same machine then pipes, unix sockets and shared memory are even faster options.
2 comments

Those are transport layers, a layer beneath a RPC protocol.
It wouldn’t really be an RPC, then would it?
It's not a normal procedure call within the same process.
Right. Those are methods for IPC. IPC doesn't have to deal with all the same issues as RPC, and so those techniques are going to be faster as a result. You can't really compare them.

It's like comparing communication between people physically located in the same room and people located on different continents.

RDMA shared memory muddies that distinction.