Network - Remote procedure call (RPC)
Table of Contents
1 - About
RPC is a process communication method (IPC).
2 - Articles Related
3 - Implementation
An RPC is initiated by the client, which sends a request message to a known remote server to execute a specified procedure with supplied parameters. The remote server sends a response to the client, and the application continues its process. While the server is processing the call, the client is blocked (it waits until the server has finished processing before resuming execution), unless the client sends an asynchronous request to the server, such as an XHTTP call.
- gRPC is an open source RPC framework based on protocol buffers. See http://www.grpc.io/
4 - Software
To let different clients access servers, a number of standardized RPC systems have been created. Most of these use an interface description language (IDL) to let various platforms call the RPC. The IDL files can then be used to generate code to interface between the client and servers.