1
1י"סשת ןסינ ג"ג The Computer Communication Cource
From RPC to RMI
י"סשת ןסינ ג"ג2
Slides are taken from
Topics in Distributed Middleware Systems, Spring Topics in Distributed Middleware Systems, Spring 2002 by Gregory Chockler 2002 by Gregory Chockler
3י"סשת ןסינ ג"ג The Computer Communication Cource
Where is middleware?
4י"סשת ןסינ ג"ג The Computer Communication Cource
Middleware Protocols
■ ■
Protocols for middleware services Protocols for middleware services
◆ ◆ Distributed commit protocols
Distributed commit protocols
✦ ✦ Useful for distributed database transactions and for supporting
Useful for distributed database transactions and for supporting fault fault-
- tolerance
tolerance
◆ ◆ Distributed locking
Distributed locking
■ ■
High level communication services: High level communication services:
◆ ◆ Remote procedure call, remote object invocation, message queuing
Remote procedure call, remote object invocation, message queuing services services
5י"סשת ןסינ ג"ג The Computer Communication Cource
Remote Procedure Call (RPC)
■ ■
Allowing programs to call procedures located on other machines Allowing programs to call procedures located on other machines
■ ■
The goal: to make remote procedure call to look as much as The goal: to make remote procedure call to look as much as possible as a local one possible as a local one
◆ ◆ Hides communication network
Hides communication network
◆ ◆ Access transparency
Access transparency
■ ■
Issues: different address spaces, passing parameters and Issues: different address spaces, passing parameters and returning replies, failures returning replies, failures
6י"סשת ןסינ ג"ג The Computer Communication Cource