Performance evaluation of MQTT and CoAP via a common middleware
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 Appl...
محفوظ في:
المؤلفون الرئيسيون: | , , , , |
---|---|
التنسيق: | text |
اللغة: | English |
منشور في: |
Institutional Knowledge at Singapore Management University
2014
|
الموضوعات: | |
الوصول للمادة أونلاين: | https://ink.library.smu.edu.sg/sis_research/4246 |
الوسوم: |
إضافة وسم
لا توجد وسوم, كن أول من يضع وسما على هذه التسجيلة!
|
المؤسسة: | Singapore Management University |
اللغة: | English |
id |
sg-smu-ink.sis_research-5249 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-52492019-01-17T02:54:06Z Performance evaluation of MQTT and CoAP via a common middleware THANGAVEL, Dinesh MA, Xiaoping VALERA, Alvin TAN, Hwee Xian TAN, Colin Keng-Yan 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. 2014-04-24T07:00:00Z text https://ink.library.smu.edu.sg/sis_research/4246 info:doi/10.1109/ISSNIP.2014.6827678 Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Databases and Information Systems Software Engineering |
institution |
Singapore Management University |
building |
SMU Libraries |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
SMU Libraries |
collection |
InK@SMU |
language |
English |
topic |
Databases and Information Systems Software Engineering |
spellingShingle |
Databases and Information Systems Software Engineering THANGAVEL, Dinesh MA, Xiaoping VALERA, Alvin TAN, Hwee Xian TAN, Colin Keng-Yan Performance evaluation of MQTT and CoAP via a common middleware |
description |
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. |
format |
text |
author |
THANGAVEL, Dinesh MA, Xiaoping VALERA, Alvin TAN, Hwee Xian TAN, Colin Keng-Yan |
author_facet |
THANGAVEL, Dinesh MA, Xiaoping VALERA, Alvin TAN, Hwee Xian TAN, Colin Keng-Yan |
author_sort |
THANGAVEL, Dinesh |
title |
Performance evaluation of MQTT and CoAP via a common middleware |
title_short |
Performance evaluation of MQTT and CoAP via a common middleware |
title_full |
Performance evaluation of MQTT and CoAP via a common middleware |
title_fullStr |
Performance evaluation of MQTT and CoAP via a common middleware |
title_full_unstemmed |
Performance evaluation of MQTT and CoAP via a common middleware |
title_sort |
performance evaluation of mqtt and coap via a common middleware |
publisher |
Institutional Knowledge at Singapore Management University |
publishDate |
2014 |
url |
https://ink.library.smu.edu.sg/sis_research/4246 |
_version_ |
1770574500478320640 |