Docsity

Message Oriented Communication - Distributed Operating Systems - Lecture Slides, Slides of Operating Systems

Partial preview of the text

Download Message Oriented Communication - Distributed Operating Systems - Lecture Slides and more Slides Operating Systems in PDF only on Docsity!

Communication

Message-Oriented Communication

RPC and Message Passing

  • RPC enhances access transparency by hiding communication
  • RPC is inherently synchronous and is not always appropriate
  • What if the receiving side is not executing when the request is sent?
  • Sometimes, we need to resort to message-passing

Persistence and Synchronicity in Communication (2) Persistent communication of letters back in the days of the Pony Express.

Persistence in Communication

  • Persistence : A (sent) message is stored by the communication system until it is delivered.
  • Transient : A (sent) message is stored by the communication system as long as both the sender and receiver applications are executing

Persistent Asynchronous Communication

2 - 22. A message is stored:

  • until delivered
  • at A’s host
  • at the first comm server
  • e.g.: email

Persistent Synchronous Communication

2 - 22. A message is stored:

  • until delivered
  • at B’s host
  • at B’s comm server

Transient Synchronous Communication (1)

2 - 22. Weakest: Receipt-based

Transient Synchronous Communication (2)

Moderate: Delivery-based Strongest: Response-based