+ All Categories
Home > Technology > DDS vs AMQP


Date post: 29-Nov-2014
Author: angelo-corsaro
View: 6,767 times
Download: 12 times
Share this document with a friend
Middleware technologies today play a key role in the vast majority of mission- and business-critical systems. Choosing the right middleware infrastructure for these systems is a non-trivial task that must take into account many different dimensions ranging from the purely technical to tactical and strategic aspects. This Webcast will compare and contrast the Data Distribution Service for Real-Time Systems (DDS) against the Advanced Message Queuing Protocol (AMQP). The comparison will provide an in depth analysis of the technical differences between the two standards and will detail their technology management and technology strategy standpoints.
Embed Size (px)
of 46 /46
Angelo Corsaro, Ph.D. Chief Technology Officer OMG DDS SIG Co-Chair [email protected] Delivering Performance, Openness, and Freedom Open Splice DDS DDS vs. AMQP
  • 1. OpenSplice DDS Delivering Performance, Openness, and Freedom Angelo Corsaro, Ph.D. Chief Technology Officer DDS vs. AMQP OMG DDS SIG Co-Chair [email protected]
  • 2. Agenda Genesis Technology Comparison Code Examples Concluding Remarks
  • 3. OpenSplice DDS Delivering Performance, Openness, and Freedom Historical Perspectives
  • 4. Genesis DDS AMQP Emerged from Aerospace and Defense Emerged from the Financial Market to address the data distribution from the desire of freeing users from requirement of a large class of mission- proprietary and non-interoperable critical systems messaging systems Evolved to address on-the-wire Evolved into an effort to dene a interoperability and provide the generic enterprise messaging standard ubiquitous data-bus for mission-critical System-of-Systems
  • 5. Standardization Organization DDS AMQP DDS is an Object Management Group AMQP is standardized by the AMQP (OMG) Standard Working Group The OMG is a an international, open The AMQP Working Group is a non- membership, not-for-prot computer prot organization with a free industry consortium since 1989 membership based on interest and OMG is an ISO PAS submitter, able to merit submit our specications directly into ISOs fast-track adoption process.
  • 6. Standard Evolution DDS v1.0 DDS v1.1 DDS v1.2 DDSI v2.0 DDSI v2.1 DDS-XTopics Dec Dec Jan Apr Jan March 2004 2005 2006 2007 2008 2009 2010 Jun Nov Dec AMQP v0-8 AMQP v0-9-1 AMQP v1-0 draft ??? Dec AMQP v0-10 AMQP v0-9
  • 7. Scope of Standardization Application Application Object/Relational Mapping Data Local Reconstruction Layer (DLRL) DDS v1.2 Content Ownership Durability Subscription API (?) Minimum Prole Data Centric Publish/Subscribe (DCPS) DDSI v2.1 AMQP v1-0 Advanced Message Queuing Protocol Real-Time Publish/Subscribe Protocol Interoperability Wire Protocol DDS Interoperability Wire Protocol TCP/IP UDP/IP
  • 8. OpenSplice DDS Delivering Performance, Openness, and Freedom Technology Comparison
  • 9. Which Versions? In the reminder of this presentation Ill compare DDS v1.2 / DDSI v2.1 with AMQP v1-0
  • 10. OpenSplice DDS Delivering Performance, Openness, and Freedom Messages vs. Topics
  • 11. AMQP v1-0 Messages AMQP is a standard protocol for messaging As such AMQP the unit of information that can be sent or received is a message. An AMQP message encapsulate the Bare Message, provided by the application, within an annotated message [Source AMQP specication v1-0]
  • 12. DDS Topics {Circle, Square, Triangle} Topic Unit of information exchanged between Publisher and Subscribers. An association between a unique name, a type and a QoS setting {ShapeType} {...} Topic Type. struct ShapeType { Type describing the data associated with one long x; or more Topics long y; A Topic type can have a key represented by an long shapesize; string color; arbitrary number of attributes }; Expressed in IDL #pragma keylist ShapeType color 2009, PrismTech. All Rights Reserved
  • 13. Topic/Instances/Samples Recap. Topics Instances Samples ti tj tnow time 2009, PrismTech. All Rights Reserved
  • 14. OpenSplice DDS Delivering Performance, Openness, and Freedom Node/Links vs. Reader/Writers
  • 15. AMQP v1-0 Conceptual Model An AMQP Network consists of Nodes and Links A Node is a named source and/or sink of Messages. A Message is created at a (Producer) Node, and may travel along links, via other nodes until it reaches a terminating (Consumer) Node. A Link is a unidirectional route between nodes along which messages may travel. Links may have entry criteria (Filters) which restrict which messages may travel along them. The link lifetime is tied to the lifetime of the source and destination nodes. m m Link m Node Node
  • 16. Destructive Links Destructive Links consume the message from the originating source. Destructive Link Destructive Link Destructive Link m m m m Node 1 Node 2 Node 1 Node 2 Node 1 Node 2 Time
  • 17. Non-Destructive Links Non-Destructive Links dont consume messages from the source node. Non-Destructive Non-Destructive Link Link m m m m m Node 1 Node 2 Node 1 Node 2 Node 1 Node 2 Time
  • 18. Filtered Links Links can have associated lters that allow to predicate on the messages that might traverse. Filter can be based on the non opaque portion of the message. Link Link m {color = red} {color = red} m m m Node Node m m m m Node Link Node Link m {color = green} {color = green} m Node Node Time
  • 19. Anatomy of a DDS Application Topic Topic Topic Samples Samples Instances Samples Instances Instances 1 1 21 62 21 62 1 1 22 62 22 62 1 1 23 63 23 63 DataReader DataReader 2 20 61 2 19 60 DataReader DataReader 2 20 61 2 19 60 DataWriter DataWriter DataReader DataReader 3 25 70 3 25 71 25 3 25 74 3 3 26 77 26 77 DataWriter DataWriter struct ShapeType { 3 25 70 3 25 71 25 3 25 74 long x; long y; long shapesize; string color; }; #pragma keylist ShapeType color Destructive/Non-Destructive Links can be paralleled with the DDS read/take semantics 2009, PrismTech. All Rights Reserved
  • 20. Content Filtering X0 X1 X0