Guaranteed Delivery of Data

Introduction

Some application scenarios need to ensure that the information produced by certain producers is delivered to all the intended consumers. This chapter describes the mechanisms available in Connext DDS to guarantee the delivery of information from producers to consumers such that the delivery is robust to many kinds of failures in the infrastructure, deployment, and even the producing/consuming applications themselves.

Guaranteed information delivery is not the same as protocol-level reliability (described in Reliable Communications) or information durability (described in Mechanisms for Achieving Information Durability and Persistence). Guaranteed information delivery is an end-to-end application-level QoS, whereas the others are middleware-level QoS. There are significant differences between these two:

The guaranteed data-delivery mechanism provided in Connext DDS overcomes the limitations described above by providing the following features:

These features used in combination with the mechanisms provided for Information Durability and Persistence (see Mechanisms for Achieving Information Durability and Persistence) enable the creation of applications where the information delivery is guaranteed despite application and infrastructure failures. Scenarios describes various guaranteed-delivery scenarios and how to configure the applications to achieve them.

When implementing an application that needs guaranteed data delivery, we have to consider three key aspects:

Key Aspects to Consider

Related Features and QoS

Identifying the required consumers of information

Required subscriptions

Durable subscriptions

EntityName QoS policy

Availability QoS policy

Ensuring the intended consumer applications process the data successfully

Application-level acknowledgment

Acknowledgment by a quorum of required and durable subscriptions

Reliability QoS policy (acknowledgment mode)

Availability QoS policy

Ensuring information is available to late joining applications

Persistence Service

Durable Subscriptions

Durability QoS

Durable Writer History

© 2018 RTI