SlideShare a Scribd company logo
The Real-Time
Middleware Experts
Easing Integration of Large-Scale
Real-Time Systems with DDS
Rick Warren, Principal Engineer rick.warren@rti.com
Introduction
 Rick Warren
– Principal Engineer; with RTI since 2001
– Engineering organization; previously Professional Services
– Together with CTO, lead RTI’s Object Management Group
(OMG) initiatives
– Passionate about systems integration, standards, and usability
 This Presentation
– Large-scale design patterns for integrating heterogeneous
distributed systems
– Part 1: Architecture and requirements
– Part 2: Addressing Part 1 with OMG DDS
© 2010 Real-Time Innovations, Inc. 2
RTI: The Global Leader in DDS
 70%+ worldwide DDS market share
 First with…
– DDS API (2004)
– DDS-RTPS interoperability protocol
(2007) — based on RTI’s native protocol
 Most mature solution
– 12+ years of commercial availability
– Technology Readiness Level (TRL) 9:
successful mission operations
– Diverse range of industries: defense, finance, medical,
industrial control, power generation, communications
– 300+ commercial customers, 100+ research projects
– 100,000+ licensed copies
 Leading OMG standardization
– Board of Directors member
– Co-chair DDS Special Interest Group
– Chair several DDS standard finalization, revision task forces
© 2010 Real-Time Innovations, Inc. 3
© 2010 Real-Time Innovations, Inc. 4
Customer Application Highlights
Weapon System
Lockheed Martin Aegis
Radar, weapons, displays, C2
Unmanned Air System
Boeing ScanEagle
Sensors, ground station
Control System
Grand Coulee Dam: largest
electricity producer in US
Controls, high availability
Driver Safety
Volkswagen
Vision systems, analysis,
driver information systems
Medical Imaging
NMR and MRI
Sensors, RF generators, user
interface, control computers
Automated Trading
Automated Trading Desk
(ATD, now Citigroup)
Market data feed handlers,
pricing engines, algorithmic
trading applications
What do I mean by “large system”?
 Systems of systems
– Modular, hierarchical design
– Legacy components,
subsystems
– Multiple technologies
– Global scale
 Decoupled subsystem
lifecycles
– Independent development
– Independent deployment
and use
– Independent management
– Independent revision and
retirement
 Multiple communities of
interest
– Different data interest,
entitlements
– Non-uniform levels of trust
© 2009 Real-Time Innovations, Inc. 5
LAN
DDS #1
(Initech)
JMS
(Dunder
Mifflin)
DDS #2
(Acme)
Legacy
(COBOL ‘R’
US)
Satellite
Links
What matters to integrators of large systems?
 Governance (including over security)
– What information will be exchanged?
– Under what conditions will it be exchanged?
– Who is allowed to exchange this information?
– If these SLAs are violated, can the exchange be prevented?
Can I be notified?
– (In the past, what has occurred wrt these SLAs?)
 Isolation
– When I connect A and B, ensure they don’t break (each other)
– When I disconnect A, ensure B doesn’t break
– When I connect C, don’t change A or B
 Scalability (like in any system,
 Fault Tolerance but stakes are higher)
© 2009 Real-Time Innovations, Inc. 6
Part 1: Architecture
(we’ll get to technology later)
© 2010 Real-Time Innovations, Inc. 7
System
Component
Component
Component
Class
A Modest Proposition
© 2009 Real-Time Innovations, Inc. 8
State
Behavior
Class
 Fundamental design principles scale
– Abstraction: Provide interface based on relevant concepts
– Encapsulation: Hide internal implementation, communication
– Composition: Combine existing capabilities into new ones
Subsystem 2
P P
PP P
Subsystem 1
P P
PP P
Schematic of a Composed System
 Subsystems may have different network environments
 Integration may have different network environment
than subsystems themselves
 Data may need to be transformed / cleansed as it
moves among subsystems
 Routing / gateway services will adapt data types /
formats / protocols
LAN LAN
WAN
Router/G
ateway
Router/G
ateway
Isolation
Additional
Governance
Schematic of a Composed System
 Wash, rinse, repeat
Subsystem 1
P P
PP P
Subsystem 2
P P
PP P
Router/G
ateway
Router/G
ateway
© 2010 Real-Time Innovations, Inc. 10
Same data model?
Same network env.?
Same lifecycle?
Behavior unaffected?
Understandable?
Apples and Oranges
P P
PP P
Subsystem 1 + Subsystem 2
P P
PP P
Subsystem 2
P P
PP P
Subsystem 1
P P
PP P
Router/
Gateway
Router/
Gateway
Nothing New Under the Sun
© 2009 Real-Time Innovations, Inc. 12
Subsystem
Data Space
Subsystem
Data Space
Subsystem
Data Space
Integration
Data Space
Router/
Gateway
Router/
Gateway
Router/
Gateway
Nothing New Under the Sun
© 2010 Real-Time Innovations, Inc. 13
U.S. Combat
Data Space
Allied Combat
Data Space
U.S. C4I
Data Space
Integration
Data Space
Router/
Gateway
Router/
Gateway
Router/
Gateway
Defense
Industry
Nothing New Under the Sun
© 2010 Real-Time Innovations, Inc. 14
NYC Trading
Data Space
London Trading
Data Space
Tokyo Trading
Data Space
Integration
Data Space
Router/
Gateway
Router/
Gateway
Router/
Gateway
Financial
Services
Industry
Nothing New Under the Sun
© 2010 Real-Time Innovations, Inc. 15
Generation
Data Space
Substation #1
Data Space
Substation #2
Data Space
Integration
Data Space
Router/
Gateway
Router/
Gateway
Router/
Gateway
Power
Industry
Architecture Recap
 Solve big problems
