tonic
tonic copied to clipboard
Mechanism of RPC when server and client on same machine
I'm new to tonic, and I've successfully built my client & server by using tonic. For my project, most of cases, server and client are on same machine, so I wonder if there's any optimization in tonic for this? Does tonic use shared memory or any optmization strategies in this case? Also, I wonder if anyone has any experience on this kind of optmization? What can I do or optimize if server & client are on same machine? (there are a lot rpc communications, few of them contains large chunk of data, so I want to reduce the overhead introduced by rpc)
I think you can checkout the uds example
Thanks!