This document provides a summary of a masterclass on building distributed real-time systems using the Data Distribution Service (DDS). The class covers DDS concepts and technology, including runtime services, development tools, and standards. It discusses how DDS enables a data-centric model and global data space to support high-performance, scalable, and reliable real-time systems that interact directly with the physical world.
1 of 151
More Related Content
RTI Data-Distribution Service (DDS) Master Class 2011
1. DDS: A Next-Generation Approach to Building Distributed Real-Time Systems 2011 Masterclass Gerardo Pardo-Castellote, Ph.D. Co-chair OMG DDS SIG CTO, Real-Time Innovations [email_address] http://www.rti.com
2. Outline Day 1 Part I Concepts Introduction to DDS and RTI Overview of Technology Run-time services (Persistence, Recording, Routing, …) Day 2 Part II Basic Hand’s on Examples Development tools Future directions and Standards: Part II Application development cycle Advanced Exercise
7. Everyday Example: Calendaring Alternative Process #1: Email: “Meeting Monday at 10:00.” Email: “Meeting moved to Tuesday.” Email: “Here’s dial-in info for meeting…” Rick: “Where do I have to be? When?” Rick: ( sifting through email… )
8. Example: Calendaring Alternative Process #2: Calendar: ( add meeting Monday at 10:00 ) Calendar: ( move meeting to Tuesday ) Calendar: ( add dial-in info ) Rick: “Where do I have to be? When?” Rick: ( check calendar )
9. Example: FaceBook Alternative Process #1: Use the FaceBook web site. Alternative Process #2 : The web site doesn’t exist. Deduce your friends’ information based on the notifications FaceBook sends you.
10. What’s the Difference? State . Things have attributes and characteristics The meeting will run 1:00–2:00 in the conference room . My friend’s phone number is 555-1234 and he’s currently grooming his cat . The car is blue and is traveling north from Sunnyvale at 65 mph . … whether they exist in the real world, in the computer, or both … whether or not we observe or acknowledge them “ State” (“data”) is a snapshot of those attributes and characteristics. Best Practice: operate on state directly, not dialogs about state.
11. Data-Centricity = Describing the world as it is Implication : State of the world can be maintained by infrastructure , not each app the part of you care about at a certain point in time
12. Not Data-Centricity = Saying anything else… “ Hey you: go do this.” “ The thing changed in this way.” Implication : State must be inferred, reconstructed, managed by each app ( Sometimes called “ message -centricity ” : focus on what’s said vs. what is )
13. Why is it better to just describe the world? Reconstructing the state of the world is hard Must infer based on all previous messages Maintaining all these messages is expensive Each app makes these inferences => duplicate effort People make mistakes Many copies of state => may be different => bugs vs. Uniform operations on state => fewer bugs
14. Why is it better to just describe the world? Computers are stupid Integrate based on what to do => must know everything you might do => future extension hard Integrate based on what exists => do whatever you like; no one else cares => future extension easy Integration effort doesn’t scale Integrate at level of function => everything integrates with everything else => effort scales with square of number of apps Integrate at level of state => everything integrates with common model => effort scales with number of apps
15. So it’s “better.” Who cares? Faster to implement => Save time and money Easier to integrate and update => Protect your investment More reliable systems => Protect your business
16. Before We Forget: the Definition A data-centric architecture : … is based on a data model that is: Appropriately documented— i.e. understandable by humans Formally defined— i.e. understandable by machines Discoverable— i.e. can be found during execution The data model is independent of any domain-specific functionality / application . i.e. made of nouns , not verbs The (instantiated) data model is the only authoritative source of state in the system. For example, data structures in IDL file. Calendar Event = Start Time Duration Location Organizer
17. DDS Lets You Observe a Changing World Other data-centric technologies: Databases: SQL Web: HTTP (mostly) … assume the world changes slowly … use network resources inefficiently … are highly centralized App App App App App App Unreliable Failure here kills many apps State Server Slow A few updates/sec Not scalable 100 apps => 100x load
18. DDS Lets You Observe a Changing World DDS: … allows you to observe frequent changes … uses network resources efficiently … is decentralized State: Global Data Space App App App App App App Fast 100,000’s updates/sec Scalable Load indep. # apps Reliable No single pt. failure Managed with QoS
19. DDS Lets You Observe a Changing World JBC-P replaced home-brew messaging w/ DDS: Tracks 20x more objects with fewer failures … with 97% less code ( 1.5M lines 50K ) … with 99% less CPU resources ( 88 cores 0.8 ) State: Global Data Space App App App App App App Fast 100,000’s updates/sec Scalable Load indep. # apps Reliable No single pt. failure Managed with QoS
20. DDS Lets You Observe a Changing World Domain : world you’re talking about Topic : group of similar things Similar structure (“type”) what Similar way they change when over time (“QoS”) how Instance : individual thing DataWriter : source of observations about part of the world (topic) DataReader : observer of part of the world (topic) Domain (e.g. Yellowstone Park) Topic (e.g. bears in the park) Instance (e.g. Yogi the bear)
25. DDS adopted by key programs US Navy Open Architecture Mandates DDS for Pub-Sub SPAWAR NESI Mandates DDS for Pub-Sub SOA DISR Mandates DDS for Pub-Sub API Mandates DDS-RTPS for Pub-Sub Interop European Air Traffic Control DDS used to interoperate ATC centers UK Generic Vehicle Architecture Mandates DDS for vehicle comm. Mandates DDS-RTPS for interop.
29. Architecture for the next-generation systems Existing technologies are reaching robustness/performance/scalability limits RTI DDS brings a fundamental new architecture and approach Fully decentralized, peer-to-peer, “no bottlenecks” architecture Superior Wire Protocol Powerful data-centric model Built-in Robustness and High-Availability Standards-based, multi-platform Single-lane traffic No prioritization Brokers as choke-points RTI Approach
33. Data-Centric Model “ Global Data Space ” generalizes Subject-Based Addressing Data objects addressed by DomainId, Topic and Key Domains provide a level of isolation Topic groups homogeneous subjects (same data-type & meaning) Key is a generalization of subject Key can be any set of fields, not limited to a “x.y.z …” formatted string Data Writer Data Writer Data Writer Data Writer Data Reader Data Reader Data Reader Data Reader Data Writer example Data Object
34. Data-Centric Model “ Global Data Space ” generalizes Subject-Based Addressing Data objects addressed by DomainId, Topic and Key Domains provide a level of isolation Topic groups homogeneous subjects (same data-type & meaning) Key is a generalization of subject Key can be any set of fields, not limited to a “x.y.z …” formatted string Data Writer Data Writer Data Writer Data Writer Data Reader Data Reader Data Reader Data Reader Data Writer example Topic
35. Data-Centric Model “ Global Data Space ” generalizes Subject-Based Addressing Data objects addressed by DomainId, Topic and Key Domains provide a level of isolation Topic groups homogeneous subjects (same data-type & meaning) Key is a generalization of subject Key can be any set of fields, not limited to a “x.y.z …” formatted string Data Writer Data Writer Data Writer Data Writer Data Reader Data Reader Data Reader Data Reader Data Writer example Key (subject)
37. DDS communications model Participants scope the global data space (domain) Topics define the data-objects (collections of subjects) Writers publish data on Topics Readers subscribe to data on Topics QoS Policies are used configure the system Listeners are used to notify the application of events Data Reader “ Alarm” Domain Participant Data Writer “ Alarm” Domain Participant New subscriber! example Listener Offered QoS Listener Got new data Requested QoS
47. Observer Pattern: Use Cases How do I model state that changes over time? How do I decouple data consumption from data production in time? What if consumers need to come and go while the system is operational? What if new functionality needs to be added to the system while it’s operational? Examples Vehicles move from place to place Bid/offer prices of an asset change Sensors take new measurements periodically
48. Observer Pattern: Introduction Roles Subject : Changes its state over time Has identity, abstract “address” Observer : Sees those changes when it cares to Known to infrastructure, anonymous to subjects Notified when subject changes; may examine new state or not Operations (CRUD) Create : create new subject exists with certain state Read : access state(s) of subject(s) Update : modify existing subject with new state Delete : delete existing subject
50. Observer Pattern: How To Premier pattern in DDS , central to data-centric design! Roles Subject address = domain topic instance Observer = DataReader Operations Create = write new instance Read = read or take samples Update = write existing instance Delete = dispose instance
51. Observer Pattern: How To Domain : world you’re talking about Best practice : use to isolate subsystems Best practice : connect subsystems with Routing Service Topic : group of similar objects Similar structure (type) Best practice : model complete state, not diffs Best practice : use DDS type system, not opaque bytes or custom encapsulations Similar way they change over time (QoS) Best practice : differentiate … how subject changes (writer QoS) … from what observer sees (reader QoS) Instance : individual object Best practice : declare key fields always Best practice : key fields establish identity e.g. Social Security Number, Track ID, etc. Best practice : key fields allow resource management per object over time e.g. “keep last 5” Topic (e.g. bears in the park) Instance (e.g. Yogi the bear) Domain (e.g. Yellowstone Park)
52. Observer Pattern: How To Subject Change Contract : History keep last 10 Deadline 1 sec Observer Requirements : History keep last 5 Deadline 5 sec Minimum separation 2 sec Example Type : typedef long BearID; struct Bear { @Key BearID which_bear; long pos_x; long pos_y; float speed; bool is_growling; bool is_charging; };
53. Observer Pattern: How To Two variants : Publish when it changes Uses network efficiently when changes are slow / sporadic Examples: e.g. DDS discovery e.g. Vehicles / devices that start and stop Best practice : use durability, reliability, keep-last history depth >= 1 Publish periodically Good for continuous feedback control algorithms e.g. Vehicles / devices while they’re moving e.g. Stuff that tends to be connected to Matlab / Simulink, LabView Smoothes resource use when changes are regular Examples: Sensors, actuators in a control loop Best practice : declare finite deadline Best practice : consider time-based filter for slow readers and best efforts
54. Observer Pattern: Benefits Supports dynamic system composition, evolution Subject states don’t depend on previous states: observers can come, go whenever without being out of sync Uses of data unspecified: functions can be added, removed Maximizes parallelism, minimizes blocking Subject changes on its own time scale Observer reads on its time scale Data bus can overwrite, filter, down-sample as necessary Allows flexible deployment Subjects don’t care about identities, locations, number of observers Observers don’t care about physical locations of subjects; just need abstract “address” decoupled
55. Observer Pattern: Challenges Challenge: Large state may change in small ways Communicating new state may be unnecessarily expensive If Observer cares what changed, may be expensive to determine Response: Don’t sweat it Are the data rates high enough that it matters? How much network/memory/CPU/complexity will you pay to “fix” it? Response: Send diffs and reassemble Tools at your disposal: DDS-XTypes: optional fields (also in RTI [dynamic] sparse types) Portable today: sequence<MyType, 1> Multiple topics (with same key) Topic 1 : complete object state Topic 2 : cumulative changes to last state from Topic 1 Use durability and explicit correlation IDs to merge 1 and 2 Cost : increased logic, state in your applications
56. Observer Pattern: See Also High-Volume patterns Low-Latency patterns [GoF] “Observer” [EIP] “Publish-Subscribe Channel” [EIP] “Datatype Channel” [EIP] “Quality-of-Service Channel”
58. Directed State Pattern: Use Cases How can one party request that another party do something? How can a producer know that observers(s) have acted on its data? How can a producer observe the “result” of a remote action? Examples : Defense: Fire control Financial Services: Order execution
59. Directed State Pattern: Introduction Best practice : keep interactions data-centric Insight : Objectives are state and can be distributed Insight : Desires and intentions are state and can be distributed Anti-pattern : point-to-point commands, replies Why not : Couple applications based on function and role Why not : Constrain future functional changes to system Why not : Integration effort doesn’t scale as number of apps increases
60. Directed State Pattern: Introduction 3 States : Current Objective (“goal”)— Optional Requested State 2+ Roles (special case of Observer pattern): Effector aka Subject wrt Current State and Objective State aka Observer wrt Requested Objective State Requester aka Subject wrt Requested Objective aka Observer wrt Current State and Objective State ( Observer —with respect to any state) Current State Objective State change Requested State Effector executes this Requester changes this
61. Directed State Pattern: How To Reliability QoS policy : Current : Reliable or Best Effort Requested : Reliable History QoS policy : Current, Objective : Keep Last n Requested : Keep Last 1 Requester Effector Data Bus if long-running if short-running request processed? feedback Current State write Objective State write Requested State read, filter Current State read, filter Objective State read, filter same type same or different types same key Requested State write
62. Directed State Pattern: How To Variant: Simple state, Fast transition Current + Requested States; no Objective State States use same type Flow: Current = x Requested y Current y Requested unregister Variant: Simple state, Slow transition Current, Objective, Requested States States use same type Flow: Current, Objective = x Requested y Objective y Current x + 1 x + 2 … y Requested unregister
63. Directed State Pattern: How To Variant: Complex state, slow transition Current, Objective, Requested States Requested States use different type than Current Requests have identity and lifecycle: e.g. REQUESTED, PROCESSING, DONE Objective indicates which request is in process Flow: Effector : Current, Objective = x Requester : Requested id = 1 , value = y , state = REQ Effector : Objective id = 1 , value = y , state = PROC Requester : Requested unregister id = 1 Requester : Requested id = 2 , value = z , state = REQ Effector : Current x + 1 x + 2 … y Effector : Objective id = 1 , value = y , state = DONE Effector : Objective id = 2 , value = z , state = PROC Requester : Requested unregister id = 2 Effector : Current y + 1 y + 2 … z Effector : Objective id = 2 , value = z , state = DONE
64. Directed State Pattern: How To Example: Fire Missile Fire Control Fire Effector Launcher = 5 State = Idle Launcher #5 Firing Authorized Target Identified (Objectives ) (Current ) Request ID = 5 Launcher = 5 Action = Fire State = Requested 1 Request ID = 5 Launcher = 5 Action = Fire State = Processing 2 Request ID = 6 Launcher = 6 Action = Fire State = Requested 4 Request ID = 5 Launcher = 5 Action = Fire State = Done 7 Launcher = 5 State = Prep’ing 3 Launcher = 5 State = Firing 5 Launcher = 5 State = Idle 6
65. Directed State Pattern: Benefits Allows components to express intent and communicate about actions Allows additional observing components to leverage request, objective data Avoids tight application-to-application coupling of RPC-like (anti-)patterns More flexible asynchronous behavior Stronger type-based, QoS-based governance Easier insertion, removal of application components Easier insertion, removal of infrastructure components
66. Directed State Pattern: Challenges Beware degradation into RPC-style request-reply Code smell : blocking behavior, e.g. wait_for_acknowledgments Code smell : point-to-point comm. back channels, e.g. payloads in app ACKs Code smell : stateless interactions, e.g. many occurrences of keep-all reliability
67. Directed State Pattern: Challenges Manage state ownership One party established state, another needs to change it—why not “pass” ownership on single topic? Why not : Embedding workflow of current objective state transition into multiple components => maintenance pain Why not : “Same” objects may be written by different parties but with different ownership, e.g. I own #1, you own #2, she owns #3, … Why not : Moving ownership => hard to manage fault tolerance, e.g. persistence Best practice : always distinguish Current, (Requested) and Objective states Each should have a single owner Fail-over should occur among redundant copies, not different functional units
68. Directed State Pattern: See Also Patterns Observer pattern Anti-Patterns [GoF] “Command” [EIP] “Command Message” [EIP] “Correlation Identifier” [EIP] “Point-to-Point Channel” [EIP] “Request-Reply” [EIP] “Return Address” [EIP] “Scatter-Gather”
70. Day 2: Exercises Gerardo Pardo-Castellote, Ph.D. Co-chair OMG DDS SIG CTO, Real-Time Innovations [email_address] http://www.rti.com
71. Part II Solving integration use-cases with RTI Recording, Persistence, Database Integration, Web Access Hello World with RTI DDS Configuring QoS via XML Development and Run-time Tools: Ping, Spy, Analyzer, Wireshark, Excel Discovery and Builtin-Topics Protocol, Performance & Scalability. Future directions and Standards
77. RTI Routing Service Selective, real-time data forwarding and transformation Can Change Topic Name and Topic Schema Allows for custom transformations via “plugin” Can filter/guard data QoS managed, can cache last-known value for data Dynamically configured Location independent deployment DDS Router GUARD XFORM Topic A Topic B ShapesDemo_0 start ShapesDemo_1 stop_all
79. Web Accessibility Direct access to real-time data from Web-Based Applications Tactical Real-Time Data Web Enabled DDS Web Enabled DDS Web Enabled DDS GUARD Recorded Data Recorded Data Files Recorded Track Files 1. start replay & router 2. start view maps simulated tracks stop_all DDS Recording Service
80. COTS tools: Excel – Interacting with your data Display live RTI DDS Data in Excel Perform real-time computations and charts Publish RTI DDS data from Excel blank saved demo ShapesDemo
81. Part II Solving integration use-cases with RTI Recording, Persistence, Database Integration, Web Access Hello World with RTI DDS Configuring QoS via XML Development and Run-time Tools: Ping, Spy, Analyzer, Wireshark, Excel Discovery and Builtin-Topics Protocol, Performance & Scalability. Future directions and Standards
82. Hands-on Example (C++) Type Definition MyType.idl rtiddsgen MyType.h MyTypeSupport.c MyTypePublisher.cpp MyTypeSubscriber.cpp MyType.sln Publisher.exe Subscriber.exe Three minutes to a running app!! Define your data Create your project Build Run: publisher subscriber Aux: File Browser Console Delete Files rtiddsspy compiler
83. Exercise #1 - Hello World Define you data type: Create a directory “HelloWorld” Create a file called HelloWorld.idl and open it in VisualStudio Add the following contents: const long MSG_LEN=256; struct Hello { string<MSG_LEN> user; //@key string<MSG_LEN> msg; };
84. Run rtiddsgen (for C++) rtiddsgen HelloWorld.idl -language C++ -example i86Win32VS2005 -replace -ppDisable rtiddsgen HelloWorld.idl -language Java -example i86Win32jdk -replace -ppDisable Look at the directory you should see: HelloWorld-vs2005.sln And Several other files… Open the Solution File (type hello-vs2005.sln on the console) Look at HelloMsgPublisher.cxx Look at HelloMsgSubscriber.cxx Build the Solution
85. Run rtiddsgen (for Java) rtiddsgen hello.idl -language Java -example i86Win32jdk -replace -ppDisable Look at the directory you should see: makefile_hello_i86Win32jdk And Several other files… Look at HelloMsgPublisher.java Look at HelloMsgSubscriber.java You can use the makefile to build and the Java programs: gmake –f makefile_hello_i86Win32jdk
86. Execute the program C++: On one window run: objs86Win32VS2005elloMsgPublisher.exe On another window run: objs86Win32VS2005elloMsgSubscriber.exe Java On one window run: gmake –f makefile_hello_i86Win32jdk HelloMsgPublisher On another window run: gmake –f makefile_hello_i86Win32jdk HelloMsgSubscriber You should see the subscribers getting an empty string…
87. Modify the program to produce something C++: Open HelloMsgPublisher.cxx in VisualStudio Java: Open HelloMsgPublisher.java in your preferred tool Look for the comment: /* Modify the data to be sent here * / Add the line: strcpy_s(instance->user, MSG_LEN, “ Your name here "); strcpy_s(instance->msg, MSG_LEN, "Hello world "); Kill the Publisher, Rebuild the publisher and run it again
88. Playing with rtiddsspy Run rtiddsspy while the other applications are running Start and stop applications. What do you see in rtiddsspy
91. How to Get Data? (Listener-Based) // Listener creation and attachment Listener listener = new MyListener(); reader->set_listener(listener); // Listener code MyListener::on_data_available( DataReader reader ) { TextSeq received_data; SampleInfoSeq sample_info; TextDataReader reader = TextDataReader::narrow(reader); treader->take( &received_data, &sample_info, …) // Use received_data printf(“Got: %s”, received_data[0]->contents); }
92. How to Get Data? (WaitSet-Based) // Creation of condition and attachement Condition foo_condition = treader->create_readcondition(…); waitset->add_condition(foo_condition); // Wait ConditionSeq active_conditions; waitset->wait(&active_conditions, timeout); // Wait returns when there is data (or timeout) FooSeq received_data; SampleInfoSeq sample_info; treader->take_w_condition (&received_data, &sample_info, foo_condition); // Use received_data printf(“Got: %s”, received_data[0]->contents);
93. Listeners, Conditions & WaitSets Middleware must notify user application of relevant events: Arrival of data But also: QoS violations Discovery of relevant entities These events may be detected asynchronously by the middleware … Same issue arises with POSIX signals DDS allows the application to choice: Either to get notified asynchronously using a Listener Or to wait synchronously using a WaitSet Both approaches are unified using STATUS changes
94. Status Changes DDS defines A set of enumerated STATUS The statuses relevant to each kind of DDS Entity DDS entities maintain a value for each STATUS struct LivelinessChangedStatus { long active_count; long inactive_count; long active_count_change; long inactive_count_change; } STATUS Entity INCONSISTENT_TOPIC Topic DATA_ON_READERS Subscriber LIVELINESS_CHANGED DataReader REQUESTED_DEADLINE_MISSED DataReader RUQESTED_INCOMPATIBLE_QOS DataReader DATA_AVAILABLE DataReader SAMPLE_LOST DataReader SUBSCRIPTION_MATCH DataReader LIVELINESS_LOST DataWriter OFFERED_INCOMPATIBLE_QOS DataWriter PUBLICATION_MATCH DataWriter
95. Listeners, Conditions and Statuses A DDS Entity is associated with: A listener of the proper kind (if attached) A StatusCondition (if activated) The Listener for an Entity has a separate operation for each of the relevant statuses STATUS Entity Listener operation INCONSISTENT_TOPIC Topic on_inconsistent_topic DATA_ON_READERS Subscriber on_data_on_readers LIVELINESS_CHANGED DataReader on_liveliness_changed REQUESTED_DEADLINE_MISSED DataReader on_requested_deadline_missed RUQESTED_INCOMPATIBLE_QOS DataReader on_requested_incompatible_qos DATA_AVAILABLE DataReader on_data_available SAMPLE_LOST DataReader on_sample_lost SUBSCRIPTION_MATCH DataReader on_subscription_match LIVELINESS_LOST DataWriter on_liveliness_lost OFFERED_INCOMPATIBLE_QOS DataWriter on_offered_incompatible_qos PUBLICATION_MATCH DataWriter on_publication_match
96. Listeners & Condition duality A StatusCondition can be selectively activated to respond to any subset of the statuses An application can wait changes in sets of StatusConditions using a WaitSet Each time the value of a STATUS changes DDS Calls the corresponding Listener operation Wakes up any threads waiting on a related status change Asynchronous notification via Listener operation Synchronous notification via activation/wakeup of conditions/waitsets DDS Entity Status Change
97. Exercise #2 – Shapes Publisher Create a new directory Shapes In the Directory create a file called ShapeType.idl Edit the file to have the following content: const long COLOR_LEN=64; struct ShapeType { string<COLOR_LEN>color; //@key long x; long y; long shapesize; }; Run: rtiddsgen ShapeType.idl -language C++ -example i86Win32VS2005 –replace -ppNotRun
98. rtiddsgen Details rtiddsgen [-d <outdir>] [-language <C|C++|Java|C++/CLI|C#>] [-namespace] [-package <packagePrefix>] [-example <arch>] [-replace] [-debug] [-corba [client header file]] [-optimization <level of optimization>] [-stringSize <Unbounded strings size>] [-sequenceSize <Unbounded sequences size>] [-notypecode] [-ppDisable] [-ppPath <path to the preprocessor>] [-ppOption <option>] [-D <name>[=<value>]] [-U <name>] [-I <directory>] [-noCopyable] [-use42eAlignment] [-help] [-version] [-convertToIdl | -convertToXml | -convertToXsd | -convertToWsdl] [[-inputIdl] <IDLInputFile.idl> | [-inputXml] <XMLInputFile.xml> | [-inputXsd] <XSDInputFile.xsd> | [-inputWsdl] <WSDLInputFile.wsdl>] DefinitionFile can be IDL, XSD and XML file -example generates example pub/sub apps and makefiles for compilation. -replace replaces everything that’s generated. Use if the data type definition has changed. Always use with caution if you’ve made modifications.
99. IDL vs. XML: IDL Example struct MemberStruct{ short sData; } typedef MemberStructType; //@top-level false
100. IDL vs. XML: XML Example <? xml version ="1.0“ encoding ="UTF-8"?> < types xmlns:xsi ="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation ="../rti_dds_topic_types.xsd"> < struct name ="MemberStruct" topLevel ="false"> < member name ="sData“ type ="short"/> </ struct > < typedef name ="MemberStructType" type ="nonBasic“ nonBasicTypeName ="MemberStruct“ topLevel ="false"/> </ types >
101. IDL vs. XSD: XSD Example <? xml version ="1.0" encoding ="UTF-8"?> < xsd:schema xmlns:xsd ="http://www.w3.org/2001/XMLSchema" xmlns:dds ="http://www.omg.org/dds" xmlns:tns ="http://www.omg.org/IDL-Mapped/" targetNamespace ="http://www.omg.org/IDL-Mapped/"> < xsd:import namespace ="http://www.omg.org/dds" schemaLocation ="rti_dds_topic_types_common.xsd"/> < xsd:complexType name ="MemberStruct"> < xsd:sequence > < xsd:element name ="sData" minOccurs ="1" maxOccurs ="1" type ="xsd:short"/> </ xsd:sequence > </ xsd:complexType > <!-- @topLevel false --> < xsd:complexType name ="MemberStructType"> < xsd:complexContent > < xsd:restriction base ="tns:MemberStruct"> < xsd:sequence > < xsd:element name ="sData" type ="xsd:short" minOccurs ="1" maxOccurs ="1"/> </ xsd:sequence > </ xsd:restriction > </ xsd:complexContent > </ xsd:complexType > <!-- @topLevel false --> </ xsd:schema >
102. Part II Solving integration use-cases with RTI Recording, Persistence, Database Integration, Web Access Hello World with RTI DDS Development and Run-time Tools: Ping, Spy, Analyzer, Wireshark, Excel Discovery and Builtin-Topics Monitoring Configuring QoS via XML Protocol, Performance & Scalability. Future directions and Standards
103. Tools provide insight into a distributed system RTI Analyzer Understand connections and data flow Tune QoS properties without changing code RTI Excel Addin View Data Inject Data Compute / Analyze RT Data RTI Protocol Analyzer Sniff the wire and analyze traffic RTI Monitoring Visualize and monitor system operation Detect system problems, bottlenecks, etc.
105. XML-Defined Qos Profiles: Overview QoS can be specified in XML file(s) and is automatically loaded when the application starts XML – specified QoS will be automatically used when DDS entities are created Globally for all new entities Selectively, depending on the Topic associated with the entity XML –specified QoS can be accessed via new API calls: create_<ENTITY>_with_profile() get_< ENTITY >_qos_from_profile() set_default_< ENTITY >_qos_with_profile()
106. Benefits of using QoS profiles Simplifies application programming. Editing XML is simpler than editing/compiling source code Same settigs can be shared between applications/languages Accelerates development Changing QoS does not require re-compilation & re-deployment Increases flexibility and maintainability Can change QoS applications to meet changing system needs without requiring re-deployment Improves code reuse Separates configuration/deployment from application logic Same code can be re-deployed on different hardware/networks/systems just changing the QoS file Enhances portability Application code is not dependent on vendor QoS extensions
107. More on using QoS profiles Could increase brittleness QoS files can change between runs. What was working no longer works the same way… Portability XML profile format now standardized as part of “DDS for light-weight CCM” specification Will be folded in the next revision of the standard File-based use of QoS profiles is always portable Direct calls to the C/C++/Java are not part of the standard yet Makes deployment dependent on accessing a file-system… XML can be compiled into the code, but that negates some of the benefits
108. What is a QoS Profile? Set of related Entity-QoS, usually one per entity kind, identified by a name. Provides all the information needed to fully configure the QoS for any DDS Entity ( DomainParticipant, Publisher, DataWriter, …) QoS policies and attributes can be set explicitly, in the profile or otherwise are inherited from it’s “base profile” Profiles that do not specify a “base profile” automatically inherit from the DDS-Specified Default QoS. May contain multiple definitions of a EntityQos (e.g. DataWriterQos) Can be disambiguated by Topic related to the Entity If ambiguous the last definition prevails Defined inside Qos libraries
109. What is inside an XML QoS file? A collection of QoS profiles organized inside QoS Libraries Example Field names are the same as in C++/Java source code. Eg.: datawriter_qos.reliability.max_blocking_time.sec
110. How are XML Qos files specified? NDDSHOME directory (first to be loaded) $NDDSHOME/resource/qos_profiles_XXX/xml/NDDS_QOS_PROFILES.xml Automatically loaded if present unless: DDS_ProfileQosPolicy::ignore_resource_profile == DDS_BOOLEAN_TRUE NDDS_QOS_PROFILES Environment variable NDDS_QOS_PROFILES= [<url1> | <url2>]; … <file_url> ::= file://usr/local/default_dds.xml <string_url> ::= str://<dds><qos_library>…</qos_library></dds> Automatically loaded if defined unless: DDS_ProfileQosPolicy::ignore_environment_profile == DDS_BOOLEAN_TRUE Application directory USER_QOS_PROFILES.xml Automatically loaded if present unless: DDS_ProfileQosPolicy::ignore_user_profile == DDS_BOOLEAN_TRUE DDS_ProfileQosPolicy::url_profile Automatically loaded if defined DDS_ProfileQosPolicy::string_profile Automatically loaded if defined Duplicate Qos Libraries and/or Qos Profiles within a library are not allowed
111. Side note: URL Format URLs are required for either specifying QoS profile location, or for specifying a profile string File URL : Example: file:// usr/local/default_dds.xml String URL Can be set in code, or as part of the environment variable Must contain whole XML document Example: str:// <dds><qos_library> . . . </qos_library><dds> URL groups Redundant files in URL groups provide fault-tolerance Only the first one found will be loaded Example: [file://usr/local/default_dds.xml | file://usr/local/alternative_default_dds.xml]
112. API access to XML QoS Policies If XML QoS policies are used, they are automatically loaded before creating the first participant XML QoS policies can be explicitly reloaded and unloaded via API calls: DDSDomainParticipantFactory::reload_profiles( ) DDSDomainParticipantFactory::unload_profiles( ) XML QoS can be explicitly applied to an entity by calling <ENTITY>::set_qos_with_profile(), create_<ENTITY>_with_profile() XML QoS can be retrieved by calling DDSDomainParticipantFactory::get<ENTITY>_qos_with_profile()
113. QoS Profile Inheritance A QoS profile can inherit the values of another QoS profile Base profile set using the base_name tag Base profile can be in another file and/or library A Profile that does not specify a base_name implicitly inherits from the Default Profile Example: < qos_profile name = " ReliableKeepLast " base_name = " BasicQos " > < datawriter_qos > < reliability > < kind > RELIABLE_RELIABILITY_QOS </ kind > < max_blocking_time > < sec > 1 </ sec > < nanosec > 0 </ nanosec > </ max_blocking_time > </ reliability > < history > < kind > KEEP_LAST_HISTORY_QOS </ kind > < depth > 10 </ depth > </ history > </ datawriter_qos > </ qos_profile >
114. Modifying the default QoS using XML files The “default” QoS used by DDS can be modified via an explicit call to: set_default_<ENTITY>_qos_with_profile() Alternatively a QoS profile can be marked such that it is used as the default QoS In combination with the “topic filter” (next slide) this can be used to surgically modify the QoS of a deployed application < qos_library name = " MyQosLib " > < qos_profile name = " ReliableKeepLast " is_default_qos = " true " > < datawriter_qos > … </ datawriter_qos > < datareader_qos > … </ datareader_qos > </ qos_profile > </ qos_library >
115. Fine-tuning which QoS applies to an Entity via Topic filters Allows a QoS profile to affect only selected DataReaders or DataWriters Affected DataReaders or DataWriters are specified via an expression in their Topic name Single QoS file and profile can be used to configure the whole system QoS of selected entities can be changed without application code changes QoS can be inherited from another library. E.g.: < datawriter_qos topic_filter = " Alarm* " > … </ datawriter_qos >
116. XML QoS Notes If both XML and source code are used to configure an entity, the last one set will be used If the entity already exists, set_qos_with_profile() can be called after reload() only of no immutable QoS have changed DTD validation is done automatically. Specify the DTD in the XML file when you want to overwrite the DTD used by the middleware XSD is available. Makes editing very easy when using a XML/XSD aware editor More details on Chapter 15 of the Reference Manual
117. Configuration of QoS via XML-defined profiles Try it out using the shapes demo!
118. Part II Solving integration use-cases with RTI Recording, Persistence, Database Integration, Web Access Hello World with RTI DDS Development and Run-time Tools: Ping, Spy, Analyzer, Wireshark, Excel Discovery and Builtin-Topics Configuring QoS via XML Protocol, Performance & Scalability. Future directions and Standards
133. Part II Solving integration use-cases with RTI Recording, Persistence, Database Integration, Web Access Hello World with RTI DDS Development and Run-time Tools: Ping, Spy, Analyzer, Wireshark, Excel Discovery and Builtin-Topics Configuring QoS via XML Protocol, Performance & Scalability. Future directions and Standards
134. OMG Standards update DDS API - 2003 DDS Wire Interoperability - 2006 UML Profile for DDS - 2007 DDS for lwCCM – 2008 Extensible Topics for DDS – 2010 ISO C++ API – 2010 Java 5 API - 2010 Upcoming standards: + Web Enabled DDS (Mar 2011) + Secure DDS (Dec 2011)
135. Web-Protocol Access to DDS Global Data Space Stateless access of data via standard Web Technologies & Protocols Not a bridge, broker, or message router Web App DDS RTPS Global Data Space App App App App Web Integration Service HTTP
136. DDS Security RFP A PIM and language PSMs for set of “plugins” that provide Authentication, Authorization, Data Tagging, Signing, and Encryption A set of pre-defined plugins that can be used to define and enforce security policies. Extensions to the DDS-RTPS Wire Protocol to support secure interoperability between DDS Systems.
137. Pub/Sub middleware (DDS) Application Secure OS Secure Transport DDS Application Secure DDS Global Data Credential Mgmt Authentication Access Control Data Tagging Encryption DDS Application DDS Application ? ? ? ?
138. App. Other DDS System Secure DDS middleware Authentication Plugin Access Control Plugin Data Encryption Plugin Data Tagging Plugin Crypto Module (e.g. TPM ) Secure Transport (e.g. TLS) CS application component certificates Kernel Policies Network Driver Network Encrypted Data TAGS Other DDS System Other DDS System App. App. Secure Kernel (e.g. SE Linux, MILS) ? Data cache Protocol Engine DDS Entities ? 1 2 3 4 5 6 7 8 9
140. Exercise: How could “chat rooms” be implemented? Different Topics for each Chat room? Map to Partitions? Add field to the message and use content-filtered Topics? Same as before and also make room part of the Key? Others? Discuss pros and cons of each approach
141. Exercise: How could we implement Ground control stations that monitor UAVs Different Topics for each UAV? Or use Keys? Different Domains for each Ground Station? Or Partitions? How to control multiple UAVs from the same ground station? How to switch the ground station that controls the UAV? How to do failover between ground stations? How to direct a message to one or all UAVs? How to detect loss of connection to an UAV? Discuss pros and cons of each approach
142. Edit the chat_publisher.cxx Go to the line with comment: /* Main loop */ Add the line: strcpy_s(instance->name, NAME_LEN, "Gerardo Pardo"); (Use your own name) Go to the line with comment: /* Modify the data to be sent here */ Add the lines: instance->age = count; strcpy_s(instance-> msg , NAME_LEN, “ Como va todo? "); (Use your age and personalized message) Rebuild and execute
143. Exercise #3 – Chat Room Create a new directory Chat In the Directory create a file called chat.idl Edit the file to have the following content: const long NAME_LEN=64; const long MSG_LEN=256; struct ChatMsg { string<NAME_LEN>name; //@key long age; string<MSG_LEN> chatRoom; string<MSG_LEN> msg; }; Run: rtiddsgen chat.idl -language C++ -example i86Win32VS2005 –replace -ppNotRun
144. Edit the chat_publisher.cxx Go to the line with comment: /* Main loop */ Add the line: strcpy_s(instance->name, NAME_LEN, "Gerardo Pardo"); (Use your own name) Go to the line with comment: /* Modify the data to be sent here */ Add the lines: instance->age = count; strcpy_s(instance-> msg , NAME_LEN, “ Como va todo? "); (Use your age and personalized message) Rebuild and execute
145. Exercise #3 (continued) Use Qos Set RELIABILITY Set HISTORY to KEEP_LAST or KEEP_ALL Test different depths Use Partitions Create several Partitions: E.g. by ChatRoomName Publish in your ChatRoom Subscribe to one or more ChatRooms
146. Exercise #4 (continued) Use content filters Edit the chat_subscriber.cxx Add the lines: DDSContentFilteredTopic *cftopic; DDS_StringSeq filter_params; filter_params.maximum(0); cf T opic = participant- > create_contentfilteredtopic( "Selected Chats", topic, "age > 4", filter_params); Look of the call to create_datareader Replace “topic” with “cfTopic” in the paramater list.
147. Exercise #3 (continued) Use Exclusive Ownership Set up in pairs edit the chat_publisher.cxx and use the same “name” for both of you Re-run the publisher application you will see mixed messages. Edit the chat_publisher.cxx Before creating the data writer add the lines publisher->get_default_datawriter_qos(dwq); d wq.ownership.kind = DDS_EXCLUSIVE_OWNERSHIP_QOS; dwq.ownership_strength .value = 10; Replace DDS_DATAWRITER_QOS_DEFAULT with dwq In the create_datawriter() call Edit the chat_subscriber.cxx Before creating the data reader add the lines DDS_DataReaderQos drq; subscriber->get_default_datareader_qos(drq); drq.ownership = DDS_EXCLUSIVE_OWNERSHIP_QOS; Replace DDS_DATAWRITER_QOS_DEFAULT with drq in the create_datareader() call
151. Summary Reduces software lifecycle costs Loose coupling Replaces need for custom middleware in high performance, real time applications Reduces risk Standards-compliant API and wire protocol Multiple implementations Widely adopted Most widely proven and mature implementation Highest performance Industry-leading expertise and services capability Free trial, research and IR&D licenses Comprehensive platform support
Editor's Notes
Time: 45 minutes Title: The Data Distribution Service (DDS) Standard: A Next-Generation Approach to Building Distributed Real-Time Systems Abstract: DDS has been adopted worldwide by major air force, army, marine and navy programs as an open architecture standard for integrating real-time tactical systems with each other and with enterprise applications such as command and control systems. This breakout will introduce the DDS standard and show how it provides a net-centric, service-oriented approach to meeting the messaging and integration requirements of mission-critical embedded systems. ** Booth demo ** RTI will be demonstrating its real-time publish/subscribe middleware based on the Data Distribution Service (DDS) standard. DDS dramatically reduces software lifecycle costs by making it easy to develop, integrate and scale distributed real-time applications. DDS applications are loosely coupled and can communicate seamlessly across platforms, programming languages and network transports (including shared memory, backplane, LAN, WAN, wireless and satellite links). Supported operating systems include VxWorks, VxWorks MILS 2.0, Linux, Windows, Solaris and AIX. A small-footprint version is available for systems that require DO-178B certification.
Make the point that this precept has been fundamentally understood by the GVA, but the concept is empowering as a way to integrate larger systems of systems into a net-centric whole. In fact the data model of the vehicle in def-stan 23-09 can be assessed to determine what parts of its data set could and should be communicated to the wider net-centric environment. 2 nd bullet point – you can note: Otherwise how would crusty old Generals add the value they do in leading combat situations? (Joke – up to you if you use this)
Last slide was at one moment in time. Now, longer-term view… Example: with 12 apps, effort is order 12 vs. order 144: order of magnitude savings
Mostly for technical folks
DDS provides an infrastructure for integrating real-time applications. It also facilitates integrating real-time applications with non-real-time (enterprise) applications, such as command and control systems.
Work on the standard began in 2001 and version 1.0 was formally adopted in December 2004. RTI released the first commercial solution to comply with the standardized API in 2005. Implementations: RTI* PrismTech/Thales* MilSOFT* Twin Oaks* OpenDDS Gallium/Kongsberg Boeing SoSCOE *Claim support for wire protocol OCERA ORTE is RTPS only. http://www.ocera.org/download/components/WP7/orte-0.3.1.html
Applications that want to contribute information to the Global Data Space can declare their intent to publish the information. Applications that want to access portions of the Global Data Space can declare their intent to subscribe to the information Decoupling in several dimensions: - Space (location): Each side does not need to know the location of the other side. They publish/subscribe to the shared “global data space” - Redundancy: It is possible for the same data to be subscribe by multiple nodes, or to be written by multiple nodes. This is all managed transparently by the infrastructure. - Time: The reception of data does not need to be synchronous with the writing. A subscriber may, if so configured, receive data that was written even before the subscriber joined the network. - Platform: Applications do not have to worry about data representation, processor architecture, Operating System, or even programming on the other side. It is possible for example to publish from a real-time node using the C language and subscribe from a Linux node running Java. Each side is isolated from the details of the other. Mechanisms in place to allow access to data only by specific applications / nodes.
Applications that want to contribute information to the Global Data Space can declare their intent to publish the information. Applications that want to access portions of the Global Data Space can declare their intent to subscribe to the information Decoupling in several dimensions: - Space (location): Each side does not need to know the location of the other side. They publish/subscribe to the shared “global data space” - Redundancy: It is possible for the same data to be subscribe by multiple nodes, or to be written by multiple nodes. This is all managed transparently by the infrastructure. - Time: The reception of data does not need to be synchronous with the writing. A subscriber may, if so configured, receive data that was written even before the subscriber joined the network. - Platform: Applications do not have to worry about data representation, processor architecture, Operating System, or even programming on the other side. It is possible for example to publish from a real-time node using the C language and subscribe from a Linux node running Java. Each side is isolated from the details of the other. Mechanisms in place to allow access to data only by specific applications / nodes.
Applications that want to contribute information to the Global Data Space can declare their intent to publish the information. Applications that want to access portions of the Global Data Space can declare their intent to subscribe to the information Decoupling in several dimensions: - Space (location): Each side does not need to know the location of the other side. They publish/subscribe to the shared “global data space” - Redundancy: It is possible for the same data to be subscribe by multiple nodes, or to be written by multiple nodes. This is all managed transparently by the infrastructure. - Time: The reception of data does not need to be synchronous with the writing. A subscriber may, if so configured, receive data that was written even before the subscriber joined the network. - Platform: Applications do not have to worry about data representation, processor architecture, Operating System, or even programming on the other side. It is possible for example to publish from a real-time node using the C language and subscribe from a Linux node running Java. Each side is isolated from the details of the other. Mechanisms in place to allow access to data only by specific applications / nodes.
Start first window. Publish one instance of each shape (i.e., topic). Start second window. Subscribe to all three shapes. Point out: automatic discovery, peer-to-peer communication. Illustrates one-to-one communication. Start third window. Subscribe to all three shapes. Illustrates one-to-many. Start fourth window. Publish one of each shape, using different colors than are already being published. Illustrates many-to-many. Click “Delete All” and then exit the first window. Notice how well-suited DDS is for dynamic and ad hoc systems. Applications could come and go without impacting other applications. This also provides fault tolerance. Also see how this makes it easy to insert new applications and technology into already deployed systems. Note: keep the three other windows running. Will use them for showing content filter and time-based filter later.
In one of the two subscribing windows, delete all of the subscriptions and then subscribe to one shape with a content-filtered topic and another shape with a time based filter. Points: Applications have fine-grained control over which data is received. This optimizes performance and reduces/simplifies application logic Filtering has no impact on either the publisher or other subscriber. It is very loosely coupled. Every application can specify its own requirements. Delete all of the publications in the publishing window and all of subscriptions in the non-filtering window. Publish a shape with Durability, Reliability, History=250 and Deadline=1000. (Publish a shape that is being subscribed with a filter.) In the window with no subscriptions, enable “Show Reliability” and subscribe to the shape being published with Durability, Reliability, History=250 and Deadline=2000. Points: Late joining applications can get the state they need to start processing, including historic data that may be necessary to “prime” algorithms. Even though the QoS of the publisher was changed, the subscriber that was running with the old QoS is still getting data. Subscribers can get data as long as the request QoS is less than or equal to the published QoS. In the subscribing window with Deadline QoS set, view the Output pane and make sure to scroll to the bottom (<Control><End>). In the publishing window, click-hold on the shape so that it won’t be published. Note the missed deadline message. Point: Applications are notified if timing constraints are not being met so that they can take corrective action and won’t do anything erroneously.
The first thing to notice is that the knowledge of your data model that was associated with the data stream in the data-centric technology disappears when you use a message-centric technology. That makes it much harder to develop a generic component such as the Web Integration Service, which much transform arbitrary data types to and from XML, downsample data by based on content, etc. First message arrives. It has the same structure as we saw before, except without a known type definition, the type information must be embedded within the message itself, significantly increasing its size. The second message arrives. It’s in a totally different format than the first! This one is just a blob of binary-encoded data. Maybe the consuming application understands how to decode it and maybe not. Each application connected to the network will have expectations about the formats of the messages it receives. But a messaging infrastructure can’t support those expectations, so they have to be enforced by an organizational policy. I write up a Word document that describes how you should format your messages and email it to you, and you have to follow my instructions. If you make a mistake, we’ll have to debug it at integration time. In a data-centric approach, data type enforcement is built in: developers work with typed objects in their programming languages, errors are detected when the code is compiled before it’s ever deployed, and runtime mismatches that do occur are detected automatically by the middleware. How do I describe a content-based filter on a binary blob? How do I transform it into another format? How do I map it into a database? The third message arrives. It’s in yet a third format: a plain text string. Because the messaging system doesn’t have any concept of object lifecycle, each system has to define its own ad hoc system of sentinels: “create” messages, “dispose” messages, etc. More work, and it makes it much more difficult to leverage something you’ve built for one project on the next project. By comparison, Web Integration Service takes advantage of the built-in lifecycle support in DDS – you saw that when tracks were marked with “X” or “?”. And without any knowledge of your objects or their lifecycle, a messaging infrastructure can only support qualities of service that make sense across an entire topic: for example time-to-live (“lifespan” in language of DDS).
From the beginning, the data stream is associated with the schema of the data that will be propagated on that stream. Your applications already have some expectations; if you express those to a data-centric infrastructure, it can help you. For example, you can use this schema to automatically transform data into other formats. (This is how the Routing Service and Web Integration Service work.) The infrastructure can also dissect your data to filter on content (for example “give me updates where x > 5”). “ Key” means “this field establishes the identity of a unique object.” Like the key in a relational database table. In DDS, can be any number of fields of any type(s). New track you’ve never seen before. Notice that since type is already known, only need to send field values, not field names or types. Update to a track you’ve already seen Another new track – notice that the key is different A track you’ve seen before has gone away
Effector is responsible for transition algo. In this case, x y z. But could have chosen “curved” path x … z that never reached y.
Time: 45 minutes Title: The Data Distribution Service (DDS) Standard: A Next-Generation Approach to Building Distributed Real-Time Systems Abstract: DDS has been adopted worldwide by major air force, army, marine and navy programs as an open architecture standard for integrating real-time tactical systems with each other and with enterprise applications such as command and control systems. This breakout will introduce the DDS standard and show how it provides a net-centric, service-oriented approach to meeting the messaging and integration requirements of mission-critical embedded systems. ** Booth demo ** RTI will be demonstrating its real-time publish/subscribe middleware based on the Data Distribution Service (DDS) standard. DDS dramatically reduces software lifecycle costs by making it easy to develop, integrate and scale distributed real-time applications. DDS applications are loosely coupled and can communicate seamlessly across platforms, programming languages and network transports (including shared memory, backplane, LAN, WAN, wireless and satellite links). Supported operating systems include VxWorks, VxWorks MILS 2.0, Linux, Windows, Solaris and AIX. A small-footprint version is available for systems that require DO-178B certification.
So, what is RTI Routing Service? In a nutshell, Routing Service provides high-performance real-time data forwarding and transformation across DDS Domains, Communities of Interests and Wide Area Networks (WANs) including firewall and NAT traversal. With its plug-in architecture to accommodate new transports and bridging functionality, it has been designed from the ground up to meet custom integration requirements, such as: Bridging between new DDS applications and legacy systems; and Increasing data security by controlled information flows. With the help of our Services team, custom integrations can be easily created and with low risk. My colleague Gordon will explain this further in a little while. As we’re introducing our edition-based packaging, Routing Service will be available as a component of the new RTI Enterprise Edition. Later we’ll give details about how to get access to Enterprise Edition and Routing Service at a significant discount.
Hands-On: show rtiddsgen –help output
Short, easy to write Efficient, OMG standard
AUTOCOMPLETION XML friendly, easy to extend More powerful
First step to interoperate with WS Some customers have a lot of sources in XSD or WSDL
This is a great tool for seeing the organization of your distributed environment. Having the ability to change QoS settings on the fly and observing how they impact the overall environment is extremely useful Having the ability to determine “WHY” a DataWriter is not talking to a specific DataReader is also very beneficial. This has the ability to show both Node views and Topic views of the system.
Note: only one document can be specified with the string_profile variable
How it is realized http directly to the data bus
RTI is your best partner for a successful DDS deployment: Broadly proven commercial technology >11 years of commercial availability RTI is the de facto standard, with >70% market share Selected for nearly 500 unique applications – many mission critical – many deployed Industry-leading expertise and services capability We know the DDS standard better than anyone We have the most experience putting DDS to use in real applications We have a large team of senior, experienced engineers at your disposal to allow you to leverage our expertise: whether for training, consulting or as a partner in your development Corporate focus and commitment All of RTI’s technology is built on DDS – we are completely committed to it – we sold off our non-DDS business Proven, financially strong DDS business DDS is not acquired or peripheral technology that we could drop or dispose of if it became financially expedient Comprehensive infrastructure built around DDS DDS is only part of your infrastructure and application – RTI provides the most comprehensive overall solution to your real-time application and data management requirements Development tools, database integration, real-time data recording, Complex Event Processing, real-time data visualization dashboards Plus the largest set of partners for additional capabilities like modeling, high-performance transports, real-time operating systems and JVMs Superior architecture and implementation Significantly higher performance: lower latency and higher throughput with less overhead on your compute resources Much more fault tolerant and highly available, with no single points of failure and full redundancy for all services Most flexibility for supporting additional transports, legacy or other non-DDS data types, and custom discovery requirements, Best suited for resource-limited embedded systems Broadest availability across enterprise and embedded platforms Quality by design Mature, formal processes for design, development and Quality Assurance Invest in comprehensive user documentation Proof point: 98% customer satisfaction - extraordinary in any industry In summary, RTI provides: Highest performance and fault tolerance – because of our superior peer-to-peer architecture Fastest time-to-market Leveraging our training, consulting, engineering services and high-quality support organization Superior documentation Most complete infrastructure Flexible implementation Lowest risk Proven commercial technology Most experience and expertise with successful DDS deployment Quality processes and support Corporate focus and commitment to DDS