MQTT-CB: Cloud Based Intelligent MQTT Protocol

Erol M. R., Bilen T., Özdem M., Canberk B.

9th EAI International Conference on Industrial Networks and Intelligent Systems, INISCOM 2023, Ho Chi Minh City, Vietnam, 2 - 03 August 2023, vol.531, pp.236-254 identifier

  • Publication Type: Conference Paper / Full Text
  • Volume: 531
  • Doi Number: 10.1007/978-3-031-47359-3_18
  • City: Ho Chi Minh City
  • Country: Vietnam
  • Page Numbers: pp.236-254
  • Keywords: AI, Cloud, Container, IoT, LSTM, MQTT, MQTT-ST
  • Istanbul Technical University Affiliated: Yes


The MQTT protocol, which stands for Message Queuing Telemetry Transport, is widely recognized within the IoT community as one of the most frequently utilized communication protocols. Conventional MQTT protocols described in the literature could improve their capacity to support distributed environments and scalability. In this manner, MQTT-ST is an advanced MQTT protocol that provides bridging capabilities within a distributed environment, making it a preferred option for IoT systems. In this study, we introduce a new, intelligent, scalable, and distributed MQTT-ST-based protocol named MQTT-CB. Our approach leverages containers to improve portability, and our protocol is designed with a cloud-based architecture that streamlines deployment. The primary contribution of our research is the integration of intelligent capabilities into the MQTT-ST protocol, utilizing an LSTM (Long Short-Term Memory) network, which is the leading deep learning model. Specifically, our protocol employs predictive algorithms to foresee retransmitted packets, dynamically adjusts the number of brokers in real-time, and reduces the number of brokers when clients are inactive. Our experiments demonstrate that our protocol significantly outperforms conventional MQTT-ST protocol regarding latency between subscribers and publishers. Furthermore, our protocol adapts seamlessly to changes in the publication rate. In summary, we present a cloud-based intelligent MQTT protocol that offers significant advantages over traditional MQTT-ST protocol.