like you solve small
ones
– Break them into
pieces
– Define interfaces
between pieces
– Implement each piece
– Integrate along the
interfaces
 Translation
– Define subsystems
– Implement them
however you like
• May have different
requirements, therefore
technology
– Router/gateway
defines/enforces
interfaces
© 2010 Real-Time Innovations, Inc. 16
Fault Tolerance and Scalability
 Fault tolerance: Router/gateway can’t be single point of
failure. 3 answers:
1. Persistent data survives system failures
2. Segmented/load-balanced configuration limits scope of failures
3. Redundancy allows continued service during failure
 Scalability: How big can a subsystem be?
1. How big a subsystem can you understand, test, and debug?
2. How well does infrastructure scale?
© 2010 Real-Time Innovations, Inc. 17
Part 2: DDS
© 2010 Real-Time Innovations, Inc. 18
DDS Is Open Architecture
 OMG standard for data-centric
publish-subscribe communication
 Vendor independent
– API for portability
– Network protocol for interoperability
 8+ implementations
– Commercial, open-source, and
hybrid licenses
 Supports heterogeneous
systems
– C, C++, C#/.NET, Java, Ada, …
– Windows, Linux and other Unix,
embedded, RTOS
Real-Time
Publish-Subscribe
Protocol (DDS-RTPS)
Middleware
DDS API
Cross-vendor portability
Cross-vendor interoperability
© 2010 Real-Time Innovations, Inc. 19
Example: Data-Centric Track Data
© 2009 Real-Time Innovations, Inc. COMPANY CONFIDENTIAL 20
Publish
Subscribe
Data Schema
x : float
y : float
id : string (key)
New
45.6
78.9
“AA123”
Update
56.7
89.0
“AA123”
New
65.4
32.1
“DL987”
Dispose
“AA123”
X
Map this into XML; rows + cols
Express content-based filters
Propagate data efficiently
Example: Data-Centric Track Data
© 2009 Real-Time Innovations, Inc. COMPANY CONFIDENTIAL 21
Publish
Subscribe
Data Schema
x : float
y : float
id : string (key)
Quality of Service
Deadline
Time-Based
Filter
History
 Once infrastructure understands objects, can attach
QoS contracts to them
 “Keep only the latest value” or “I need updates at
this rate” make no sense unless per-object
– Flight AA123 updates shouldn’t overwrite DL987, even if
AA123 is updated more frequently
– Update rate for one track shouldn’t change just because
another track appeared
Analysis by U.S. Armed Services
NESI, P1190 rev 3, http://nesipublic.spawar.navy.mil/nesix/Frames/P1190
© 2010 Real-Time Innovations, Inc. 22
Adapted from NSWC-DD OA Documentation
How Does DDS Stack Up?
 Governance
– Structural SLA: data type
– Behavioral SLA: delivery QoS
– Security
– Problem
detection/prevention/notification
– System monitoring and recording
 Isolation
– Prevent data “leaks” and side
effects
– Allow dynamic (dis-|re-)connection
– Support independent integration
and evolution
 Fault tolerance
– Data persistence
– Segmented/load-balanced routing
– Redundant routing
 Scalability
– WAN, DIL connectivity
– Peer-to-peer communication
– Brokered/managed communication
– Built in
– Built in
– Products available; future standards
– Built in
– Products available
– Built in: domains, partitions
– Built in
– Built in, esp. w/ DDS-XTypes spec
– Built in
– Built in if router uses DDS
– Built in if router uses DDS
– Products available; future standards
– Highly scalable
– Protocol support if necessary
© 2010 Real-Time Innovations, Inc. 23
DDS Scalability: Two Aspects
1. Application data
– How does performance fall off as # participants, writers,
readers increase?
– Any single writer/reader pair can saturate gig-E:
achieving high aggregate throughput is not main issue
– Interesting issue: Fan-out – number of readers per writer
2. Discovery
– How many DDS applications can discover one another?
– Interesting issue: How many applications need to discover
one another?
 Hard limits, if any, very dependent on DDS implementation,
machine configuration, network, etc.
– Following results based on RTI on modern commodity HW
© 2010 Real-Time Innovations, Inc. 24
1. DDS Scalability: Application Data
 DDS-RTPS reliable multicast scales at least:
– …to hundreds of readers per writer
– …with very little degradation in throughput.
– Larger testing facilities welcomed. 
© 2010 Real-Time Innovations, Inc. 25
< 15% decrease
1~900 readers
RTI Data Distribution Service 4.3
Red Hat EL 5.0, 32-bit
2.4 GHz processors
Gigabit Ethernet
UDP/IPv4
Reliable ordered delivery
2. DDS Scalability: P2P Discovery Scenarios
 Single domain, symmetric discovery
