Maximum Message Size #3813
Unanswered
ussefdesouky
asked this question in
Q&A
Replies: 1 comment 1 reply
-
You may find of interest this comment. You need to differentiate between the different transport layers and protocols being used. 64kb is the UDP datagram maximum size. Fast DDS fragmentation protocol would kick in if your message size is bigger than that. On the other hand, IP protocol would fragment the UDP datagram in order to fit it within the network MTU. Consequently, there is no limit on the message size, though the bigger the message the more probable that a fragment (either from Fast DDS or IP protocol) is lost and the message is not received. But that depends completely on the network architecture and its reliability. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Community,
I want to know the message size limitations for all the transport layers(UDP, TCP, SHM & ZeroCopy). From the documentation I have seen that the maximum message size is 64Kb, but I have published an array of size [20446272] and it worked with the mentioned protocols, so I need to know what are the constraints or the points of failure when sending this size of arrays.
One more questions https://fast-dds.docs.eprosima.com/en/latest/fastdds/use_cases/large_data/large_data.html for the 15.3.6. Practical Examples it's mentioned that he is sending a file of 9mb and the message size is 64Kb so he needs 1100 fragment, but per my understanding the fragements = 9mb / 64kb = 156 fragments. That the message is divided into 156 fragment.
Correct me If I am wrong.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions