A Remote Procedure Call (RPC) is a form of client-server communication that uses a function to talk rather than over HTTP. The RPC protocol allows procedures to be called on the same local system or a system over a connected network.

Motivation

  • The big idea behind RPC is to allow applications to call and execute a subroutine/procedure on a remote system just like it would as if it was calling a local procedure, but network communication details are obscured.

How RPC works

Messages

  • Call message and reply message
  • Client makes RPC to a server on the network and receives reply containing results of procedure’s execution

Basic architecture of RPC

[1] https://www.ibm.com/docs/en/aix/7.1?topic=concepts-remote-procedure-call