Beruflich Dokumente
Kultur Dokumente
QoS Data
Topics
Writer TopicB
QoS
...
TopicC
Data Data
Writer Reader
Typ
S
float luminosity; Durability
Qo
long hue; ...
boolean on; e ”
};
#pragma keylist LightBulgState sn
Topic Instances
Topic may mark some of their
associated type attributes as key-
resource utilisation
Writes Reads
DataWriter DataReader
Matching Model
For data to flow from a
DataWriter (DW) to one or Domain Domain
* reads never block and a write will only block, depending on QoS settings if sufficient resources are not available
QoS Policies
DDS QoS Policies
DDS provides 20+ DURABILITY LIVELINESS DEST. ORDER TIME-BASED FILTER
data
RxO QoS Policies
DURABILITY
DEST. ORDER
offered RELIABILITY requested
QoS QoS
LATENCY BUDGET
DEADLINE
OWENERSHIP
LIVELINESS
PRESENTATION
QoS Policies
Domain Participant
DURABILITY
LIVELINESS
HISTORY
OWENERSHIP
LIFESPAN
OWN. STRENGTH
TIME-BASED FILTER
USER DATA
RESOURCE LIMITS
TOPIC DATA
GROUP DATA
DW LIFECYCLE
DR LIFECYCLE
ENTITY FACTORY
Immutable
QoS Policies
Topic
DURABILITY
LIVELINESS
HISTORY
OWENERSHIP
LIFESPAN
OWN. STRENGTH
TIME-BASED FILTER
USER DATA
RESOURCE LIMITS
TOPIC DATA
GROUP DATA
DW LIFECYCLE
DR LIFECYCLE
ENTITY FACTORY
Immutable
QoS Policies
Publisher
DURABILITY
LIVELINESS
HISTORY
OWENERSHIP
LIFESPAN
OWN. STRENGTH
TIME-BASED FILTER
USER DATA
RESOURCE LIMITS
TOPIC DATA
GROUP DATA
DW LIFECYCLE
DR LIFECYCLE
ENTITY FACTORY
Immutable
QoS Policies
Subscriber
DURABILITY
LIVELINESS
HISTORY
OWENERSHIP
LIFESPAN
OWN. STRENGTH
TIME-BASED FILTER
USER DATA
RESOURCE LIMITS
TOPIC DATA
GROUP DATA
DW LIFECYCLE
DR LIFECYCLE
ENTITY FACTORY
Immutable
QoS Policies
DataWriter
DURABILITY
LIVELINESS
HISTORY
OWENERSHIP
LIFESPAN
OWN. STRENGTH
TIME-BASED FILTER
USER DATA
RESOURCE LIMITS
TOPIC DATA
GROUP DATA
DW LIFECYCLE
DR LIFECYCLE
ENTITY FACTORY
Immutable
QoS Policies
Data Reader
DURABILITY
LIVELINESS
HISTORY
OWENERSHIP
LIFESPAN
OWN. STRENGTH
TIME-BASED FILTER
USER DATA
RESOURCE LIMITS
TOPIC DATA
GROUP DATA
DW LIFECYCLE
DR LIFECYCLE
ENTITY FACTORY
Immutable
QoS Categorisation
Data Delivery
Ownership
Reliability Ownership
Strength
Presentation
Temporal Properties
TimeBasedFilter Deadline
TransportPriority
Data Availability
History
Durabiliy
Service
Writer Cache
History Lifespan
Writer Data
Reliability
Lifecycle
Reader Cache
Destination Resource
Order
Reader Cache Limits
Reader Data
Lifecycle
QoS Semantics
History
History
The HISTORY QoS Policy
Cache
HISTORY T, DR, DW N N
Data Writer History
KeepLast(1)
DataReaders
under TRANSIENT_LOCAL KeepLast(3)
Durability time
KeepAll
HISTORY T, DR, DW N N
DataReader History
The DataReader HISTORY QoS KeepLast(1)
Policy controls how many
samples will be kept on the
time
Keep All. The DDS keep all the KeepAll
samples of each instance of data
identified by its key -- up to reaching
some configurable resource limits
QoS Policy Applicability RxO Modifiable
HISTORY T, DR, DW N N
History: Another Perspective
Transient Local. Data instance availability for late joining data reader
is tied to the data writer availability
DURABILITY T, DR, DW Y N
Volatile Durability
Data
No Time Decoupling
Readers get only data produced after they joined the Global Data Space
Volatile Durability Late Joiner
Data
Reader
Data
No Time Decoupling
Readers get only data produced after they joined the Global Data Space
Transient Local
Data
Data
Reader
Data
Data
Reader
Data
Reader
Time Decoupling
Data availability is tied to the availability of the durability service
Transient Durability Late Joiner
Data
Reader
Data
Time Decoupling
Data availability is tied to the availability of the durability service
Transient Durability Late Joiner
Data
Reader
Data 1
Time Decoupling
Data availability is tied to the availability of the durability service
Transient Durability Late Joiner
Data
Reader
2 1
Time Decoupling
Data availability is tied to the availability of the durability service
Transient Durability Late Joiner
Data
Reader
2 1
Data
Reader
Late Joiner
Time Decoupling
Data availability is tied to the availability of the durability service
Reliability
RELIABILITY T, DR, DW Y N
Best Effort
RELIBILITY = BEST EFFORT
Notice that this kind of reliability behaves as a circuit breaker for slow
consumers
Reliable
RELIABILITY = RELIABLE
HISTORY = KEEP_ALL
OWNERSHIP STRENGTH
A non-zero latency-budget
allows a DDS implementation
to batch samples and improve
CPU/Network utilisation
DEADLINE T, DR, DW Y Y
Time-Based Filter
The Time Based Filter allows
TRANSPORT PRIO
RELIABILITY
DR LIFECYCLE
Topic QoS ENTITY FACTORY
Immutable
QoS Provider
Allo for deploy-time refinement of DDS QoS Policies
// QosProvider...
QosProvider qos_provider(
“file:///some/meaningful/path/qos.xml”,
“my-qos-profile");
PARTITION
TIME-BASED FILTER
RESOURCE LIMITS
These QoS Policies are often Immutable RxO QoS Local QoS
applied in synergies to
implement key patters
Copyright PrismTech, 2017