Limit resources for n-computers PreviousNext
Data Distribution Service (DDS) Forum > DDS Technical Forum >
Next message emrerc1903  posted on Monday, February 21, 2011 - 07:18 am

I have three computers that interact with each other using Open Splice DDS and I want to limit the total count of published instances.
There are three publishers and the total count of published instances should not exceed 100. To achieve that, I set the topic qos as following:

ResourceLimits.MaxSamplePerInstance = 1
ResourceLimits.MaxInstances = 100
ResourceLimits.MaxSamples = 100

But the qos allows 100 instances per publisher. By using that configuration the total count of instances (published from each publisher) can reach 300 and it is not desired.

Is it possible to limit the total count of published instances to a specific number as I mentioned?

Kind regards,

Next message Hans van 't Hag  posted on Friday, April 08, 2011 - 03:35 pm
Hi Emre,

The DDS specification addresses resource-limits 'per' reader/writer (and durability-service)so there's currently nothing to limited the 'total' count of published instances over a distributed system of multiple applications that contain multiple domainParticipants for multiple Topics..

If you'd want that you'd need to implement some sort of 'centralized claim-instance' service that you then should 'ask for permission' to publish yet another (unique) instance of a topic .

Furthermore, make sure that you're not confusing samples and instances as its a common mistake ..

Back to top
Add Your Message Here
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Options: Post as "Anonymous"
Enable HTML code in message
Automatically activate URLs in message