– Everyone discovers everyone else
– Easiest to configure; most challenging wrt scalability
– RTI test results: 1,800 participants; 3.2M endpoint matches
 Single domain, asymmetric discovery
– Each participant only knows of certain others in its domain
– Good for partitioning domains in which not everyone talks
 Multiple domains
– Greatest separation for subsystems that rarely exchange data
• DDS-RTPS maps to different IP ports
© 2009 Real-Time Innovations, Inc. 26
1
…
n
Summary: Large-Scale P2P Scalability
 Experimental results: DDS-RTPS allows participant to
talk to ≥ 1-2K others in single symmetric domain
 Implication: Compose arbitrarily large systems out of
subsystems this size or smaller
 Large (sub)systems often have requirements for:
– Increased governance, e.g. over security boundaries
– Data transformation
– Protocol mediation
– These typically require data brokering anyway
© 2009 Real-Time Innovations, Inc. 27
Geographic Scalability: WAN Transport
 Site-to-site comms need DDS across WAN(s)
– Including untrusted networks
– Including firewall, NAT traversal
– Challenge: UDP may not be routable, especially if multicast
 Standard DDS-RTPS protocol designed for layering
atop diverse lower-level protocols
– RTI supports:
• Shared memory for performance on a single machine
• UDP (unicast, multicast) for scalability, determinism w/in LAN
• TCP for routing across WAN
• (D)TLS for transport-level security
• etc.
• …simultaneously
© 2010 Real-Time Innovations, Inc. 28
Geographic Scalability: DIL Transport
 DDS is also great on disadvantaged networks
– DDS QoS provide tunable behavior, performance
– DDS-RTPS protocol encapsulates data efficiently w/ CDR
© 2010 Real-Time Innovations, Inc. 29
Source:
• SELEX-SI/
Consorzio SESM/
University of Naples
• “Flexible
Communication
Among DDS
Publishers and
Subscribers”
• July 2008, Real-
Time Systems
Workshop,
Washington, DC
10x more compact
than XML or JSON
Geographic Scalability: DIL Transport
 DDS is also great on disadvantaged networks
– DDS QoS provide tunable behavior, performance
– DDS-RTPS protocol encapsulates data efficiently w/ CDR
© 2010 Real-Time Innovations, Inc. 30
Source:
• SELEX-SI/
Consorzio SESM/
University of Naples
• “Flexible
Communication
Among DDS
Publishers and
Subscribers”
• July 2008, Real-
Time Systems
Workshop,
Washington, DC20x faster
RTI Routing Service:
Integrating Non-DDS Applications
 Adapt to other protocols and interfaces
 Adapter SDK with customizable plugins
– JMS
– Socket
– File
 Take advantage of Routing
Service capabilities
– Data transformation and filtering
– Data life-cycle management
– Cross networks, transports
and platforms
– Dynamic discovery
DDS
Plug-in
Adapters
© 2010 Real-Time Innovations, Inc. 31
Recap
 Large systems usually composed of smaller systems
– Developed independently
– …With different network environments
– …And different data interest/entitlements
 Not an accident: hierarchical design is a best practice
at any scale
– Subsystems managed by router/gateway
• Restrict access to internal topics/flows
• Mediate internal/external protocols
• Transform/cleanse internal/external data types
• Impose governance: enforce policy, attach monitoring
– Inter-router integration space is itself a “subsystem” for further
hierarchical composition
© 2010 Real-Time Innovations, Inc. 32
Recap
 DDS is uniquely qualified to meet these needs
– Strong SLAs for governance
– Multiple topologies for fault-tolerant subsystem isolation
– High-performance, scalable, deterministic interoperability
in various network environments
– What other standard technology offers this combination?
(Not JMS. Not CORBA. Not AMQP. Not web services. …)
© 2010 Real-Time Innovations, Inc. 33
Next Steps
 Free software downloads
– www.rti.com/downloads
– Product evaluation:
full RTI Professional Edition
• Free trial with comprehensive tutorial
• Free licenses for research & academia
• Includes:
– Leading DDS implementation
– Data recording
– System monitoring and debugging
– Integrates with JMS, databases,
Microsoft Excel
– More
– Shapes demo: no coding required
 Videos, webinars, and whitepapers
– www.rti.com/resources
© 2010 Real-Time Innovations, Inc. 34

More Related Content

What's hot (19)

PDF
NMS Projects and POCs completed and ongoing for OSS NAM v 1.5 Linkedin
Javier Guillermo, MBA, MSc, PMP
 
PDF
Software Defined Networks Explained
CM Research
 
PDF
DDS Interoperability Demo 2013 (Washington DC)
Gerardo Pardo-Castellote
 
PDF
08 sdn system intelligence short public beijing sdn conference - 130828
Mason Mei
 
PDF
Mobile World Congress 2017 - Creating Agility & Efficiency at Scale: New Econ...
Mehdi Sif
 
PPTX
Software-Defined Networking (SDN): Unleashing the Power of the Network
Robert Keahey
 
PDF
Virtualizing network services
Bootcamp SCL
 
PPTX
Simware RTI: Hello World!
Jose Carlos Diaz
 
