How to send large data (1mb-2mb) in a message

2 posts / 0 new
Last post
Offline
Last seen: 4 years 1 month ago
Joined: 05/21/2014
Posts: 46
How to send large data (1mb-2mb) in a message

I have an RTI DDS program that I would like to make its upper limit for data sent being between 1mb-2mb. I know that RTI has a limit by default which I believe is 9kb. 

How would I edit my QOS Policy file to allow the sending of 1mb-2mb files without any issues encountered?

 

This is my QOS File I currently have http://pastebin.com/3gBa00Fe Could not put in here or would trigger spam filter.

Gerardo Pardo's picture
Offline
Last seen: 1 month 1 hour ago
Joined: 06/02/2010
Posts: 601

Hi,

The UDP limitation is 64KB, but DDS can fragment and re-assamble larger data samples so there is no hard limit on the upper size of the data sent. However some Qos configurations can help make that more efficient and also control the bandwith used by those large data flows so that they do not starve other flows.

There is an example of how to send large data samples on the File Exchange bundle large_data.zip. This was built for an earlier version of Connext DDS (5.0) but it should be straighforward to adapt it to more recent versions of Connext DDS.

Note that in 5.2 and later there are also some builtin Qos profiles that address this problem. For example the one called "User.Generic.StrictReliable.LargeData.FastFlow"

Gerardo