Foundations
Layered Protocols
Due to the absence of shared memory, all communication in distributed systems is based on sending and receiving (low level) messages.
Processes and have to agree on the meaning of the bits being sent.
The OSI Reference Model
7 layers:
Physical: Data cables, Cat6
Data Link: Switching, MAC addresses, Ethernet
Network: IP addresses, Routing
Transport: TCP/UDP
Session: Session management
Presentation: WMV, JPEG, MOV
Application: HTTP, SMTP
Mnemonic:
Please Do Not Throw Sausage Pizza Away
Middleware Protocols
4 layers:
Hardware
OS
Middleware
Application
Example:
DNS
Types of Communication
Persistent communication
A message that has been submitted for transmission is stored by the communication middleware as long as it takes to deliver it to the receiver.
E.g., electronic mail system
Transient communication
A message is stored by the communication system only as long as the sending and receiving application are executing.
Asynchronous communication
A sender continues immediately after it has submitted its message for transmission.
Synchronous communication
The sender is blocked until its request is known to be accepted.
Last updated