The Rpc implementation in Ratis is pluggable. Ratis provides three rpc implementations based on Grpc, Netty and Hadoop. In these implementations, the Ratis code does NOT optimize localhost communications. However, I not sure if these libraries (i.e. Grpc, Netty and Hadoop) have any optimizations in their code.
Tsz-Wo On Thu, Jan 13, 2022 at 11:17 AM Asad Awadia <[email protected]> wrote: > Is(are) there any optimization(s) for when the client and server are on > the same machine? > > Instead of making a network request to localhost? > > Not looking for perf gains just trying to understand the code design > > Regards, > Asad >
