Advantages of DDS protocol | disadvantages of DDS protocol
This page covers advantages and disadvantages of DDS protocol used in IoT (Internet of Things). It mentions benefits or advantages of DDS protocol and drawbacks or disadvantages of DDS protocol.
What is DDS protocol?
DDS is the short form of Data Distribution Service which was developed and managed by OMG. It is an IoT standard used for high performance, low latency and real-time data communications for distributed applications. It uses publish/subscribe architecture where publishers create topics to which subscribers can use.
An application may be a publisher of data, a subscriber of data or both. It provides Dynamic Discovery of publishers and subscribers. Dynamic discovery makes DDS applications extensible. Refer DDS architecture working >> for more information.
The figure depicts DDS architecture which is fully distributed GDS (i.e. Global Data Space). It is fully distributed in order to avoid introduction of single point of failure or service interruptions. DDS makes use of brokerless architecture unlike MQTT and CoAP protocols.
Benefits or advantages of DDS protocol
Following are the benefits or advantages of DDS protocol:
➨DDS protocol provides flexible publish subscribe architecture which It is easy to adapt and extend DDS based systems to changing environments and requirements.
➨It uses powerful QoS mechanism.
➨It is scalable, extensible and efficient standard.
➨It is suitable for real-time IoT applications.
➨DDS supports interoperability from different vendors to communicate on the wire by using RTPS (Real Time Publish Subscribe) protocol.
➨DDS offers low latency communication architecture.
➨It offers secured connection using TLS, DTLS and DDS security mechanism.
Drawbacks or disadvantages of DDS protocol
Following are the drawbacks or disadvantages of DDS protocol:
➨It is too heavyweight to be used in embedded systems.
➨DDS does not interface with web services. To address this, OMG created and adopted a specification for web-enabled DDS. Through this interface, web application can be built which directly interacts with running DDS system using a gateway.
➨DDS consumes twice bandwidth than MQTT protocol.
➨QoS polices are only applied in strict DDS environment.
➨Events are originated per source in real-time and not from multiple sources.