Inferensys

Glossary

Data Distribution Service (DDS)

A middleware protocol and API standard for real-time, data-centric publish-subscribe communication, commonly used in autonomous systems and complex industrial applications requiring decentralized architecture.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
DECENTRALIZED REAL-TIME MIDDLEWARE

What is Data Distribution Service (DDS)?

A middleware protocol and API standard for real-time, data-centric publish-subscribe communication, commonly used in autonomous systems and complex industrial applications requiring decentralized architecture.

Data Distribution Service (DDS) is an Object Management Group (OMG) middleware standard that enables scalable, real-time, and high-performance data exchange between publishers and subscribers using a completely decentralized brokerless architecture. Unlike message-queuing protocols, DDS implements a data-centric publish-subscribe (DCPS) model where applications simply declare the data they publish or subscribe to, and the middleware automatically discovers peers and manages delivery with fine-grained Quality of Service (QoS) policies controlling reliability, durability, and latency.

DDS achieves determinism through the Real-Time Publish-Subscribe (RTPS) wire protocol, which handles automatic discovery, fault tolerance, and multicast distribution without a single point of failure. This makes it foundational for software-defined manufacturing automation, where virtualized controllers and digital twins require microsecond-level synchronization across distributed nodes, and for autonomous systems where dynamic peer-to-peer data sharing must occur without centralized orchestration.

ARCHITECTURAL PILLARS

Core Characteristics of DDS

The Data Distribution Service (DDS) is defined by a set of core architectural characteristics that distinguish it from message-centric middleware. These pillars enable the decentralized, real-time, and scalable data sharing required by autonomous industrial systems.

01

Data-Centric Publish-Subscribe (DCPS)

Unlike message-centric middleware that focuses on queues or topics, DDS is fundamentally data-centric. It manages a distributed Global Data Space where applications publish and subscribe to data objects identified by a Topic (a tuple of a data type and a set of Quality of Service policies).

  • Decoupled Discovery: Publishers and subscribers are anonymous and automatically discover each other via the Dynamic Discovery Protocol.
  • Schema-Based: Data structure is strictly defined using a platform-independent Interface Definition Language (IDL), ensuring type safety.
  • Selective Filtering: Subscribers can use Content-Filtered Topics and Query Conditions to receive only a subset of data based on its content, minimizing bandwidth.
No Broker
Architecture
02

Rich Quality of Service (QoS) Policies

DDS provides over 20 fine-grained Quality of Service (QoS) policies that allow developers to declaratively control every aspect of data delivery. This is the mechanism that makes DDS suitable for both lossy sensor streams and life-critical commands.

  • Reliability: Configure from Best-Effort (fire-and-forget) to Reliable (guaranteed delivery with acknowledgments).
  • Durability: Volatile (data lost when writer stops) to Transient/Persistent (data available to late-joining subscribers).
  • Liveliness: Defines how the system detects failed nodes by monitoring periodic heartbeats.
  • Deadline & Latency Budget: Specify maximum inter-arrival time and acceptable delivery delay, enabling preemptive resource allocation.
20+
QoS Policies
03

Fully Decentralized Architecture

DDS operates without any central broker, message router, or naming service. This peer-to-peer architecture eliminates single points of failure, bottlenecks, and round-trip latency penalties.

  • Automatic Discovery: Nodes use the Simple Discovery Protocol (SDP) to locate each other and negotiate matching Topics and QoS without manual configuration.
  • Direct Data Flow: Once matched, data flows directly from publisher to subscriber using shared memory, UDP unicast, or multicast.
  • Fault Tolerance: The lack of a central broker means the system continues to operate seamlessly even if multiple nodes fail, a critical requirement for autonomous vehicle and industrial control systems.
0
Single Points of Failure
04

Real-Time Determinism

DDS is engineered for hard real-time systems requiring predictable, bounded latency measured in microseconds. It achieves determinism through tight control over memory allocation and network scheduling.

  • Zero-Copy Reads: Data is stored in a pre-allocated shared memory segment, allowing subscribers to read directly without serialization/deserialization overhead.
  • Asynchronous Publishing: Writers can dispatch data without blocking, preventing slow subscribers from stalling critical control loops.
  • Transport Priority: QoS policies map directly to network-level priorities (e.g., DiffServ), ensuring that safety-critical messages preempt non-critical traffic on the wire.
< 100 µs
Typical Latency
05

Scalable Multicast and Data Routing

