DISTRIBUTED COMPUTING
Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai
Seema Shah, Principal, Vidyalankar Institute of Technology, Mumbai University
© Oxford University Press 2011
Chapter - 4�Remote Communication
© Oxford University Press 2011
Topics
© Oxford University Press 2011
Introduction to Remote Communication �
© Oxford University Press 2011
Introduction
© Oxford University Press 2011
Remote Procedural Call Basics
© Oxford University Press 2011
Local Procedure Call
© Oxford University Press 2011
�Remote Procedure Call
© Oxford University Press 2011
RPC operation
© Oxford University Press 2011
Elements of RPC mechanism implementation
© Oxford University Press 2011
RPC Execution
© Oxford University Press 2011
Stub generation
© Oxford University Press 2011
RPC Compilation
© Oxford University Press 2011
RPC Implementation
© Oxford University Press 2011
RPC implementation
© Oxford University Press 2011
RPC Call/ Request message
© Oxford University Press 2011
RPC reply conditions
© Oxford University Press 2011
RPC reply message
© Oxford University Press 2011
Parameter Passing Semantics
Call-by-value copies all parameters into a message before transmission . Call-by-reference passes pointers to the parameters that are passed from the client to the server. Call-by-copy/restore uses temporary storage accessible to both programs
© Oxford University Press 2011
Call-by-value semantic
© Oxford University Press 2011
Byte ordering
© Oxford University Press 2011
Other semantics
© Oxford University Press 2011
Server management
© Oxford University Press 2011
RPC communication
© Oxford University Press 2011
Orphan calls
© Oxford University Press 2011
RPC communication protocols
© Oxford University Press 2011
Request protocol
© Oxford University Press 2011
Asynchronous RPC
© Oxford University Press 2011
Request/Reply protocol
© Oxford University Press 2011
Request/Reply/ Acknowledge- Reply protocol
© Oxford University Press 2011
Client server binding process
© Oxford University Press 2011
Client Server binding
© Oxford University Press 2011
Other RPC Issues
© Oxford University Press 2011
Other issues in RPC implementation
© Oxford University Press 2011
RPC in heterogeneous environment
© Oxford University Press 2011
Failure handling mechanism in RPC
© Oxford University Press 2011
RPC Optimization
© Oxford University Press 2011
Concurrent access to multiple servers
© Oxford University Press 2011
Early Reply technique
© Oxford University Press 2011
Call buffer approach
© Oxford University Press 2011
RPC Optimization
© Oxford University Press 2011
Complicated and special RPCs
© Oxford University Press 2011
Call back RPC
© Oxford University Press 2011
Special RPCs
© Oxford University Press 2011
Case Study: Sun RPC
© Oxford University Press 2011
Case Study- Sun RPC
© Oxford University Press 2011
Remote Method Invocation Basics
© Oxford University Press 2011
Remote Object Invocation
© Oxford University Press 2011
RMI
© Oxford University Press 2011
RMI vs LMI
© Oxford University Press 2011
RMI Implementation
© Oxford University Press 2011
RMI implementation �Design issues in RMI�
© Oxford University Press 2011
Invocation semantics
© Oxford University Press 2011
Level of Transparency
© Oxford University Press 2011
Components of RMI
© Oxford University Press 2011
RMI execution components
© Oxford University Press 2011
RMI execution
© Oxford University Press 2011
RMI software
© Oxford University Press 2011
Types of objects
© Oxford University Press 2011
Remote invocation readiness
© Oxford University Press 2011
RMI binding
© Oxford University Press 2011
Parameter passing in RMI
© Oxford University Press 2011
Case study: Java RMI
© Oxford University Press 2011
Java RMI layer
© Oxford University Press 2011
Summary
© Oxford University Press 2011