Chapter 3
Chapter 3
Mei-Ling Liu
Distributed Computing
09/30/22 Paradigms, M. Liu 1
Paradigms for Distributed Applications
Paradigm means “a pattern, example, or model.” In the
study of any subject of great complexity, it is useful to
identify the basic patterns or models, and classify the detail
according to these models. This paper aims to present a
classification of the paradigms for distributed applications.
Characteristics that distinguish distributed applications
from conventional applications which run on a single
machine. These characteristics are:
Interprocess communication: A distributed application require the
l e ve l o f abstr ac ti o n
hi g h
o bje c t spac e
ne tw o r k se r vi c e s , o bje c t r e que st br o ke r , m o bi l e ag e nt
r e m o te pr o c e dur e c al l , r e m o te m e tho d i nvo c ati o n
c l i e nt-se r ve r
m e ssag e passi ng
low
Proce s s A
Proce s s B
a m es s age
http://www.sockets.com/
C l i ent ho st
...
Th e C l i e n t - S e r ve r P ar ad i g m , c o n c e p t u al
pr o c e s s 1
re qu e s t re qu e s t
re s po n s e
re s po n s e
pr o c e s s 2
re ce iv e r s
m e ssage syste m s e n de r
...
...
http://developer.java.sun.com/developer/technicalArticles/Ne
tworking/messaging/
Pro ce s s B
Pro ce s s A
p ro c 1 ( ar g 1 , arg 2 )
p ro c 2 (arg 1 )
p ro c 3 ( ar g 1 ,ar g 2 ,arg 3 )
(DCE) RPC.
Both APIs provide a tool, rpcgen, for transforming remote
procedure calls to local procedure calls to the stub.
Network services
Object spaces
P rocess 2
P rocess 1
re m o t e m e t h o d in v o ca t io n m e t h o d1
m e t h o d2
a re m o t e o bje ct
The R e m o te M e t h o d C al l P ar ad i g m
s e rv ice o bje ct
S e rv ice re qu e s to r
O bje ct R e qu e s t B rok e r
re qu e s to r pro vide r
re a
re qu e s tor d w r ite
r ead
A n O bje ct S pace
Ho s t 1
Ho s t 3
ag en t
Ho s t 4
http://www.meitca.com/HSL/Projects/Concordia/Welcom
e.html
m es s ag e
m es s ag e
m es s ag e