I want to know if there's any crate/library that did optimization of RPC when the RPC happens on same machine. Currently my project use tonic
,but it actually runs on same machine, so I'm thinking to use some IPC frameworks to replace the tonic. Want to know if there's any RPC crates that optimized on same machine, like using shared memory or something. Or if there's any IPC frameworks I can look into.
Project detail:
my project contains two sides: client side and server side. There's a one-to-one thread mapping relation between client and server. And when it's running, there's a lot of communications between, a few of them even contains large chunk of data. (10GB sometimes), but most of them are small, around 1 MB or even less. I want to reduce the overhead of frequent requesting, and avoid data copying when data size becomes large, when they run on same machine