Presentation to give description about the remote procedure call in distributed systems
Presentation covers some points on remote procedure call in distributed systems
1. REMOTE PROCEDURE CALLS(RPC)
IN DISTRIBUTED OPERATING SYSTEMS
BY: POOJA PRASHANT BELE
DEPARTMENT OF COMPUTER SCIENCE AND
ENGINEERING
2. INDEX
1) Introduction
2) The RPC Model
3) Transparency of RPC
4) Implementing RPC Mechanism
5) RPC Messages
6) Marshaling Arguments and Results
7) Conclusion
3. Introduction
RPC allows programs to call procedures located on other
machines.
Information can be transported from caller to callee in the
parameters and come back in the procedure result
No message passing at all visible to the programmer
Special case of message-passing model
Features
1)simple call syntax and similarity to local procedure calls
2)its ease if use, efficiency and generality
3) it can be used as an IPC mechanism between
-Processes on different machines
-Different Processes on same machines
5. Transparency of RPC
There are two types of transparencies
Syntactic Transparency
Semantic Transparency
1) Syntactic Transparency:-
It means that a RPC should have exactly same syntax as a local procedure call
2) Semantic Transparency:-
It means that semantic of a RPC are identical to those of local procedure call.
8. Marshaling Arguments and Results
Marshaling basically involves the following steps
1) Taking the arguments or the results that will form the message data to be sent
to the remote process.
2) Encoding the message data of step 1 above on the senders computer. This
encoding process involves the conversion of program object into a stream
form that is suitable for transmission and placing them into a message buffer.
3) Decoding the message data on the receivers computer. This decoding
process involves the reconstruction of program objects from the message data
that was received in stream form.
9. Conclusion
RPC provides programmers with a familiar mechanism for building distributed
systems. RPC facility is not an universal panacea for all types of distributed
applications, it does provide a valuable communication mechanism that is
suitable for building a fairly large number of distributed applications.