DEV Community

Cover image for What is a RPC (Remote Procedure Call)?
Douglas Moura
Douglas Moura

Posted on • Edited on • Originally published at douglasmoura.dev

2

What is a RPC (Remote Procedure Call)?

A remote procedure call (RPC) is a mechanism of communication between two computational environments, where one can be identified as a client, while the other can be identified as a server.

From the client's point of view, the RPC is just a matter of calling a function with the desired arguments and await for the response, in order to continue the program's execution.

Diagram on how a RPC (remote procedure call) works

Thus, using an RPC allows one programmer to distribute the system, according to their needs.

References:

RPC Vs Simple Procedure Call - Georgia Tech - Advanced Operating Systems
How RPC works
Remote Procedure Calls (RPC)
Introduction to RPC Programming
Building an end-to-end typesafe API — without GraphQL

Image of Datadog

How to Diagram Your Cloud Architecture

Cloud architecture diagrams provide critical visibility into the resources in your environment and how they’re connected. In our latest eBook, AWS Solution Architects Jason Mimick and James Wenzel walk through best practices on how to build effective and professional diagrams.

Download the Free eBook

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay