Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a difference between RPC and IPC?

Tags:

rpc

ipc

Or are they synonyms?

like image 943
Dimitri C. Avatar asked Jan 29 '10 11:01

Dimitri C.


People also ask

What is IPC and RPC in distributed system?

js, RPC (Remote Procedure Call) and IPC (Inter-Process Communication) are both mechanisms to communicate between a frontend process running in a browser and a backend process running under Node. js. Each can be used to connect processes that reside the same machine or on different machines connected through a network.

How does RPC enable interprocess communication?

RPC is a powerful, robust, efficient, and secure interprocess communication (IPC) mechanism that enables data exchange and invocation of functionality residing in a different process. That different process can be on the same machine, on the local area network, or across the Internet.

What are the two types of IPC?

A process can be of two types: Independent process. Co-operating process.

What is the difference between local procedure call and remote procedure call?

While local procedure calls (LPCs) provide a mechanism for enabling different parts of an application located on a single computer to communicate with each other, RPCs involve communication between different computers.


1 Answers

Wikipedia is usually great for these purposes.

RPC:

Remote procedure call (RPC) is an Inter-process communication technology that allows a computer program to cause a subroutine or procedure to execute in another address space (commonly on another computer on a shared network) without the programmer explicitly coding the details for this remote interaction.

IPC:

Inter-process communication (IPC) is a set of techniques for the exchange of data among multiple threads in one or more processes. Processes may be running on one or more computers connected by a network.

So, RPC is just one kind of IPC.

like image 168
Eli Bendersky Avatar answered Oct 05 '22 16:10

Eli Bendersky