SHARED MEMORY o buffer ·unbounded buffer ·bounded buffer
SHARED MEMORY buffer unbounded buffer bounded buffer
MESSAGE PASSING SYSTEM o two operations ·send ·receive o message size ·fixed 。variable o communication link ·physical o shared memory o hardware bus o network ·logical o direct/indirect o synchronous/asynchronous o automatic/explicit buffering
MESSAGE PASSING SYSTEM two operations send receive message size fixed variable communication link physical shared memory hardware bus network logical direct/indirect synchronous/asynchronous automatic/explicit buffering
GOALS FOR TODAY o Communication in Client-Server Systems
GOALS FOR TODAY Communication in Client-Server Systems
CLIENT-SERVER COMMUNICATION o Sockets o Remote Procedure Calls o Remote Method Invocation (Java)
CLIENT-SERVER COMMUNICATION Sockets Remote Procedure Calls Remote Method Invocation (Java)
SOCKETS o A socket is defined as an endpoint for communication o Concatenation of IP address and port o The socket 161.25.19.8:1625 refers to port 1625 on host161.25.19.8 o Communication consists between a pair of sockets
SOCKETS A socket is defined as an endpoint for communication Concatenation of IP address and port The socket 161.25.19.8:1625 refers to port 1625 on host 161.25.19.8 Communication consists between a pair of sockets