Hi Xinyu, Ratis does support pluggable RPC so that users may choose to implement their own RPC. We have provided implementations using gRPC, a Netty-based RPC and also a Hadoop based RPC. For testing, we have a simulated RPC which uses memory to simulate RPC connections (this may be similar to your use case.)
Please feel free to let me know if you have more questions. Hope it helps. Tsz-Wo On Sun, Feb 13, 2022 at 11:32 AM Xinyu Tan <[email protected]> wrote: > Hello Ratis folks!I’m a developer in the Apache IoTDB community and we’re > currently trying to find some viable Java-Base raft libraries to refactor > our MPP cluster.Since it is MPP, we may have some additional logic and > RPC connection layers above the consensus layer. If the upper layer needs > to call the local consensus layer, it may do so through a local function > call rather than a network connection. I perused the code in ratis-example > and saw that all interactions were done over a network connection.As far > as I know, etcd supports local function calls to drive the Raft library. So > does Ratis support local function calls to drive the Raft library? And any > code samples if supported?Thanks! > > Xinyu Tan >