DDS efficiently distributes data to thousands of subscribers using intelligent network transport strategies, avoiding the fan-out limitations of TCP-based systems.

  • IP Multicast: A single packet is delivered to all subscribers on a network segment simultaneously, making data distribution constant-time regardless of subscriber count.
  • DDS Routing Service: For systems spanning WANs or firewalls, the Real-Time WAN Transport bridges DDS domains, intelligently forwarding only the data required by remote nodes.
  • Partitions: Publishers and subscribers can be logically segmented using string-based Partition QoS, creating isolated data buses within a single physical network.
10,000+
Nodes per Domain
06

Interoperability and Wire Protocol (RTPS)

DDS guarantees interoperability between different vendor implementations through the standardized Real-Time Publish-Subscribe (RTPS) wire protocol, defined by the OMG.

  • Vendor Agnostic: A publisher from Vendor A can communicate directly with a subscriber from Vendor B without any bridge or gateway.
  • Standardized Discovery: RTPS defines the exact binary format for participant discovery, endpoint matching, and data encapsulation.
  • DDS-XTypes: An extension that allows systems to evolve data schemas over time with versioning and optional fields, enabling Extensible and Dynamic Topic Types for long-lived industrial systems.
OMG Standard
Governance
DDS EXPLAINED

Frequently Asked Questions

Clear, technically precise answers to the most common questions about the Data Distribution Service standard and its role in real-time, decentralized industrial communication.

The Data Distribution Service (DDS) is a middleware protocol and API standard for data-centric, real-time publish-subscribe communication in distributed systems. It operates on a fully decentralized architecture with no message brokers or single points of failure. DDS works by creating a virtual Global Data Space where applications simply read and write data objects identified by a Topic and a Type. The middleware automatically handles discovery, serialization, delivery, and Quality of Service (QoS) enforcement. Publishers declare their intent to publish data on a Topic, Subscribers declare interest in that Topic, and the DDS implementation dynamically establishes direct, peer-to-peer communication paths between them. This data-centric model means the network understands the structure and meaning of the data itself, enabling intelligent filtering, caching, and transformation at the infrastructure level without application code.

DDS IN PRACTICE

Industrial and Autonomous System Use Cases

The Data Distribution Service (DDS) standard is the backbone of decentralized, real-time communication in environments where a single point of failure is unacceptable. These use cases highlight DDS's unique ability to provide data-centric, peer-to-peer connectivity for autonomous and high-stakes industrial systems.

01

Autonomous Maritime Fleets

Unmanned surface vessels (USVs) and autonomous underwater vehicles (AUVs) use DDS to form a decentralized mesh network for collaborative navigation and mission execution. Unlike centralized command-and-control, DDS allows each vessel to publish its telemetry and sensor tracks while subscribing only to relevant data from nearby platforms.

  • Dynamic Discovery: Vessels joining or leaving the swarm are automatically detected without manual reconfiguration.
  • QoS for Unreliable Links: DDS policies like RELIABILITY and HISTORY ensure critical collision-avoidance data is delivered even over acoustic modems with high latency and packet loss.
  • Real-world example: The NATO STANAG 4817 standard for naval systems mandates DDS for interoperable unmanned systems communication.
< 100 µs
Inter-node latency
Peer-to-Peer
Architecture
02

Space Robotics and Satellite Constellations

DDS serves as the software backbone for space robotics, including the NASA Mars Rover and European Space Agency satellite constellations. In space, the extreme physical distance and radiation-hardened hardware demand a communication middleware that operates without a central broker.

  • Fault Tolerance: The OWNERSHIP QoS policy allows a secondary robotic controller to automatically take over if the primary fails, critical for unreachable systems.
  • Bandwidth Optimization: Content-filtered topics ensure that a satellite only receives the specific telemetry commands intended for it, conserving precious downlink bandwidth.
  • Real-world example: NASA's Human Exploration Research Analog (HERA) uses DDS to simulate deep-space habitat automation and life support control.
Mars
Deployment Location
No Broker
Topology
03

Medical Robotics and Surgical Systems

Robot-assisted surgical platforms demand deterministic, high-speed data exchange between haptic feedback devices, high-definition 3D vision systems, and precision manipulators. DDS provides the microsecond-level coordination required for closed-loop motion control.

  • Partitioning: The PARTITION QoS physically isolates control traffic from monitoring data, ensuring a video streaming spike never starves a critical motor command.
  • Lifespan Management: The LIFESPAN QoS automatically purges stale sensor readings, preventing a robotic arm from acting on outdated position data.
  • Real-world example: Major medical device manufacturers use DDS to decouple surgical instrument drivers from the central processing unit, enabling modular, upgradeable systems.
