loading...
Cover image for An Introduction to Remote Procedure Calls (RPC's)

An Introduction to Remote Procedure Calls (RPC's)

nyamador profile image Desmond ・1 min read

I've started studying distributed systems in college and here's a beginners view on RPC's.

What is a Remote Procedure call?

Remote Procedure calls are protocols that enable a program execute a service in a different address space or another computer for simplicity.These are normally referred to as subroutine calls or function calls.

RPC's are synchronous which means client programs requesting need to be suspended until the results of the subroutine call is returned.

In the OSI model, an RPC laps the transport layer and Application Layer.

Types of RPC

  1. The regular method in which the client continually pings the server until it responds.

  2. The client requests and continues to process without having to wait for a response from the server. note : The server doesn't respond.

  3. Sending non-blocking client calls in bulk.

  4. Sending messages to many servers and receiving replies

  5. Client makes a non-blocking client/server call , the server responds by invoking a procedure associated with the client.

Posted on by:

Discussion

markdown guide