Remote Procedure Calls vs. Local Procedure Calls
19,472
Solution 1
Read their respective Wikipedia pages:
RPC - https://en.wikipedia.org/wiki/Remote_procedure_call
LPC - https://en.wikipedia.org/wiki/Local_Procedure_Call
Everything is explained there. First put some effort into it and if you get stuck you can still pose a non-trivial questions.
Differences:
- RPC is slower than LPC since it uses the network to invoke the method.
- With RPC the procedure call can be executed on a remote machine which can be addressed in several ways.
- The parameters and return value need to be serializable (to use java terminology).
- RPC's can fail due to network issues.
- RPC's need to be set up before using them.
- The language used to call the remote procedure and the language implementing the remote procedure are not necessarily the same.
- and more.
Solution 2
In RPC, programs can be executed from a different computer while in LPC, programs are executed by the host computer.
Related videos on Youtube
Author by
Gimhani
Updated on September 15, 2022Comments
-
Gimhani over 1 year
What are the differences between RPC (Remote Prpcedure Calls) and LPC (Local Procedure Calls)?
-
Gromski over 8 yearsDitto on the effort. At least quote some relevant passages from those pages, don't just link to them. This is a comment at best, not an answer.
-
Silver over 8 yearsThis is also a vague question which cannot be answered in a finite amount of time nor will the answer be useful to anyone. I added some differences as the question asks.
-
Gromski over 8 yearsAgreed. Some things simply cannot and should not be answered.
-
Silver over 8 yearsLet's hope the question is edited to be useful. I will modify my answer accordingly.