PDF
OMG DDS: The Data Distribution Service for Real-Time Systems
Angelo Corsaro
 
PDF
Bringing Cloud Scale Efficiency to Communication Services Providers through R...
Radisys Corporation
 
PDF
Senza Fili Leveraging802.16e Wi Max 091111
Monica Paolini
 
PDF
Introducing the OMG DDS to the Aerospace Valley
Angelo Corsaro
 
PDF
Vortex II -- The Industrial IoT Connectivity Standard
Angelo Corsaro
 
PDF
The Abstracted Network for Industrial Internet
MeshDynamics
 
DOCX
Lon cv network_10072013
nmeadows
 
PDF
Outdoor Mesh Wireless Networks
Logicalis Latam
 
PDF
Delivering Carrier Grade OCP for Virtualized Data Centers
Radisys Corporation
 
PDF
UML Profile for DDS
Angelo Corsaro
 
PDF
Текущее состояние рынка SDN/NFV и Huawei на нём. Взгляд с трех основных напра...
ARCCN
 
NMS Projects and POCs completed and ongoing for OSS NAM v 1.5 Linkedin
Javier Guillermo, MBA, MSc, PMP
 
Software Defined Networks Explained
CM Research
 
DDS Interoperability Demo 2013 (Washington DC)
Gerardo Pardo-Castellote
 
08 sdn system intelligence short public beijing sdn conference - 130828
Mason Mei
 
Mobile World Congress 2017 - Creating Agility & Efficiency at Scale: New Econ...
Mehdi Sif
 
Software-Defined Networking (SDN): Unleashing the Power of the Network
Robert Keahey
 
Virtualizing network services
Bootcamp SCL
 
Simware RTI: Hello World!
Jose Carlos Diaz
 
OMG DDS: The Data Distribution Service for Real-Time Systems
Angelo Corsaro
 
Bringing Cloud Scale Efficiency to Communication Services Providers through R...
Radisys Corporation
 
Senza Fili Leveraging802.16e Wi Max 091111
Monica Paolini
 
Introducing the OMG DDS to the Aerospace Valley
Angelo Corsaro
 
Vortex II -- The Industrial IoT Connectivity Standard
Angelo Corsaro
 
The Abstracted Network for Industrial Internet
MeshDynamics
 
Lon cv network_10072013
nmeadows
 
Outdoor Mesh Wireless Networks
Logicalis Latam
 
Delivering Carrier Grade OCP for Virtualized Data Centers
Radisys Corporation
 
UML Profile for DDS
Angelo Corsaro
 
Текущее состояние рынка SDN/NFV и Huawei на нём. Взгляд с трех основных напра...
ARCCN
 

Similar to Easing Integration of Large-Scale Real-Time Systems with DDS (20)

PPTX
October Southern CA Road Shows - Build Safe and Secure Distributed Systems
Real-Time Innovations (RTI)
 
PPTX
DDS Enabling Open Architecture
Real-Time Innovations (RTI)
 
PPTX
Blueprint for the Industrial Internet: The Architecture
Real-Time Innovations (RTI)
 
PPTX
Fast RTPS: Programming with the Default Middleware for Robotics Adopted in ROS2
Jaime Martin Losa
 
PPTX
Build Safe and Secure Distributed Systems
Real-Time Innovations (RTI)
 
PPTX
Build Safe and Secure Distributed Systems
Real-Time Innovations (RTI)
 
PDF
Introduction to DDS: Context, Information Model, Security, and Applications.
Gerardo Pardo-Castellote
 
PPT
DDS 2010 Interoperability Demo
Angelo Corsaro
 
PPTX
MBSE meets Industrial IoT: Introducing the New MagicDraw Plug-in for RTI Co...
Istvan Rath
 
PDF
What's the Right Messaging Standard for the IoT?
Angelo Corsaro
 
PDF
FIWARE Wednesday Webinars - The Use of DDS Middleware in Robotics (Part 1)
FIWARE
 
PDF
Introduction to OMG DDS (1 hour, 45 slides)
Gerardo Pardo-Castellote
 
PPTX
Understanding the Internet of Things Protocols
Real-Time Innovations (RTI)
 
PPTX
The Inside Story: How OPC UA and DDS Can Work Together in Industrial Systems
Real-Time Innovations (RTI)
 
PPTX
Distributed Systems: How to connect your real-time applications
Jaime Martin Losa
 
PDF
DDS, the US Navy, and the Need for Distributed Software
Gerardo Pardo-Castellote
 
PPTX
Fiware - communicating with ROS robots using Fast RTPS
Jaime Martin Losa
 
PPTX
Fast RTPS Workshop at FIWARE Summit 2018
Jaime Martin Losa
 
PPT
DDS Interoperability Demo using the DDS-RTPS standard protocol 2010
Gerardo Pardo-Castellote
 
PPTX
Fiware: Connecting to robots
Jaime Martin Losa
 
October Southern CA Road Shows - Build Safe and Secure Distributed Systems
Real-Time Innovations (RTI)
 
DDS Enabling Open Architecture
Real-Time Innovations (RTI)
 
Blueprint for the Industrial Internet: The Architecture
Real-Time Innovations (RTI)
 
