Performance evaluation of MQTT and CoAP via a common middleware
Open accessThe DOI matches its Crossref record; 3 of the 3 references it cites were found in a registry or an index.
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.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
The many faces of publish/subscribe
Eugster, P. T., Felber, P. A., Guerraoui, R., & Kermarrec, A.-M. (2003) · ACM Computing Surveys · doi:10.1145/857076.857078 · Cited by 3,145
Gnawali, O., Fonseca, R., Jamieson, K., Moss, D., & Levis, P. (2009) · Proceedings of the 7th ACM Conference on Embedded Networked Sensor Systems · doi:10.1145/1644038.1644040 · Cited by 1,404
Lightweight Internet protocols for web enablement of sensors using constrained gateway devices
Bandyopadhyay, S., & Bhattacharyya, A. (2013) · 2013 International Conference on Computing, Networking and Communications (ICNC) · doi:10.1109/iccnc.2013.6504105 · Cited by 164
Cited by
Internet of Things: A Survey on Enabling Technologies, Protocols, and Applications
Al-Fuqaha, A., Guizani, M., Mohammadi, M., Aledhari, M., & Ayyash, M. (2015) · IEEE Communications Surveys & Tutorials · doi:10.1109/comst.2015.2444095 · Cited by 8,630
“For example, [78] compares the performance of MQTT and CoAP in terms of end-”
BackgroundMethodA Survey on 5G Networks for the Internet of Things: Communication Technologies and Challenges
Akpakwu, G. A., Silva, B. J., Hancke, G. P., & Abu-Mahfouz, A. M. (2018) · IEEE Access · doi:10.1109/access.2017.2779844 · Cited by 1,293
Choice of effective messaging protocols for IoT systems: MQTT, CoAP, AMQP and HTTP
Naik, N. (2017) · 2017 IEEE International Systems Engineering Symposium (ISSE) · doi:10.1109/syseng.2017.8088251 · Cited by 727
“sensor updates) in constrained network such as MQTT and CoAP [7], [8], [9].”
BackgroundMethodInfluentialMosquitto: server and client implementation of the MQTT protocol
Light, R. A. (2017) · The Journal of Open Source Software · doi:10.21105/joss.00265 · Cited by 521
Fog Computing for Sustainable Smart Cities: A Survey
Perera, C., Qin, Y., Estrella, J. C., Reiff-Marganiec, S., & Vasilakos, A. V. (2018) · ACM Computing Surveys · doi:10.1145/3057266 · Cited by 459
“MQTT uses TCP as it is reliable, ordered and error-checked [Thangavel et al. 2014].”
The Use of MQTT in M2M and IoT Systems: A Survey
Mishra, B., & Kertesz, A. (2020) · IEEE Access · doi:10.1109/access.2020.3035849 · Cited by 429
Dizdarević, J., Carpio, F., Jukan, A., & Masip-Bruin, X. (2019) · ACM Computing Surveys · doi:10.1145/3292674 · Cited by 423
A Survey On Application Layer Protocols For The Internet Of Things
Karagiannis, V., Chatzimisios, P., Vázquez-Gallego, F., & Alonso-Zárate, J. (2015) · Zenodo (CERN European Organization for Nuclear Research) · doi:10.5281/zenodo.51613 · Cited by 413
Choices for interaction with things on Internet and underlying issues
Mashal, I., Alsaryrah, O., Chung, T.-Y., Yang, C.-Z., Kuo, W.-H., & Agrawal, D. P. (2015) · Ad Hoc Networks · doi:10.1016/j.adhoc.2014.12.006 · Cited by 303
An Internet-of-Things (IoT) Network System for Connected Safety and Health Monitoring Applications
Wu, F., Wu, T., & Yuce, M. R. (2018) · Sensors · doi:10.3390/s19010021 · Cited by 282
A Reference Model for Internet of Things Middleware
da Cruz, M. A. A., Rodrigues, J. J. P. C., Al-Muhtadi, J., Korotaev, V. V., & de Albuquerque, V. H. C. (2018) · IEEE Internet of Things Journal · doi:10.1109/jiot.2018.2796561 · Cited by 281
A survey on fog computing for the Internet of Things
Bellavista, P., Berrocal, J., Corradi, A., Das, S. K., Foschini, L., & Zanni, A. (2019) · Pervasive and Mobile Computing · doi:10.1016/j.pmcj.2018.12.007 · Cited by 268
Investigating Messaging Protocols for the Internet of Things (IoT)
Al-Masri, E., Kalyanam, K. R., Batts, J., Kim, J., Singh, S., Vo, T., & Yan, C. (2020) · IEEE Access · doi:10.1109/access.2020.2993363 · Cited by 227
“In another study that involved CoAP, the authors in [4] compared the performance of MQTT”
BackgroundResultA Rigid-Flex Wearable Health Monitoring Sensor Patch for IoT-Connected Healthcare Applications
Wu, T., Wu, F., Qiu, C., Redoute, J.-M., & Yuce, M. R. (2020) · IEEE Internet of Things Journal · doi:10.1109/jiot.2020.2977164 · Cited by 224
“The MQTT protocol and the constrained application protocol (CoAP) have been proposed to address the specific requirements in the wireless sensor network and IoT applications [54].”
MethodTowards Smart Home Automation Using IoT-Enabled Edge-Computing Paradigm
Yar, H., Imran, A. S., Khan, Z. A., Sajjad, M., & Kastrati, Z. (2021) · Sensors · doi:10.3390/s21144932 · Cited by 207
“Every message is published to an address, known as a topic [52].”
BackgroundPerformance evaluation of IoT protocols under a constrained wireless access network
Chen, Y., & Kunz, T. (2016) · 2016 International Conference on Selected Topics in Mobile & Wireless Networking (MoWNeT) · doi:10.1109/mownet.2016.7496622 · Cited by 194
“[10] compared the performance of CoAP and MQTT under a common middleware with different rates of packet loss and its effect on latency as well as overhead vs.”
Analysis of factors affecting IoT-based smart hospital design
Uslu, B. Ç., Okay, E., & Dursun, E. (2020) · Journal of Cloud Computing · doi:10.1186/s13677-020-00215-5 · Cited by 181
A Survey of IoT Management Protocols and Frameworks
Sinche, S., Raposo, D., Armando, N., Rodrigues, A., Boavida, F., Pereira, V., & Silva, J. S. (2020) · IEEE Communications Surveys & Tutorials · doi:10.1109/comst.2019.2943087 · Cited by 158
Vaiyapuri, T., Parvathy, V. S., Manikandan, V., Krishnaraj, N., Gupta, D., & Shankar, K. (2022) · Wireless Personal Communications · doi:10.1007/s11277-021-08088-w · Cited by 132
Which IoT Protocol? Comparing Standardized Approaches over a Common M2M Application
Fysarakis, K., Askoxylakis, I., Soultatos, O., Papaefstathiou, I., Manifavas, C., & Katos, V. (2016) · 2016 IEEE Global Communications Conference (GLOBECOM) · doi:10.1109/glocom.2016.7842383 · Cited by 70
“Authors in [25] have also compared the two protocols, using a common middleware which allowed them to assess the protocols’ behavior in changing network conditions (as in scenarios with high packet loss).”
MethodTowards a lightweight protocol for Industry 4.0: An implementation based benchmark
Iglesias-Urkia, M., Orive, A., Barcelo, M., Moran, A., Bilbao, J., & Urbieta, A. (2017) · 2017 IEEE International Workshop of Electronics, Control, Measurement, Signals and their Application to Mechatronics (ECMSM) · doi:10.1109/ecmsm.2017.7945894 · Cited by 53
“[15], showed their work on a common middleware for MQTT and CoAP measuring latency and bandwidth consumption on a Beaglebone setup.”
Background
Metadata
- Authors
- Thangavel, D., Ma, X., Valera, A., Tan, H.-X., & Tan, C. K.-Y.
- Venue
- 2014 IEEE Ninth International Conference on Intelligent Sensors, Sensor Networks and Information Processing (ISSNIP)
- Publisher
- IEEE
- Published
- 2014-04
- Pages
- 1-6
- OpenAlex
- W1973906278
- Cited by
- 446
- References
- 3
- FWCI
- 40.23
- Type
- conference paper
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.