RPC

For users new to RPC, this section will provide a broad overview of what it is, and of the different components involved in the process. If you’re already familiar with how RPC works, feel free to skip this section.

Speaking generically, RPC is a toolkit designed for distributed computing. It provides a framework for executing procedures on one system from another, completely independent system in a secure, reliable, and efficient manner.

The best way to understand the RPC programming model is perhaps by compar-ing it to the “regular” programming model, in which procedures, or functions, are invoked on the same system or within the same program. Figure 6.1 and Figure 6.2 illustrate the difference.

Figure 6.1. A local function call.

Get XML and PHP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.