Fast RTPS: Programming with the Default Middleware for Robotics Adopted in ROS2
Jaime Martin Losa
 
Build Safe and Secure Distributed Systems
Real-Time Innovations (RTI)
 
Build Safe and Secure Distributed Systems
Real-Time Innovations (RTI)
 
Introduction to DDS: Context, Information Model, Security, and Applications.
Gerardo Pardo-Castellote
 
DDS 2010 Interoperability Demo
Angelo Corsaro
 
MBSE meets Industrial IoT: Introducing the New MagicDraw Plug-in for RTI Co...
Istvan Rath
 
What's the Right Messaging Standard for the IoT?
Angelo Corsaro
 
FIWARE Wednesday Webinars - The Use of DDS Middleware in Robotics (Part 1)
FIWARE
 
Introduction to OMG DDS (1 hour, 45 slides)
Gerardo Pardo-Castellote
 
Understanding the Internet of Things Protocols
Real-Time Innovations (RTI)
 
The Inside Story: How OPC UA and DDS Can Work Together in Industrial Systems
Real-Time Innovations (RTI)
 
Distributed Systems: How to connect your real-time applications
Jaime Martin Losa
 
DDS, the US Navy, and the Need for Distributed Software
Gerardo Pardo-Castellote
 
Fiware - communicating with ROS robots using Fast RTPS
Jaime Martin Losa
 
Fast RTPS Workshop at FIWARE Summit 2018
Jaime Martin Losa
 
DDS Interoperability Demo using the DDS-RTPS standard protocol 2010
Gerardo Pardo-Castellote
 
Fiware: Connecting to robots
Jaime Martin Losa
 
Ad

More from Rick Warren (20)

PPTX
Real-World Git
Rick Warren
 
PDF
Building Scalable Stateless Applications with RxJava
Rick Warren
 
PPTX
Letters from the Trenches: Lessons Learned Taking MongoDB to Production
Rick Warren
 
PPTX
Patterns of Data Distribution
Rick Warren
 
PPTX
Data-centric Invocable Services
Rick Warren
 
PDF
Engineering Interoperable and Reliable Systems
Rick Warren
 
PPTX
Scaling DDS to Millions of Computers and Devices
Rick Warren
 
PDF
DDS in a Nutshell
Rick Warren
 
PDF
Java 5 Language PSM for DDS: Final Submission
Rick Warren
 
PPTX
Java 5 PSM for DDS: Revised Submission (out of date)
Rick Warren
 
PPTX
C++ PSM for DDS: Revised Submission
Rick Warren
 
PPTX
Web-Enabled DDS: Revised Submission
Rick Warren
 
PPTX
Java 5 PSM for DDS: Initial Submission (out of date)
Rick Warren
 
PDF
Extensible and Dynamic Topic Types for DDS, Beta 1
Rick Warren
 
PPTX
Mapping the RESTful Programming Model to the DDS Data-Centric Model
Rick Warren
 
PPT
Data-Centric and Message-Centric System Architecture
Rick Warren
 
PPTX
Extensible and Dynamic Topic Types for DDS
Rick Warren
 
PPTX
Java 5 API for DDS RFP (out of date)
Rick Warren
 
PPTX
Extensible and Dynamic Topic Types for DDS
Rick Warren
 
PPT
Extensible and Dynamic Topic Types For DDS (out of date)
Rick Warren
 
Real-World Git
Rick Warren
 
Building Scalable Stateless Applications with RxJava
Rick Warren
 
Letters from the Trenches: Lessons Learned Taking MongoDB to Production
Rick Warren
 
Patterns of Data Distribution
Rick Warren
 
Data-centric Invocable Services
Rick Warren
 
Engineering Interoperable and Reliable Systems
Rick Warren
 
Scaling DDS to Millions of Computers and Devices
Rick Warren
 
DDS in a Nutshell
Rick Warren
 
Java 5 Language PSM for DDS: Final Submission
Rick Warren
 
Java 5 PSM for DDS: Revised Submission (out of date)
Rick Warren
 
C++ PSM for DDS: Revised Submission
Rick Warren
 
Web-Enabled DDS: Revised Submission
Rick Warren
 
Java 5 PSM for DDS: Initial Submission (out of date)
Rick Warren
 
Extensible and Dynamic Topic Types for DDS, Beta 1
Rick Warren
 
Mapping the RESTful Programming Model to the DDS Data-Centric Model
Rick Warren
 
Data-Centric and Message-Centric System Architecture
Rick Warren
 
Extensible and Dynamic Topic Types for DDS
Rick Warren
 
Java 5 API for DDS RFP (out of date)
Rick Warren
 
Extensible and Dynamic Topic Types for DDS
Rick Warren
 
Extensible and Dynamic Topic Types For DDS (out of date)
Rick Warren
 
Ad

Recently uploaded (20)

PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PPTX
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PPTX
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
PDF
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
PDF
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
PDF
Per Axbom: The spectacular lies of maps
Nexer Digital
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
The Future of Artificial Intelligence (AI)
Mukul
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
Per Axbom: The spectacular lies of maps
Nexer Digital
 

