1 / 14

Messaging Passing Communication AOS

Messaging Passing Communication AOS. Dan Huang. Why Need Message . RPC and ROI hiding communication for transparency. Hiding communication is not an appropriate mechanism Messaging is needed for communication. Message Oriented Communication.

hanne
Download Presentation

Messaging Passing Communication AOS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Messaging Passing Communication AOS Dan Huang

  2. Why Need Message • RPC and ROI hiding communication for transparency. • Hiding communication is not an appropriate mechanism • Messaging is needed for communication

  3. Message Oriented Communication • Many distributed system and application are built on message-oriented model on the transport layer. • Socket is a communication end point to which an application can write data that are to be sent out over the underlying network, and from which incoming data can be read

  4. Socket Primitive Interface

  5. Message Passing Interface • MPI is designed for parallel applications and as such is tailored to transient communication. • MPI assumes communication takes place within a known group of processes. Each group is assigned an identifier • Each process within a group is also assigned a (local) identifier.

  6. Message Passing Interface • Some of the most intuitive message-passing primitives of MPI.

  7. Message-queuing Systems • The essence is that they offer intermediate-term storage capacity for messages, without requiring either the sender or receiver to be active during message transmission. • The systems are targeted to support message transfers that are allowed to take minutes instead of seconds or milliseconds.

  8. Messaging Queue Model • The basic idea is that applications communicate by inserting messages in specific queues. • These messages are forwarded over a series of communication servers and are eventually delivered to the destination. • Sender only guarantees that its message will be inserted in the recipient‘s queue.

  9. Messaging Queue Model • the execution mode of the sender and receiver

  10. Messaging Queue Model • Basic interface to a queue in a message-queuing system

  11. General Architecture of a Message-Queuing System

  12. General Architecture of a Message-Queuing System

  13. Message Broker of a Message-Queuing System • Message broker acts as an application-level gateway in a message-queuing system • Main purpose is to convert incoming messages so that they can be understood by the destination application

  14. Message Broker of a Message-Queuing System • The general organization of a message broker

More Related