DocumentCode
149721
Title
Performance evaluation of MQTT and CoAP via a common middleware
Author
Thangavel, Dinesh ; Xiaoping Ma ; Valera, A. ; Hwee-Xian Tan ; Tan, Colin Keng-Yan
Author_Institution
Fac. of Eng., Nat. Univ. of Singapore, Singapore, Singapore
fYear
2014
fDate
21-24 April 2014
Firstpage
1
Lastpage
6
Abstract
Wireless sensor networks (WSNs) typically consist of sensor nodes and gateways that operate on devices with limited resources. As a result, WSNs require bandwidth-efficient and energy-efficient application protocols for data transmission. Message Queue Telemetry Transport (MQTT) and Constrained Application Protocol (CoAP) are two such protocols proposed for resource-constrained devices. In this paper, we design and implement a common middleware that supports MQTT and CoAP and provides a common programming interface. We design the middleware to be extensible to support future protocols. Using the common middleware, we conducted experiments to study the performance of MQTT and CoAP in terms of end-to-end delay and bandwidth consumption. Experimental results reveal that MQTT messages have lower delay than CoAP messages at lower packet loss rates and higher delay than CoAP messages at higher loss rates. Moreover, when the message size is small and the loss rate is equal to or less than 25%, CoAP generates lower additional traffic than MQTT to ensure message reliability.
Keywords
internetworking; middleware; protocols; queueing theory; wireless sensor networks; CoAP; MQTT; bandwidth consumption; constrained application protocol; data transmission; end-to-end delay; gateways; message queue telemetry transport; middleware; sensor nodes; wireless sensor networks; Delays; Logic gates; Middleware; Packet loss; Protocols; Quality of service; Servers;
fLanguage
English
Publisher
ieee
Conference_Titel
Intelligent Sensors, Sensor Networks and Information Processing (ISSNIP), 2014 IEEE Ninth International Conference on
Conference_Location
Singapore
Print_ISBN
978-1-4799-2842-2
Type
conf
DOI
10.1109/ISSNIP.2014.6827678
Filename
6827678
Link To Document