






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







I see one machine running one program
What should I run where?
Communication is transparent
Communication is explicit
main() { … function() … }
Machine A
function() { send message wait for reply return }
Machine B
parent() { wait for call call function() send reply }
function() { … }
main () { … obj.method() … }
Object Request Broker
Distributed Objects
Find object
Code segment
Data segment
Machine A Machine B
Machine C
Machine D
Machine E
Program
No central point of failure Potentially more scalable
More difficult to program
Client
Server
Port
bind() Well-known port listen()
accept()
read()
write()
close()
eof()?
write()
read()
connect()
socket()
socket()
close()
Client
Server
Web Server
80 Listen queue
Web Server
80 Listen queue
Client
connect()
Request from (IP, port)