< 1 ms
Control loop deadline
99.999%
Uptime requirement
04

Autonomous Driving and V2X Communication

In autonomous vehicle architectures, DDS connects the perception stack (LiDAR, radar, cameras) to the planning and actuation subsystems. It is also the foundational protocol for Vehicle-to-Everything (V2X) communication, enabling cars to share intent and sensor data directly.

  • Scalability: DDS's peer-to-peer model eliminates the server bottleneck, allowing thousands of vehicles in a dense urban environment to communicate without a central 5G edge node.
  • Extensible Types: The use of Interface Definition Language (IDL) allows automakers to evolve data models (e.g., adding a new sensor field) without breaking existing subscribers.
  • Real-world example: The AUTOSAR Adaptive Platform standardizes DDS as the primary communication framework for high-performance computing in next-generation vehicles.
10,000+
Concurrent nodes tested
Adaptive AUTOSAR
Standard
05

Defense and Combat Management Systems

Naval combat management systems (CMS) and ground-based air defense networks rely on DDS to create a single, consistent operational picture across geographically dispersed platforms. The data-centric model ensures every node sees the same tactical truth.

  • Information Assurance: DDS Security extensions provide authentication, encryption, and access control directly on the data bus, ensuring a compromised node cannot inject false tracks.
  • Redundancy: The OWNERSHIP_STRENGTH QoS allows multiple redundant radar systems to publish the same track, with the highest-fidelity signal automatically selected by subscribers.
  • Real-world example: The US Navy's Aegis Combat System and the General Dynamics UK Ajax armored vehicle program use DDS for real-time sensor-to-shooter data paths.
Data-Centric
Security Model
Multi-Domain
Classification support
06

Industrial Internet of Things (IIoT) and Smart Grids

DDS bridges the gap between operational technology (OT) and information technology (IT) in smart factories and energy grids. It provides a real-time data backbone that connects PLCs, SCADA systems, and cloud analytics without a hierarchical polling architecture.

  • Protocol Bridging: DDS Routing Service translates between legacy fieldbus protocols (Modbus, OPC UA) and the DDS global data space, enabling a Unified Namespace.
  • Load Balancing: The DURABILITY QoS ensures that late-joining monitoring applications receive the last known state of a wind turbine, even if they missed the initial publication.
  • Real-world example: Siemens uses DDS in its MindSphere platform for high-frequency data ingestion, and it is a core component of the Industrial Internet Consortium's (IIC) connectivity framework.
OT/IT
Convergence layer
IIC Framework
Standard
INDUSTRIAL CONNECTIVITY PROTOCOL COMPARISON

DDS vs. MQTT vs. OPC UA

Architectural and functional comparison of the three dominant middleware protocols for industrial data exchange, highlighting their distinct data-centric, broker-centric, and object-oriented design philosophies.

FeatureData Distribution Service (DDS)MQTT SparkplugOPC Unified Architecture (UA)

Architectural Pattern

Decentralized Data-Centric Publish-Subscribe (no broker)

Centralized Broker-Based Publish-Subscribe

Client-Server with optional Pub/Sub extension

Primary Standard Body

Object Management Group (OMG)

OASIS / Eclipse Foundation

OPC Foundation (IEC 62541)

Discovery Mechanism

Dynamic peer-to-peer discovery via Real-Time Publish-Subscribe protocol

Centralized broker topic subscription

Local Discovery Server (LDS) or Global Discovery Server (GDS)

Quality of Service (QoS)

Built-in Data Typing

Strongly typed via Interface Definition Language (IDL)

Schema-less (payload agnostic, relies on Sparkplug B encoding)

Strongly typed via OPC UA information model and address space

Transport Layer

UDP/IP multicast and unicast; TCP/IP

TCP/IP (MQTT); UDP/IP (MQTT-SN)

TCP/IP; HTTPS; WebSockets; UDP/IP (Pub/Sub extension)

Deterministic Delivery

Security Model

DDS Security (authentication, access control, encryption)

TLS/SSL for transport; broker authentication

UA Secure Conversation (authentication, signing, encryption) with X.509 certificates

Ideal Use Case

Autonomous systems, closed-loop control, and high-performance distributed simulation

Telemetry aggregation, SCADA cloud connectivity, and low-bandwidth IIoT

Platform-independent interoperability, device modeling, and vertical integration from sensor to ERP

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.