Replies: 1 comment 1 reply
-
Hi @wddpfx , thanks for using Fast DDS. Although Data-sharing delivery uses shared memory, it differs from Shared Memory Transport in that Shared Memory is a full-compliant transport. That means that with Shared Memory Transport the data being transmitted must be copied from the DataWriter history to the transport and from the transport to the DataReader. With Data-sharing these copies can be avoided. Shared Memory Transport has the same behavior as UDP or TCP transport (data is serialized and encapsulated, with the amount of copies that this entails), but instead of writting/reading the final data from a socket, it writes/reads it from a memory segment. |
Beta Was this translation helpful? Give feedback.
-
There are three kind of transport:TCP、UDP and SHM.
we can use SHM in the same host. But there is DataSharing module.
we can transport data using DataSharing in the same host, just in form of CHANGE,without serializing or deserializing data by Message module.
so what is the meaning of SHM?
sorry my English is not good. Can I be understood?
Beta Was this translation helpful? Give feedback.
All reactions