chapter-4
chapter-4
REMOTE COMMUNICATION
Topics
• Introduction to Remote Communication
• Remote Procedural Call Basics
• RPC Implementation
• RPC Communication
• Other RPC Issues
• Case Study: Sun RPC
• Remote invocation Basics
• RMI Implementation
Server management
Instance per call
Instance per session
Persistent servers
Reincarnation
Gentle reincarnation
Expiration
Deregister
Lookup
Use of threads
Early reply technique
Call buffering approach
Serving multiple requests simultaneously
Reducing call workload of server
Using reply cache for idempotent RPC
Special RPCs:
Callback RPC
Broadcast RPC
Message passing
Task of locating and
contacting the remote
object for the client