Skip to content

Remote Procedure Call

A declared procedure invocation across an execution-context boundary, with target binding, argument transfer, remote dispatch, and an explicit result-or-failure contract.

Version
v1 · 2026-10-17 · History
Domain-specific #
14275
Domain group
Applied Sciences & Engineering
Origin domain
Computer Science & Software Engineering
Subdomain
Distributed Computing → Computer Science & Software Engineering
Aliases
RPC

Core Idea

A remote procedure call (RPC) invokes a declared operation across execution contexts. The caller supplies arguments, binding identifies an implementation, transfer carries the call, and remote code dispatches it. The system's contract determines what results, errors or silence mean.[1][2]

How would you explain it like I'm…

Asking Another Room to Do It

Imagine you want a sandwich, but the kitchen is in another room. You shout, 'Make me a sandwich with cheese!' and your helper makes it and brings it back. A remote procedure call is a program asking another program somewhere else to do a job and send back the answer. Sometimes the answer is slow, or never comes, so you have to wait and wonder.

Calling a Job Somewhere Else

Programs are built from little jobs called procedures, like 'add these numbers'. A remote procedure call is when a program asks for one of those jobs to be done by another program running somewhere else, maybe on another computer or just as a separate program on the same one. It sends the name of the job and the inputs, the other side does the work, and the result comes back. It looks almost like doing the job yourself, but it isn't quite: messages can be slow, the other side can break, and if no answer comes you can't be sure whether the job happened.

Cross-Boundary Procedure Invocation

A remote procedure call (RPC) lets a program call a named operation that is actually implemented in a different execution context, such as another machine or a separate program on the same machine. The caller picks the operation and provides arguments; a binding and transport path carries a representation of the call to the callee, which runs the right operation. What the caller can conclude afterwards depends on the system's rules for results and failures. This is different from just sending any message to an address: it's specifically invoking a declared procedure. RPC is often explained as 'like a local function call', but that analogy hides real differences: network delay, the two sides failing independently, and uncertainty when a reply never arrives.

 

A remote procedure call (RPC) invokes a declared operation implemented in another execution context. The caller identifies the operation and supplies arguments; a binding and transfer path carries a representation of the call to the callee; the callee dispatches the operation; and the implementation's result and failure semantics determine what the caller may infer afterward. It is procedure invocation across a context boundary, not an arbitrary message to an address. The boundary need not separate physical machines: Birrell and Nelson's Cedar RPC used distinct caller and callee machines, while IBM's DCE Greet tutorial runs client and server programs on the same OS/390 machine. The local-call analogy expresses the invocation but does not eliminate transport latency, independent partial failure, or ambiguity after a missing reply. Nor is RPC defined by generated stubs, a single blocking call, exactly one reply, or exactly-once execution; systems vary in these.

Scope of Application

Two unlike documented systems carry the five roles:

  • Cedar runtime: Mesa interfaces declare operations, Grapevine binds implementations, and Lupine stubs/runtime packets transfer arguments to server code. Cedar use includes Alpine communication, without a full-scale-use claim.[1]
  • IBM DCE Greet: IDL declares greet_rpc, a string binds client and server, and transferred arguments reach a manager routine; shown results are tutorial evidence, not observed production deployment. Both programs run on one machine.[2]

Oracle's ONC tutorial shows a worked conversion from local to remote procedures, not a universal recipe.[3]

Clarity

A local procedure stays in the caller's context; messaging without procedure dispatch is insufficient. Physical machine separation is unnecessary, while Inter-process Communication specifically requires a process boundary that this RPC identity does not universally assume.[1][2]

Manages Complexity

Stubs and runtimes hide delivery details, including delay and independent failure. Cedar's successful return entails one server invocation; an exception can leave execution uncertain, so silence alone does not justify retrying.[1]

Abstract Reasoning

Trace declaration → binding → transfer → dispatch → outcome. ONC permits batch calls with no reply and broadcast calls with multiple replies; its transaction identifier supplies no universal exactly-once guarantee.[4]

Knowledge Transfer

Each RPC contains Interface, an identity-bearing callable contract inside the larger mechanism. Cedar and Greet transfer the roles across software designs, without requiring generated stubs, blocking calls or universal timing/failure rules; message-only asynchronous commitments are not inherent.[1][2][4]

Relationships to Other Abstractions

Local relationship map for Remote Procedure CallParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Remote Procedure CallDOMAINPrime abstraction: Interface — includesInterfacePRIME

Current abstraction Remote Procedure Call Domain-specific

Parents (1) — outgoing typed relations

  • Remote Procedure Call includes Interface Prime

    Every RPC contains a declared caller-to-callee operation interface governing arguments, binding, dispatch, and outcome interpretation.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Remote Procedure Call sits in a moderately populated region (49th percentile for distinctiveness): it has near-neighbors but no dense thicket of look-alikes.

Family — Software & Systems Architecture (33 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] Andrew D. Birrell and Bruce Jay Nelson, “Implementing Remote Procedure Calls,” ACM Transactions on Computer Systems 2, no. 1 (February 1984), 39–59. Complete original paper at an institutional mirror; consulted §§1.3–1.5 (PDF zero-based pp. 2–5), §2 (pp. 6–8), §3.1–3.2 (pp. 10–12), and §5 (p. 19). Cedar package implementation/use is reported, but Alpine had not reached full-scale use. registry ↩a ↩b ↩c ↩d ↩e

[2] IBM, OS/390 DCE Application Development Guide: Introduction and Style, fourth edition (September 1998), SC28-1587-03. Complete first-party manual; consulted “Creating a Sample Application: GREET,” printed pp. 58–74/PDF zero-based pp. 87–103, especially Figs. 41, 46 and 53–60. The supplied code and shown outputs are tutorial material, not independent observation of production deployment. registry ↩a ↩b ↩c ↩d

[3] Oracle, ONC+ RPC Developer's Guide: rpcgen Tutorial (updated March 2019), “Converting Local Procedures to Remote Procedures,” Examples 1–3 and generated-file discussion. Complete first-party worked code, not a reviewer-executed deployment. registry ↩

[4] R. Thurlow, “RPC: Remote Procedure Call Protocol Specification Version 2,” RFC 5531 (May 2009), DOI 10.17487/RFC5531. Official protocol specification; consulted §4 RPC Model, §5 Transports and Semantics, and §§8.4.1–8.4.2 batch and broadcast. Its transaction-ID and failure statements are ONC-specific; it does not promise universal exactly-once execution. registry ↩a ↩b