Search code examples
rpc

What is the maximum concurrent connection in RPC?


I want to use RPC in a client-server architecture. In test/debug phase, we establish just one remote call-it means that there is no concurrent RPC to the same remote function-, however, concurrent remote call from multiple client are also possible in the future.

several client would call the same remote function, currently. what happen in this situation? I want to know that is there a bottleneck in RPC due to the maximum concurrent remote call? Dosen't RPC reject any remote call, itself, when another client concurrently do RPC on the same function?

Thank you


Solution

  • I implemented RPC in Linux with the help of rpcgen, for two different architecture, X86-64 & ARM (Raspberry Pi), as client and server, respectively. It work fine when I used my own stress test. I think that dual was right. He wrote "It depends on so many factors. What kind of machines, the switches, connection between the machines, the programming language used. ..."