3 ms·
If you're on the same machine then pipes, unix sockets and shared memory are even faster options.
by the8472 7y ago
If you're on the same machine then pipes, unix sockets and shared memory are even faster options.
- numbsafari 7y agoIt wouldn’t really be an RPC, then would it?
- the8472 7y agoIt's not a normal procedure call within the same process.
- numbsafari 7y agoRight. 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.
- the8472 7y agoRDMA shared memory muddies that distinction.
- fulafel 7y agoThose are transport layers, a layer beneath a RPC protocol.