DOI QR코드

DOI QR Code

A Study on Performance Analysis of a Messaging System in IoT Environments

IoT 환경에서의 메시징 시스템의 성능 분석에 관한 연구

  • Young-Dong Lee (Division of Smart Convergence Engineering, Changshin University)
  • 이영동 (창신대학교 스마트융합공학부 컴퓨터전공)
  • Received : 2023.05.17
  • Accepted : 2023.06.29
  • Published : 2023.06.30

Abstract

Internet of Things(IoT) technology is developing to a stage where the Internet and objects are connected and objects themselves analyze and judge data to interconnect the real world and the virtual world in real time. This technology consists of sensors, actuators, devices, and networks, and it is being applied in various fields. As the number of IoT devices and applications increases, data traffic also increases. In this paper, a messaging system is designed and implemented in order to analyze the performance between an IoT device and MQTT broker. The experimental was performed to measure MQTT-based round-trip time and message transmission time between the IoT device and the broker. The result shows that there is no packet loss, and propagation delay affects round-trip time.

IoT 기술은 인터넷과 사물이 연결되고, 사물 스스로가 데이터를 분석, 판단하여 실세계와 가상세계를 실시간으로 상호 연결하는 단계로 발전하고 있다. 이러한 IoT 기술은 센서, 액추에이터, 장치, 네트워크로 구성되어 다양한 분야에 적용되고 있으며, IoT 디바이스와 애플리케이션 수가 증가함에 따라 데이터 트래픽도 증가하고 있다. 본 논문에서는 IoT 환경에서의 IoT 디바이스와 브로커 간 성능 분석을 위해 IoT 디바이스에서 센서 데이터를 수집하고 MQTT 프로토콜을 통해 MQTT 브로커에 전달하는 시스템을 구현하였다. MQTT 기반 RTT 측정과 IoT 디바이스와 브로커 간 메시지 전송 시간을 측정하는 실험을 수행한 결과 패킷 손실은 발생하지 않았으며, 전파 지연이 RTT에 영향을 주는 것으로 실험을 통해 알 수 있었다.

Keywords

References

  1. IoT Technology Market-Analysis and Forecast to 2027, MarketsandMarkets, Oct. 2021.
  2. GSMA Whitepaper, Mobile IoT in the 5G Future - NB-IoT and LTE-M in the Context of 5G, April 2018.
  3. M. K. Hasan, "CoAP and MQTT Measurements over LoRaWAN," M.S. thesis, Faculty of Information Technology and Electrical Eng., Univ. of Oulu, Finland, 2020.
  4. H. F. Coban, "An experimental comparison of messasing protocols MQTT and CoAP," M.S. thesis, Dept. Information Systems, Middle East Technical Univ., Turkey, 2017.
  5. R. W. Tareq, et al, "Implementation of MQTT Protocol in Health Care Based on IoT Systems:A Study," International Journal of Electrical and Computer Engineering Systems, vol. 12, no. 4, pp. 215-223, 2021. https://doi.org/10.32985/ijeces.12.4.5
  6. P. Julio, "MQTT performance analysis with OMNET++," M.S. thesis, IBM Zurich Research Lab., Switzerland, 2005.
  7. ESP32-WROOM-32 datasheet, https://www.espressif.com/sites/default/files/documentation/esp32-wroom-32_datasheet_en.pdf
  8. B. Bendele, et al, "A Study of IoT MQTT Control Packet Behavior and its Effect on Communication Delays," Electronic Imaging, pp. 120-129, 2017.
  9. M. S. Rocha, "On the performance of OPC UA and MQTT for data exchange between industrial plants and cloud servers," Acta IMEKO, vol. 8, no. 2, pp. 80-87, 2019. https://doi.org/10.21014/acta_imeko.v8i2.648