Remote Procedure Call (RPC) is a communication model that allows the client to call a procedure from another computer as if the procedure existed locally. For example, if you have a function called
add(a, b) in another server and the function is already registered in the RPC program, then you can call that function without defining the function in your local computer. After the client calls the procedure in the server, the server will return the result of the procedure.
Nowadays, many companies use this communication model for their internal services. This is because the user usually doesn’t need to know how the internal services communicate with each other. Because of its simplicity, RPC will increase the performance of the internal services. Aside from that, it can reduce the effort to redevelop code to call each other internal services.