Question 5 of 15 · CIE-1 QB · Set 1 · 2 marks
Open in ChatGPTWrite a short note on Remote Procedure Call. Define remote procedure call (RPC).
Remote Procedure Call lets a program call a procedure on another machine as if it were local.
- Client stub: marshals the arguments into a message and passes it to the runtime.
- Runtime: transmits the request and receives the reply.
- Server stub: unmarshals the arguments, calls the real procedure, marshals the result.
- Transparency: the programmer writes a normal call; the network is hidden.
- Limitation: pointers cannot be passed, and a call can fail by timeout.