Implementation and Analysis of QUIC for MQTT

10/17/2018
by   Puneet Kumar, et al.
0

Transport and secure layer protocols are essential to ensure reliable and secure communication between two parties. These protocols must be lightweight, since IoT devices are usually resource constrained. Unfortunately, the existing transport and secure layer protocols -- namely TCP/TLS and UDP/DTLS -- fall short in terms of connection overhead, latency, and connection migration when used in IoT applications. In this paper, after studying the root causes of these shortcomings, we show how utilizing QUIC in IoT scenarios results in a higher performance. Based on these observations, and given the popularity of MQTT as an IoT application layer protocol, we integrate MQTT with QUIC. By presenting the main APIs and functions developed, we explain how connection establishment and message exchange functionalities work. We evaluate the performance of MQTTw/QUIC versus MQTTw/TCP using wired, wireless, and long-distance testbeds. Our results show that MQTTw/QUIC reduces connection overhead in terms of the number of packets exchanged with the broker by up to 56 processor and memory usage by up to 81 removing the head-of-line blocking problem, delivery latency is reduced by up to 55 connection migration happens is considerably lower than that of MQTTw/TCP.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset