Reliability Analysis According to Concurrent Message Transmission in MQTT

MQTT에서 동시다발적 메시지 전송에 따른 신뢰성 분석

  • Kim, Sung-jin (Korea University of Technology and Education(KOREATECH)) ;
  • Cho, Kyoung-woo (Korea University of Technology and Education(KOREATECH)) ;
  • Oh, Chang-heon (Korea University of Technology and Education(KOREATECH))
  • Published : 2017.10.25

Abstract

MQTT provides three QoS levels on top of the TCP/IP layer to ensure message delivery reliability. However, in an environment where messages are concurrently transmitted and received in a node, messages are lost due to the delivery method for QoS level. In this paper, it construct an experimental environment in which MQTT generates concurrently messages, and confirm the message reliability according to QoS level. Therefore, we analyze the message reception ratio on the subscriber side by changing number of publisher and transmission cycle of message. Experimental results show that the message reception ratio of 1 and 2 except QoS level 0 decreases as the number of publisher increases or the message transmission cycle increases.

MQTT는 TCP/IP 계층 위에서 3가지의 QoS level을 제공하여 메시지 전달의 신뢰성을 보장한다. 하지만, 노드에서 동시다발적으로 메시지가 송수신되는 환경의 경우 QoS level에 대한 전달 방식으로 인해 메시지 손실이 발생할 수 있다. 본 논문에서는 MQTT에서 동시다발적으로 메시지가 송수신되는 실험 환경을 구축하여 QoS level 변화에 따른 메시지 신뢰성을 확인한다. 이를 위해 publisher 수와 메시지의 전송 주기를 변화시켜 subscriber 측면에서 메시지 수신율을 분석한다. 실험 결과 publisher의 수가 증가하거나 메시지의 전송 주기가 빠를수록 QoS level 0을 제외한 1, 2의 메시지 수신율이 감소됨을 확인하였다.

Keywords