Response Time Analysis for RT-MQTT Protocol Grounded on SDN

Authors Ehsan Shahri , Paulo Pedreiras , Luis Almeida

Thumbnail PDF


  • Filesize: 1.09 MB
  • 15 pages

Document Identifiers

Author Details

Ehsan Shahri
  • Department of Electronics, Telecommunications and Informatics (DETI), University of Aveiro, Portugal
  • Institute of Telecommunications, Campus de Santiago, Aveiro, Portugal
Paulo Pedreiras
  • Department of Electronics, Telecommunications and Informatics (DETI), University of Aveiro, Portugal
  • Institute of Telecommunications, Campus de Santiago, Aveiro, Portugal
Luis Almeida
  • Research Center in Real-Time and Embedded Computing Systems (CISTER), Porto, Portugal
  • Faculty of Engineering, University of Porto (FEUP), Portugal

Cite AsGet BibTex

Ehsan Shahri, Paulo Pedreiras, and Luis Almeida. Response Time Analysis for RT-MQTT Protocol Grounded on SDN. In Fourth Workshop on Next Generation Real-Time Embedded Systems (NG-RES 2023). Open Access Series in Informatics (OASIcs), Volume 108, pp. 5:1-5:15, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2023)


The current industry trend is to replace the use of custom components with standards-based Commercially available Off-The-Shelf (COTS) based hardware and protocols. Furthermore, the emergence of new industrial paradigms, such as Industry 4.0 and the Industrial Internet of Things, sets additional requirements regarding e.g. scale, transparency, agility, flexibility and efficiency. Therefore, in these domains, application layer protocols such as Message Queuing Telemetry Transport protocol (MQTT) are gaining popularity, in result of their simplicity, scalability, low resource-usage and decoupling between end nodes. However, such protocols were not designed for real-time applications, missing key features such as determinism and latency bounds. A recent work proposed extending MQTT with real-time services, taking advantage of Software Defined Networking (SDN) to manage the network resource. These extensions allow applications to specify real-time requirements that are then captured by a resource manager and used to reserve the necessary resources at the network layer. This paper shows that such MQTT extended architecture is analyzable from a worst-case timing perspective. We derive a system model that captures the real-time features and we present a response-time analysis to assess the schedulability of the real-time traffic. Finally, we validate the analysis with a set of experimental results.

Subject Classification

