Presentation is loading. Please wait.

Presentation is loading. Please wait.

Message Oriented Communication Prepared by Himaja Achutha Instructor: Dr. Yanqing Zhang Georgia State University.

Similar presentations


Presentation on theme: "Message Oriented Communication Prepared by Himaja Achutha Instructor: Dr. Yanqing Zhang Georgia State University."— Presentation transcript:

1 Message Oriented Communication Prepared by Himaja Achutha Instructor: Dr. Yanqing Zhang Georgia State University

2 Outline Classification Message Oriented Transient Communication -Socket - MPI Message Oriented Persistent Communication -Message Oriented Middleware(MOM) JMS API References

3 CLASSIFICATION Synchronous or Asynchronous Transient or Persistent

4 Persistence and Synchronicity Synchronous Communication: -Sender blocks until the request is known to be accepted Asynchronous Communication: -Sender continues Immediately after message sent Persistent Communication: -Stores the message until recipient receives it. Transient Communication: -Messages are stored as long as sending and receiving applications are executing

5 Message Oriented Transient Communication Socket Socket is an end point of an inter process communication Socket address is the combination of ip address + port number

6 Socket Primitives

7 Limitations Of Sockets Sockets Designed for network communication - Simple send and receive primitives - Use general purpose protocol stacks Abstraction not suitable for other protocols in cluster of work stations - Need an interface with more advanced primitives Large number of incompatible proprietary libraries and protocols - Need for a standard interface

8 Message Passing Interface(MPI) MPI - Hardware Independent - Designed for parallel applications Communication between group of processes Support most of the forms of transient communication

9 MPI Primitives

10 Message Oriented Persistent Communication Message Queuing systems or Message Oriented Middleware(MOM) - Supports Asynchronous Persistent Communication -Intermediate Storage for messages while sender/receiver are inactive Communicate by inserting messages in queues Sender is only guaranteed that message will be eventually inserted in recipients queue

11 Message Queuing Model

12 Message Queuing System

13 Message Brokers Message Brokers are building blocks of Message Oriented Middleware Architectural pattern of message validation, message transformation and message routing Transforms incoming messages to target format, possibly using intermediate representation

14 Java Message Service(JMS) JMS API is a Java Message Oriented Middleware API for sending messages between two or more clients JMS Elements - JMS Provider - JMS Client - JMS Provider/Publisher - JMS Consumer/Subscriber - JMS Message - JMS Queue

15 JMS API Models Point to point model -Messaging Type is built on the concept of message queues, senders and receivers -Producers send messages to the queues, each message is guaranteed to be delivered -If no consumer is registered to consume the message, the queue will hold the until a consumer registers to consume them

16 JMS API Models Publish/subscribe Model -Publisher publishes the particular message topic. Subscriber may subscribe interest in receiving message. -Zero or more consumers will receive the message. Example: Bulletin board

17 Upcoming Advancements in MOM Wireless Networks Cloud Computing Sensor Networks Internet Of Technologies

18 References Andrew S.Tanenbaum, Maarten Van Steen, “Distributed Systems: Principles and Paradigms”,Prentice- Hall,NJ,USA. http://www.cs.iit.edu/~iraicu/teaching/CS550- S11/lecture08.pdf http://www.cs.iit.edu/~iraicu/teaching/CS550- S11/lecture08.pdf http://kjk.skhu.ac.kr/MOM.html https://en.wikipedia.org/wiki/Message- oriented_middleware https://en.wikipedia.org/wiki/Message- oriented_middleware https://en.wikipedia.org/wiki/Java_Message_Service https://en.wikipedia.org/wiki/Network_socket

19 References https://en.wikipedia.org/wiki/Message_broker https://en.wikipedia.org/wiki/Message_Passing_Interface http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber= 6011743&queryText=message%20oriented%20communic ation&newsearch=true http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber= 6011743&queryText=message%20oriented%20communic ation&newsearch=true http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber= 6767245&newsearch=true&queryText=Message- oriented%20Middleware http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber= 6767245&newsearch=true&queryText=Message- oriented%20Middleware http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber= 6643344&newsearch=true&queryText=Message- oriented%20Middleware http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber= 6643344&newsearch=true&queryText=Message- oriented%20Middleware

20 Thank you! Email: hachutha1@student.gsu.edu@


Download ppt "Message Oriented Communication Prepared by Himaja Achutha Instructor: Dr. Yanqing Zhang Georgia State University."

Similar presentations


Ads by Google