Easing Integration of Large-Scale Real-Time Systems with DDS

  • 1. The Real-Time Middleware Experts Easing Integration of Large-Scale Real-Time Systems with DDS Rick Warren, Principal Engineer [email protected]
  • 2. Introduction  Rick Warren – Principal Engineer; with RTI since 2001 – Engineering organization; previously Professional Services – Together with CTO, lead RTI’s Object Management Group (OMG) initiatives – Passionate about systems integration, standards, and usability  This Presentation – Large-scale design patterns for integrating heterogeneous distributed systems – Part 1: Architecture and requirements – Part 2: Addressing Part 1 with OMG DDS © 2010 Real-Time Innovations, Inc. 2
  • 3. RTI: The Global Leader in DDS  70%+ worldwide DDS market share  First with… – DDS API (2004) – DDS-RTPS interoperability protocol (2007) — based on RTI’s native protocol  Most mature solution – 12+ years of commercial availability – Technology Readiness Level (TRL) 9: successful mission operations – Diverse range of industries: defense, finance, medical, industrial control, power generation, communications – 300+ commercial customers, 100+ research projects – 100,000+ licensed copies  Leading OMG standardization – Board of Directors member – Co-chair DDS Special Interest Group – Chair several DDS standard finalization, revision task forces © 2010 Real-Time Innovations, Inc. 3
  • 4. © 2010 Real-Time Innovations, Inc. 4 Customer Application Highlights Weapon System Lockheed Martin Aegis Radar, weapons, displays, C2 Unmanned Air System Boeing ScanEagle Sensors, ground station Control System Grand Coulee Dam: largest electricity producer in US Controls, high availability Driver Safety Volkswagen Vision systems, analysis, driver information systems Medical Imaging NMR and MRI Sensors, RF generators, user interface, control computers Automated Trading Automated Trading Desk (ATD, now Citigroup) Market data feed handlers, pricing engines, algorithmic trading applications
  • 5. What do I mean by “large system”?  Systems of systems – Modular, hierarchical design – Legacy components, subsystems – Multiple technologies – Global scale  Decoupled subsystem lifecycles – Independent development – Independent deployment and use – Independent management – Independent revision and retirement  Multiple communities of interest – Different data interest, entitlements – Non-uniform levels of trust © 2009 Real-Time Innovations, Inc. 5 LAN DDS #1 (Initech) JMS (Dunder Mifflin) DDS #2 (Acme) Legacy (COBOL ‘R’ US) Satellite Links
  • 6. What matters to integrators of large systems?  Governance (including over security) – What information will be exchanged? – Under what conditions will it be exchanged? – Who is allowed to exchange this information? – If these SLAs are violated, can the exchange be prevented? Can I be notified? – (In the past, what has occurred wrt these SLAs?)  Isolation – When I connect A and B, ensure they don’t break (each other) – When I disconnect A, ensure B doesn’t break – When I connect C, don’t change A or B  Scalability (like in any system,  Fault Tolerance but stakes are higher) © 2009 Real-Time Innovations, Inc. 6
  • 7. Part 1: Architecture (we’ll get to technology later) © 2010 Real-Time Innovations, Inc. 7
  • 8. System Component Component Component Class A Modest Proposition © 2009 Real-Time Innovations, Inc. 8 State Behavior Class  Fundamental design principles scale – Abstraction: Provide interface based on relevant concepts – Encapsulation: Hide internal implementation, communication – Composition: Combine existing capabilities into new ones
  • 9. Subsystem 2 P P PP P Subsystem 1 P P PP P Schematic of a Composed System  Subsystems may have different network environments  Integration may have different network environment than subsystems themselves  Data may need to be transformed / cleansed as it moves among subsystems  Routing / gateway services will adapt data types / formats / protocols LAN LAN WAN Router/G ateway Router/G ateway Isolation Additional Governance
  • 10. Schematic of a Composed System  Wash, rinse, repeat Subsystem 1 P P PP P Subsystem 2 P P PP P Router/G ateway Router/G ateway © 2010 Real-Time Innovations, Inc. 10
  • 11. Same data model? Same network env.? Same lifecycle? Behavior unaffected? Understandable? Apples and Oranges P P PP P Subsystem 1 + Subsystem 2 P P PP P Subsystem 2 P P PP P Subsystem 1 P P PP P Router/ Gateway Router/ Gateway
  • 12. Nothing New Under the Sun © 2009 Real-Time Innovations, Inc. 12 Subsystem Data Space Subsystem Data Space Subsystem Data Space Integration Data Space Router/ Gateway Router/ Gateway Router/ Gateway
  • 13. Nothing New Under the Sun © 2010 Real-Time Innovations, Inc. 13 U.S. Combat Data Space Allied Combat Data Space U.S. C4I Data Space Integration Data Space Router/ Gateway Router/ Gateway Router/ Gateway Defense Industry
  • 14. Nothing New Under the Sun © 2010 Real-Time Innovations, Inc. 14 NYC Trading Data Space London Trading Data Space Tokyo Trading Data Space Integration Data Space Router/ Gateway Router/ Gateway Router/ Gateway Financial Services Industry
  • 15. Nothing New Under the Sun © 2010 Real-Time Innovations, Inc. 15 Generation Data Space Substation #1 Data Space Substation #2 Data Space Integration Data Space Router/ Gateway Router/ Gateway Router/ Gateway Power Industry
  • 16. Architecture Recap  Solve big problems like you solve small ones – Break them into pieces – Define interfaces between pieces – Implement each piece – Integrate along the interfaces  Translation – Define subsystems – Implement them however you like • May have different requirements, therefore technology – Router/gateway defines/enforces interfaces © 2010 Real-Time Innovations, Inc. 16
  • 17. Fault Tolerance and Scalability  Fault tolerance: Router/gateway can’t be single point of failure. 3 answers: 1. Persistent data survives system failures 2. Segmented/load-balanced configuration limits scope of failures 3. Redundancy allows continued service during failure  Scalability: How big can a subsystem be? 1. How big a subsystem can you understand, test, and debug? 2. How well does infrastructure scale? © 2010 Real-Time Innovations, Inc. 17
  • 18. Part 2: DDS © 2010 Real-Time Innovations, Inc. 18
  • 19. DDS Is Open Architecture  OMG standard for data-centric publish-subscribe communication  Vendor independent – API for portability – Network protocol for interoperability  8+ implementations – Commercial, open-source, and hybrid licenses  Supports heterogeneous systems – C, C++, C#/.NET, Java, Ada, … – Windows, Linux and other Unix, embedded, RTOS Real-Time Publish-Subscribe Protocol (DDS-RTPS) Middleware DDS API Cross-vendor portability Cross-vendor interoperability © 2010 Real-Time Innovations, Inc. 19
  • 20. Example: Data-Centric Track Data © 2009 Real-Time Innovations, Inc. COMPANY CONFIDENTIAL 20 Publish Subscribe Data Schema x : float y : float id : string (key) New 45.6 78.9 “AA123” Update 56.7 89.0 “AA123” New 65.4 32.1 “DL987” Dispose “AA123” X Map this into XML; rows + cols Express content-based filters Propagate data efficiently
  • 21. Example: Data-Centric Track Data © 2009 Real-Time Innovations, Inc. COMPANY CONFIDENTIAL 21 Publish Subscribe Data Schema x : float y : float id : string (key) Quality of Service Deadline Time-Based Filter History  Once infrastructure understands objects, can attach QoS contracts to them  “Keep only the latest value” or “I need updates at this rate” make no sense unless per-object – Flight AA123 updates shouldn’t overwrite DL987, even if AA123 is updated more frequently – Update rate for one track shouldn’t change just because another track appeared
  • 22. Analysis by U.S. Armed Services NESI, P1190 rev 3, http://nesipublic.spawar.navy.mil/nesix/Frames/P1190 © 2010 Real-Time Innovations, Inc. 22 Adapted from NSWC-DD OA Documentation
  • 23. How Does DDS Stack Up?  Governance – Structural SLA: data type – Behavioral SLA: delivery QoS – Security – Problem detection/prevention/notification – System monitoring and recording  Isolation – Prevent data “leaks” and side effects – Allow dynamic (dis-|re-)connection – Support independent integration and evolution  Fault tolerance – Data persistence – Segmented/load-balanced routing – Redundant routing  Scalability – WAN, DIL connectivity – Peer-to-peer communication – Brokered/managed communication – Built in – Built in – Products available; future standards – Built in – Products available – Built in: domains, partitions – Built in – Built in, esp. w/ DDS-XTypes spec – Built in – Built in if router uses DDS – Built in if router uses DDS – Products available; future standards – Highly scalable – Protocol support if necessary © 2010 Real-Time Innovations, Inc. 23
  • 24. DDS Scalability: Two Aspects 1. Application data – How does performance fall off as # participants, writers, readers increase? – Any single writer/reader pair can saturate gig-E: achieving high aggregate throughput is not main issue – Interesting issue: Fan-out – number of readers per writer 2. Discovery – How many DDS applications can discover one another? – Interesting issue: How many applications need to discover one another?  Hard limits, if any, very dependent on DDS implementation, machine configuration, network, etc. – Following results based on RTI on modern commodity HW © 2010 Real-Time Innovations, Inc. 24
  • 25. 1. DDS Scalability: Application Data  DDS-RTPS reliable multicast scales at least: – …to hundreds of readers per writer – …with very little degradation in throughput. – Larger testing facilities welcomed.  © 2010 Real-Time Innovations, Inc. 25 < 15% decrease 1~900 readers RTI Data Distribution Service 4.3 Red Hat EL 5.0, 32-bit 2.4 GHz processors Gigabit Ethernet UDP/IPv4 Reliable ordered delivery
  • 26. 2. DDS Scalability: P2P Discovery Scenarios  Single domain, symmetric discovery – Everyone discovers everyone else – Easiest to configure; most challenging wrt scalability – RTI test results: 1,800 participants; 3.2M endpoint matches  Single domain, asymmetric discovery – Each participant only knows of certain others in its domain – Good for partitioning domains in which not everyone talks  Multiple domains – Greatest separation for subsystems that rarely exchange data • DDS-RTPS maps to different IP ports © 2009 Real-Time Innovations, Inc. 26 1 … n
  • 27. Summary: Large-Scale P2P Scalability  Experimental results: DDS-RTPS allows participant to talk to ≥ 1-2K others in single symmetric domain  Implication: Compose arbitrarily large systems out of subsystems this size or smaller  Large (sub)systems often have requirements for: – Increased governance, e.g. over security boundaries – Data transformation – Protocol mediation – These typically require data brokering anyway © 2009 Real-Time Innovations, Inc. 27
  • 28. Geographic Scalability: WAN Transport  Site-to-site comms need DDS across WAN(s) – Including untrusted networks – Including firewall, NAT traversal – Challenge: UDP may not be routable, especially if multicast  Standard DDS-RTPS protocol designed for layering atop diverse lower-level protocols – RTI supports: • Shared memory for performance on a single machine • UDP (unicast, multicast) for scalability, determinism w/in LAN • TCP for routing across WAN • (D)TLS for transport-level security • etc. • …simultaneously © 2010 Real-Time Innovations, Inc. 28
  • 29. Geographic Scalability: DIL Transport  DDS is also great on disadvantaged networks – DDS QoS provide tunable behavior, performance – DDS-RTPS protocol encapsulates data efficiently w/ CDR © 2010 Real-Time Innovations, Inc. 29 Source: • SELEX-SI/ Consorzio SESM/ University of Naples • “Flexible Communication Among DDS Publishers and Subscribers” • July 2008, Real- Time Systems Workshop, Washington, DC 10x more compact than XML or JSON
  • 30. Geographic Scalability: DIL Transport  DDS is also great on disadvantaged networks – DDS QoS provide tunable behavior, performance – DDS-RTPS protocol encapsulates data efficiently w/ CDR © 2010 Real-Time Innovations, Inc. 30 Source: • SELEX-SI/ Consorzio SESM/ University of Naples • “Flexible Communication Among DDS Publishers and Subscribers” • July 2008, Real- Time Systems Workshop, Washington, DC20x faster
  • 31. RTI Routing Service: Integrating Non-DDS Applications  Adapt to other protocols and interfaces  Adapter SDK with customizable plugins – JMS – Socket – File  Take advantage of Routing Service capabilities – Data transformation and filtering – Data life-cycle management – Cross networks, transports and platforms – Dynamic discovery DDS Plug-in Adapters © 2010 Real-Time Innovations, Inc. 31
  • 32. Recap  Large systems usually composed of smaller systems – Developed independently – …With different network environments – …And different data interest/entitlements  Not an accident: hierarchical design is a best practice at any scale – Subsystems managed by router/gateway • Restrict access to internal topics/flows • Mediate internal/external protocols • Transform/cleanse internal/external data types • Impose governance: enforce policy, attach monitoring – Inter-router integration space is itself a “subsystem” for further hierarchical composition © 2010 Real-Time Innovations, Inc. 32
  • 33. Recap  DDS is uniquely qualified to meet these needs – Strong SLAs for governance – Multiple topologies for fault-tolerant subsystem isolation – High-performance, scalable, deterministic interoperability in various network environments – What other standard technology offers this combination? (Not JMS. Not CORBA. Not AMQP. Not web services. …) © 2010 Real-Time Innovations, Inc. 33
  • 34. Next Steps  Free software downloads – www.rti.com/downloads – Product evaluation: full RTI Professional Edition • Free trial with comprehensive tutorial • Free licenses for research & academia • Includes: – Leading DDS implementation – Data recording – System monitoring and debugging – Integrates with JMS, databases, Microsoft Excel – More – Shapes demo: no coding required  Videos, webinars, and whitepapers – www.rti.com/resources © 2010 Real-Time Innovations, Inc. 34

