Resource Limit QOS #4200
Replies: 1 comment
-
Hi @ussefdesouky, thanks for using Fast DDS. To understand it properly, let's define briefly what are samples and topic instances. A sample is a data-type message. Having the below IDL which represents a Temperature data-type, a sample is a sent/received piece of information structured in that data-type. An instance is a logical separation in a Topic. Topic instances share the data-type, but include a key to distinguish which is the related instance. "Let's say there is a Temperature topic where the data-types are temperature values represented in different units:"
"So a Datawriter can publish Temperature samples in different locations. Instances allow to use the same DataWriter to publish each of them. The same DataWriter publishes kitchen temperature, but also living room temperature. Kitchen and living room share data type, but they have that logical distinction." Then, the resource limits define the application behavior regarding the samples or instances management.
Controls the maximum number of samples that the DataWriter or DataReader can manage across all the instances associated with it. In other words, it represents the maximum samples that the middleware can store for a DataReader or DataWriter. Value 0 means infinite resources.
Controls the maximum number of instances that a DataWriter or DataReader can manage. Value 0 means infinite resources.
Controls the maximum number of samples within an instance that the DataWriter or DataReader can manage. Value 0 means infinite resources.
States the number of samples that will be allocated on initialization.
States the number of extra samples that will be allocated on the pool, so the maximum number of samples on the pool will be |
Beta Was this translation helpful? Give feedback.
-
Hello Fast-DDS Communtiy,
I created an idl message that includes the following:
and I need to a small brief on what are samples and what do they present, secondly how to calculate the resource limit qos wrt to this message and the effect on putting very small values and infinite values on the hw resources and on the data writers and data readers.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions