A low-cost monitoring and data transfer system is needed that uses various protocols in the Internet of Things (IoT) technologies. Among the various available protocols for the transmission of messages such as hypertext transfer protocol (HTTP), constrained application protocol (CoAP), etc., message queuing telemetry transport (MQTT) is the most widely used protocol due to its lower power consumption. Further, broker selection is the foremost task in operating the MQTT-based algorithms used in the automation. Researchers have explored several brokers. After a rigorous analysis, the EMQX broker-based MQTT protocol is investigated to transfer the data between the clients efficiently. The implementation and performance analysis of the EMQX broker-based MQTT protocol is assessed in depth with respect to the published and subscribed rates of data packets. Furthermore, new metric sets i.e. average number of messages published and subscribed and messages received with actual QoS are represented and analyzed in combinations of different quality of services (QoSs) to publish and subscribe the data. The analysis shows the efficacy of the investigated protocol.
Read full abstract