Editor's Notes

  • #4: TRL 9: Actual system proven through successful mission operations. Actual application of the technology in its final form and under mission conditions, such as those encountered in operational test and evaluation (OT&E). Examples include using the system under operational mission conditions.
  • #6: When I say “large” in this presentation, I’m primarily talking about complexity. I’m not talking primarily about a unified simple design that happens to have lots of participants in it. Same principles apply to defense systems, financial systems, power systems, industrial automation, etc.
  • #7: Care about lots of the same things as any system designers — functionality, performance, … — but care about certain things much more. Isolation relates to governance: making sure integration doesn’t violate SLAs
  • #8: This will eventually be a talk about DDS, but we’ll get to that later
  • #12: Integrating two subsystems with different data spaces is not the same as joining them into one data space. You will be tempted to just mush things together. (Just connect the network cable; it’s easy, right?) Beware that temptation. Are the different subsystems using the same structural and behavioral data model? Are the network environments the same? Do they evolve together? Suppose the answers are both Yes. Will they continue to be the same over time as the composed system evolves? Will the system behave the same when all the data is going to twice as many consumers? Can one team of people understand the design and operation of a now-much-more-complex single subsystem?
  • #13: Same principles apply in every industry
  • #14: Same principles apply in every industry
  • #15: Same principles apply in every industry
  • #16: Same principles apply in every industry
  • #18: 2 problem areas brought up before that we haven’t discussed yet. These will be bridge to technology-specific discussion in 2nd half.
  • #21: 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
  • #27: Test results from lab of hundreds of multi-core Linux machines connected by gigabit Ethernet