Or are they synonyms?
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.
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.
A process can be of two types: Independent process. Co-operating process.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With