remote-procedure-call · shipping · also RPC, Remote procedure call

Remote procedure call (RPC)

A remote procedure call (RPC) invokes a procedure in another process by exchanging request and reply messages.

Related Observatory article: Read on hesela.com

Interface: RPC can use synchronous or asynchronous APIs. ONC RPC identifies a procedure by program, program version and procedure number; these fields are specific to that protocol. Its XID matches replies to calls or detects retransmissions, but is not an execution-order sequence number. [1]

Failure: A missing reply alone leaves execution uncertain. In gRPC, client and server can disagree about completion, and cancellation does not undo earlier changes. A call result therefore needs the application-specific persistence contract. [1] [2]

Retry scope: eRPC suppresses repeated handler execution during protocol retransmission and reports errors for pending client calls after suspected node failure. This does not establish durable deduplication for a newly submitted application request. [3]

Concurrency: Idempotent effects alone do not ensure linearizable retries: repeating a fixed-value write after an intervening update can overwrite that update. [4]

Relations

related
eRPC, RIFL, I/O timeout, Retry deduplication

Citations

  1. RFC 5531: ONC RPC Version 2, sections 4, 5, 8.1 and 9 (accessed 2026-11-16)
  2. gRPC: Core concepts, RPC termination and cancellation (accessed 2026-11-16)
  3. Kalia, Kaminsky and Andersen: Datacenter RPCs can be General and Fast, NSDI 2019, sections 3.1, 5.3 and Appendix B (accessed 2026-11-16)
  4. Lee et al.: Implementing Linearizability at Large Scale and Low Latency, SOSP 2015, section 2 and Figure 2 (accessed 2026-11-16)
Sources & caveats
  • Primary-source synthesis of a general interface concept. ONC RPC, gRPC and eRPC are distinct protocols or implementations; their fields and failure semantics are not interchangeable.
  • No network, retry or crash-recovery experiment was performed for this entry.

JSON: /data/terms/remote-procedure-call.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Remote procedure call (RPC). Hesela. 2026-11-16. https://hesela.dev/terms/remote-procedure-call/