eprintid: 4443 rev_number: 6 eprint_status: archive userid: 408 dir: disk0/00/00/44/43 datestamp: 2021-05-15 02:49:55 lastmod: 2021-05-15 02:49:55 status_changed: 2021-05-15 02:49:55 type: article metadata_visibility: show creators_name: Pham, Manh Linh creators_name: Hoang, Tien Quang creators_name: Nguyen, Xuan Truong creators_id: linhmp@vnu.edu.vn creators_id: hoangtienquang@hpu2.edu.vn creators_id: nguyenxuantruong@hpu2.edu.vn title: Elasticity for MQTT Brokers in IoT Applications ispublished: pub subjects: IT divisions: FIMO divisions: fac_fit keywords: Elasticity, MQTT broker, Cloud computing, Internetof Things abstract: Many domains of human life are more and more impacted by applications of the Internet of Things (i.e., IoT). The embedded devices produce masses of data day after day requiring a strong network infrastructure. The inclusion of messaging protocols like MQTT is important to ensure as few errors as possible in sending millions of IoT messages. This protocol is a great component of the IoT universe due to its lightweight design and low power consumption. Distributed MQTT systems are typically needed in actual application environments because centralized MQTT methods cannot accommodate a massive volume of data. Although being scalable decentralized MQTT systems, they are not suited to traffic workload variability. IoT service providers may incur expense because the computing resources are overestimated. This points to the need for a new approach to adapt workload fluctuation. Through proposing a modular MQTT framework, this article provides such an elasticity approach. In order to guarantee elasticity of MQTT server cluster while maintaining intact IoT implementation, the MQTT framework used off-the-shelf components. The elasticity feature of our framework is verified by various experiments. date: 2021-04-27 date_type: published publisher: Vietnam Ministry of Information and Communications official_url: https://ictmag.vn/ict/article/view/953/474 id_number: 10.32913/mic-ict-research.v2020.n2.941 contact_email: linhmp@vnu.edu.vn full_text_status: none publication: Journal of Research and Development on Information and Communication Technology volume: 2020 number: 2 pagerange: 61-73 refereed: TRUE issn: 1859-3534 related_url_url: https://ictmag.vn/ict/article/view/953 related_url_url: https://ictmag.vn/ict/issue/view/84 referencetext: [1] Sharma N., Panwar, D. (2020) “Green IoT: Advancements and Sustainability with Envi-ronment by 2050”. In: 8th International Conference on Reliability, Infocom Technologiesand Optimization (Trends and Future Directions) (ICRITO), Noida, India, pp. 1127-1132. [2] V. Turner, D. Reinsel, J.F. Gantz, S. Minton, “The Digital Universe of Opportunities: Rich Data and the Increasing Value of the Internet of Things”, IDC Report Apr. (2014). [3] MQ Telemetry Transport, ‘http://mqtt.org,” visited on Oct. (2020). [4] P. Mell and T. Grance, “The NIST definition of cloud computing”, NIST special publication, vol. 800, p. 145, (2011). [5] P. Th. Eugster, P. A. Felber, R. Guerraoui, A. Kermarrec, “The many faces of publish/subscribe”. ACM Comput. Surv. 35, 2 (June 2003), 114-131. [6] R. Kawaguchi, M. Bandai, “Edge Based MQTT Broker Architecture for Geographical IoT Applications”, 2020 International Conference on Information Networking (ICOIN), Barcelona, Spain, (2020), pp. 232-235. [7] V. Gupta, S. Khera, N. Turk, “MQTT protocol employing IOT based home safety system with ABE encryption”, Multimed Tools Appl (2020). [8] Mukambikeshwari, A. Poojary, “Smart Watering System Using MQTT Protocol in IoT, Advances in Artificial Intelligence and Data Engineering”. Advances in Intelligent Systems and Computing, vol 1133. Springer, Singapore (2020). [9] Y. C. See, E. X. Ho, “IoT-Based Fire Safety System Using MQTT Communication Protocol”, ijie, vol. 12, no. 6, pp. 207-215, Jul. (2020). [10] S. Nazir, M. Kaleem, “Reliable Image Notifications for Smart Home Security with MQTT”, International Conference on Information Science and Communication Technology (ICISCT), Karachi, Pakistan, (2019), pp. 1-5. [11] P. Alqinsi, I. J. M. Edward, N. Ismail, W. Darmalaksana, “IoT-Based UPS Monitoring System Using MQTT Protocols”, 4th International Conference on Wireless and Telematics (ICWT), Nusa Dua, (2018), pp. 1-5. [12] “Comparison of MQTT Brokers”, ‘https://tewarid.github.io/2019/03/21/comparisonof-mqtt-brokers.html,” visited on Oct. (2020). [13] M. Collina, G. E. Corazza, A. Vanelli-Coralli, “Introducing the QEST broker: Scaling the IoT by bridging MQTT and REST”, 2012 IEEE 23rd International Symposium on Personal, Indoor and Mobile Radio Communications - (PIMRC), Sydney, NSW, (2012), pp. 36-41. [14] A. Schmitt, F. Carlier, V. Renault, “Data Exchange with the MQTT Protocol: Dynamic Bridge Approach”, 2019 IEEE 89th Vehicular Technology Conference (VTC2019-Spring), Kuala Lumpur, Malaysia, (2019), pp. 1-5. [15] A. M. Zambrano V, M. Zambrano V, E.L.O. Mejia, X. Calderon H, SIGPRO: “A Real-Time Progressive Notification System Using MQTT Bridges and Topic Hierarchy for Rapid Location of Missing Persons”, in IEEE Access, vol. 8, pp. 149190-149198, 2020. [16] “The features that various MQTT servers (brokers) support”, ‘https://github.com/mqtt/mqtt.github.io/wiki/serversupport,” visited on Oct. (2020). [17] P. Jutadhamakorn, T. Pillavas, V. Visoottiviseth, R. Takano, J. Haga, D. Kobayashi, “A scalable and low-cost MQTT broker clustering system”, 2017 2nd International Conference on Information Technology (INCIT), Nakhonpathom, (2017), pp. 1-5. [18] Z. Y. Thean, V. Voon Yap, P. C. Teh, “Container-based MQTT Broker Cluster for Edge Computing”, 2019 4th International Conference and Workshops on Recent Advances and Innovations in Engineering (ICRAIE), Kedah, Malaysia, (2019), pp. 1-6. [19] A. Detti, L. Funari, N. Blefari-Melazzi, “Sub-Linear Scalability of MQTT Clusters in Topic-Based PublishSubscribe Applications”, in IEEE Transactions on Network and Service Management, vol. 17, no. 3, pp. 1954-1968, Sept. (2020). [20] M. H. Fourati, S. Marzouk, K. Drira and M. Jmaiel, “DOCKERANALYZER: Towards Fine Grained Resource Elasticity for Microservices-Based Applications Deployed with Docker”, 20th International Conference on Parallel and Distributed Computing, Applications and Technologies (PDCAT), Gold Coast, Australia, (2019), pp. 220-225. [21] R.R. Righi, E, Correa, M.M. Gomes, C.A. Costa, “Enhancing performance of IoT applications with load prediction and cloud elasticity”, Future Generation Computer Systems, Volume 109, (2020), Pages 689-701. [22] L. M. Pham and T. M. Pham, "Autonomic fine-grained migration and replication of component-based applications across multi-clouds," in Proc. of 2015 2nd National Foundation for Science and Technology Development Conference on Information and Computer Science (NICS), Ho Chi Minh City, pp. 5-10, 2015. [23] M. Nardelli, V. Cardellini, E. Casalicchio, “Multi-Level Elastic Deployment of Containerized Applications in Geo-Distributed Environments”, 2018 IEEE 6th International Conference on Future Internet of Things and Cloud (FiCloud), Barcelona, (2018), pp. 1-8. [24] V.F. Rodrigues, I.G. Wendt, R.R. Righi, C.A. Costa, J.L.V. Barbosa, A.M. Alberti, “Brokel: Towards enabling multi-level cloud elasticity on publish/subscribe brokers”, International Journal of Distributed Sensor Networks, vol. 13, no. 8, (2017). [25] S. Vavassori, J. Soriano, R. Fernandez, “Enabling Large-Scale IoT-Based Services through Elastic Publish/Subscribe”. Sensors (2017), 17, 2148. [26] “A distributed, reliable key-value store”, ‘https://etcd.io/docs/v3.4.0/,” visited on Oct. (2020). [27] D. Roure, C. Goble, “Software Design for Empowering Scientists”, IEEE Software, vol. 26, no. 01, pp. 88-95, (2009). [28] EMQX Broker, ‘https://docs.emqx.io/broker/latest/en/,’ visited on Oct. (2020). [29] Kubernetes, ‘https://kubernetes.io/,” visited on Oct. (2020). [30] HAProxy, ‘https://www.haproxy.com/solutions/loadbalancing/,” visited on Oct. (2020). [31] OpenStack: Open Source Cloud Computing Infrastructure, ‘https://www.openstack.org/,” visited on Oct. (2020). [32] OpenStack Heat, ‘https://docs.openstack.org/heat/latest/,” visited on Oct. (2020). [33] OpenStack Ceilometer, ‘https://docs.openstack.org/ceilometer/latest/,” visited on Oct. (2020). [34] OpenStack Aodh, ‘https://docs.openstack.org/aodh/latest/,” visited on Oct. (2020). [35] Gnocchi - Metric as a Service, ‘https://gnocchi.xyz/,” visited on Oct. (2020). [36] RabbitMQ, ‘https://www.rabbitmq.com/,” visited on Oct. (2020). [37] Apache Jmeter, ‘https://jmeter.apache.org/,” visited on Oct. (2020). [38] L.M. Pham, T.T. Nguyen, M.D. Tran, A “Benchmarking Tool for Elastic MQTT Brokers in IoT Applications”, International Journal of Information and Communication Sciences. Vol. 4, No. 4, (2019), pp. 59-67. funders: Graduate University of Science and Technology, Vietnam Academy of Science and Technology, 18 Hoang Quoc Viet,Cau Giay, Ha Noi, Vietnam projects: GUST.STS.ĐT2019-TT02 citation: Pham, Manh Linh and Hoang, Tien Quang and Nguyen, Xuan Truong (2021) Elasticity for MQTT Brokers in IoT Applications. Journal of Research and Development on Information and Communication Technology, 2020 (2). pp. 61-73. ISSN 1859-3534