Distributed Computing Paradigms: Mei-Ling Liu
Distributed Computing Paradigms: Mei-Ling Liu
Mei-Ling Liu
level of abstraction
high
object space
network services, object request broker, mobile agent
remote procedure call, remote method invocation
client-server
message passing
low
Process A
Process B
a message
Message passing
Distributed Computing Paradigms,
5/8/2007 M. Liu 6
The Message Passing Paradigm - 3
The basic operations required to support the basic message
passing paradigm are send, and receive.
For connection-oriented communication, the operations connect
and disconnect are also required.
With the abstraction provided by this model, the interconnected
processes perform input and output to each other, in a manner
similar to file I/O. The I/O operations encapsulate the detail of
network communication at the operating-system level.
The socket application programming interface is based on this
paradigm.
http://java.sun.com/products/jdk/1.2/docs/api/index.html
http://www.sockets.com/
service request
a client process
a server process
Server host a service
Client host
...
process 1
re qu e st re qu e st
re spon se
re spon se
process 2
receivers
message system sender
...
...
Process B
Process A
proc1(arg1, arg2)
proc2(arg1)
proc3(arg1,arg2,arg3)
Network services
Object spaces
Process 2
Process 1
remote method invocation method1
method2
a remote object
service object
Service requestor
Object
Object
Requestor
requestor provider
rea
requestor d write
read
An Object Space
Host 1
Host 3
agent
Host 4
http://www.meitca.com/HSL/Projects/Concordia/Welcome.ht
ml
IBM’s Aglet system.
http://www.trl.ibm.co.jp/aglets/
message
message
message