Implementation and analysis of EMQX broker for MQTT protocol in the Internet of Things
Monika Kashyap, Ansh Kumar Dev, Vidushi Sharma · e-Prime - Advances in Electrical Engineering Electronics and Energy · 2024
The current paper presents the analysis and real-time validation of the EMQX broker based MQTT protocol. The key contribution of this paper are as follows: • EMQX working has been outlined, and QoS service parameters are evaluated for QoS 0, QoS 1, and QoS 2. • Experimental results have been presented for the evaluation and validation of EMQX performance. • A metrics solution has been given for the QoS level received. Performance analysis of the metrics has been assessed. 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.