Russian Federation
This article analyzes approaches to scaling the MQTT protocol and its modification, MQTT-SN, in machine-to-machine interaction systems. The architecture of the protocol, the publish/subscribe model, quality of service levels, packet structure, and issues related to the increasing number of devices and data volume are described. Problems such as broker overload and uneven load distribution are discussed. The analysis of scaling possibilities for the protocol is conducted, and architectural solutions are proposed to enhance its performance. The experimental part includes performance evaluation of the protocol through tests on bandwidth, packet loss, and latency under various loads. The results show that an increase in the number of devices leads to higher latencies and packet losses, highlighting the need for optimization. Recommendations for improving scalability are provided in conclusion.
MQTT, scalability, machine-to-machine interaction, data transmission protocol, message brokers, publish/subscribe model
1. MQTT Specification. URL: https://mqtt.org/mqtt-specification/ (data obrashcheniya: 02.10.2024).
2. Banks A., Briggs E., Borgendale K., Gupta R. MQTT Version 5.0. OASIS Standard, 7 March 2019.
3. Stanford-Clark A., Truong H.L. MQTT For Sensor Networks (MQTT-SN) Protocol Specification Version 1.2. IBM, 14 November 2013.
4. Yakupov D.R. Obzor i sravnenie protokolov interneta veshchej: MQTT i AMQP // International Journal of Open Information Technologies. 2022. № 9.
5. Dikij D.I., Artem'eva V.D. Protokol peredachi dannyh MQTT v modeli udalennogo upravleniya pravami dostupa dlya setej Interneta // Nauchno-tekhnicheskij vestnik informacionnyh tekhnologij, mekhaniki i optiki. 2019. № 1.
6. Kostennov T.V. Ob effektivnosti agregacii dannyh v setyah interneta veshchej s ispol'zovaniem protokola MQTT // MSiM. 2023. № 4 (68).
7. Kostennov T.V. Sravnenie protokolov svyazi dlya organizacii M2M-vzaimodejstvij v SCADA-sistemah i sistemah promyshlennogo interneta veshchej // MSiM. 2023. № 2 (66).
8. Kurmaev T.I. Sravnenie protokolov peredachi dannyh v internete veshchej // MNIZH. 2022. № 1-1 (115).
9. Bevilaqua B., Spohn M. Self-Managed Federation of MQTT Brokers with Dynamic Topology Control // Journal of Computer Science. 2023. Vol. 19. P. 1398–1409. DOI:https://doi.org/10.3844/jcssp.2023.1398.1409.
10. Sharma S., Peddoju S.K. Efficient Multi-Broker Load Balancing in Event Driven Pub-Sub Networks // IEEE Transactions on Network and Service Management. 2024. Vol. 21. № 4. P. 3861–3873. DOI:https://doi.org/10.1109/TNSM.2024.3401484.
11. Sharma A., Babbar H. Towards Resilient IoT Security: An Analysis and Classification of Attacks in MQTT-based Networks // 2024 2nd International Conference on Advancement in Computation & Computer Technologies (InCACCT). IEEE, 2024. P. 122–125.
12. Kotilevets I.D., Ivanova I.A., Romanov I.O. Implementation of directed acyclic graph in blockchain network to improve security and speed of transactions // IFAC-PapersOnLine. 2018. Vol. 51. Iss. 30. P. 693–696. DOI:https://doi.org/10.1016/j.ifacol.2018.11.213.
13. Kotilevec I.D., Ivanova I.A. Primenenie napravlennogo aciklicheskogo grafa v blokchejn seti dlya povysheniya bezopasnosti i skorosti tranzakcij v promyshlennosti // Promyshlennye ASU i kontrollery. 2019. № 1. P. 53–59.