ACM Subject Classification
  • Networks
  • Real-time systems
  • OpenFlow
  • fixed-priority non-preemptive scheduling
  • response time analysis
  • MQTT


  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    PDF Downloads


  1. What’s ryu. URL:
  2. M. Bala Krishna and Pascal Lorenz. Proactive replication scheme for resilient content delivery in software defined networks. In 2019 IEEE Global Communications Conference (GLOBECOM), pages 1-6, 2019. URL:
  3. Andrea Bianco, Robert Birke, Luca Giraudo, and Manuel Palacin. Openflow switching: Data plane performance. In 2010 IEEE International Conference on Communications, pages 1-5. IEEE, 2010. Google Scholar
  4. Reinder J Bril, Johan J Lukkien, and Wim FJ Verhaegh. Worst-case response time analysis of real-time tasks under fixed-priority scheduling with deferred preemption revisited. In 19th Euromicro Conference on Real-Time Systems (ECRTS'07), pages 269-279. IEEE, 2007. Google Scholar
  5. Reinder J Bril, Johan J Lukkien, and Wim FJ Verhaegh. Worst-case response time analysis of real-time tasks under fixed-priority scheduling with deferred preemption. Real-Time Systems, 42(1):63-119, 2009. Google Scholar
  6. Robert I Davis and Alan Burns. Response time upper bounds for fixed priority real-time systems. In 2008 Real-Time Systems Symposium, pages 407-418. IEEE, 2008. Google Scholar
  7. Yong-Seong Kim et al. MQTT Broker with Priority Support for Emerg. Events in IoT. Sensors and Materials, 2018. Google Scholar
  8. J Javier Gutiérrez, J Carlos Palencia, and Michael Gonzalez Harbour. Holistic schedulability analysis for multipacket messages in afdx networks. Real-Time Systems, 50(2):230-269, 2014. Google Scholar
  9. Hamidreza Kasaei and Mohammadreza Kasaei. Mvgrasp: Real-time multi-view 3d object grasping in highly cluttered environments. arXiv preprint, 2021. URL:
  10. Jean-Yves Le Boudec and Patrick Thiran. Network calculus: a theory of deterministic queuing systems for the internet. Springer, 2001. Google Scholar
  11. Roger A Light. Mosquitto: server and client implementation of the mqtt protocol. Journal of Open Source Software, 2(13), 2017. Google Scholar
  12. Jukka Mäki-Turja, Kaj Hänninen, and Mikael Sjödin. On sustainability for offset based response-time analysis. In 7th Conference on the Engineering of Computer Based Systems, pages 1-7, 2021. Google Scholar
  13. Steven Martin and Pascale Minet. Schedulability analysis of flows scheduled with fifo: application to the expedited forwarding class. In Proceedings 20th IEEE International Parallel & Distributed Processing Symposium, pages 8-pp. IEEE, 2006. Google Scholar
  14. Alessandro Massaro, Giuseppe Mastandrea, Luigi D'Oriano, Giuseppe Rocco Rana, Nicola Savino, and Angelo Galiano. Systems for an intelligent application of automated processes in industry: a case study from “pmi iot industry 4.0” project. In 2020 IEEE International Workshop on Metrology for Industry 4.0 IoT, pages 21-26, 2020. URL:
  15. Jun-Hong Park, Hyeong-Su Kim, and Won-Tae Kim. Dm-mqtt: An efficient mqtt based on sdn multicast for massive iot communications. Sensors, 18(9):3071, 2018. Google Scholar
  16. Changheon Oh Seongjin Kim. A Study on Method for Message Processing by Priority in MQTT Broker. JKIICE-Journal of the Korea Institute of Information and Communication Engineering, Jul. 2017. Google Scholar
  17. Lui Sha, Tarek Abdelzaher, Anton Cervin, Theodore Baker, Alan Burns, Giorgio Buttazzo, Marco Caccamo, John Lehoczky, Aloysius K Mok, et al. Real time scheduling theory: A historical perspective. Real-time systems, 28(2):101-155, 2004. Google Scholar
  18. Ehsan Shahri, Paulo Pedreiras, and Luis Almeida. Enhancing mqtt with real-time and reliable communication services. In 2021 IEEE 19th International Conference on Industrial Informatics (INDIN), pages 1-6. IEEE, 2021. Google Scholar
  19. Ehsan Shahri, Paulo Pedreiras, and Luis Almeida. Extending mqtt with real-time communication services based on sdn. In 2022 Sensor Applications in Industrial Automation (ISSN 1424-8220), pages 1-6. Sensors SAIA SI, 2022. Google Scholar
  20. OASIS Standard. Mqtt version 5.0. Retrieved June, 22:2020, 2019. Google Scholar
  21. Hiroshi Mineno Takuma Tachibana, Tetsuo Furuichi. Implementing and Evaluating Priority Control Mechanism for Heterogeneous Remote Monitoring IoT System. MOBIQUITOUS '16 Adjunct Proceedings, Hiroshima, Japan, December,01,2016. Google Scholar
  22. Xueqian Tang, Qiao Li, Guangshan Lu, and Huagang Xiong. A revised trajectory approach for the worst-case delay analysis of an afdx network. IEEE Access, 7:142564-142573, 2019. URL:
  23. Ken Tindell and John Clark. Holistic schedulability analysis for distributed hard real-time systems. Microprocessing and microprogramming, 40(2-3):117-134, 1994. Google Scholar
  24. Jorge Otávio Trierweiler. Real-time optimization of industrial processes. In Encyclopedia of Systems and Control, pages 1827-1836. Springer, 2021. Google Scholar
  25. Long Yan, Zexiong Luo, Xueqian Tang, and Yunwen Kong. Timing analysis of rate-constrained traffic in ttethernet using extended trajectory approach. In 2020 IEEE 6th International Conference on Computer and Communications (ICCC), pages 1039-1042. IEEE, 2020. Google Scholar
  26. Shen Yin, Juan J Rodriguez-Andina, and Yuchen Jiang. Real-time monitoring and control of industrial cyberphysical systems: With integrated plant-wide monitoring and control framework. IEEE Industrial Electronics Magazine, 13(4):38-47, 2019. Google Scholar
  27. Ting Zhang and Bin Liu. Exposing end-to-end delay in software-defined networking. International Journal of Reconfigurable Computing, 2019, 2019. Google Scholar
  28. Luxi Zhao, Paul Pop, and Silviu S. Craciunas. Worst-case latency analysis for ieee 802.1qbv time sensitive networks using network calculus. IEEE Access, 6:41803-41815, 2018. URL:
  29. Luxi Zhao, Paul Pop, Qiao Li, Junyan Chen, and Huagang Xiong. Timing analysis of rate-constrained traffic in TTEthernet using network calculus. Real-Time Systems, 53(2):254-287, March 2017. URL:
  30. Boyang Zhou, Isaac Howenstine, Siraphob Limprapaipong, and Liang Cheng. A survey on network calculus tools for network infrastructure in real-time systems. IEEE Access, 8:223588-223605, 2020. Google Scholar
Questions / Remarks / Feedback

Feedback for Dagstuhl Publishing

Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail