Performance Evaluation of MQTT and CoAP via a Common Middleware

被引:0
|
作者
Thangavel, Dinesh [1 ]
Ma, Xiaoping [2 ]
Valera, Alvin [2 ]
Tan, Hwee-Xian [2 ]
Tan, Colin Keng-Yan [3 ]
机构
[1] Natl Univ Singapore, Fac Engn, Singapore 117548, Singapore
[2] Inst Infocomm Res, Sense & Sense Abil, Singapore, Singapore
[3] Natl Univ Singapore, Sch Comp, Singapore 117548, Singapore
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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 middlevvare 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 middlevvare, 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.
引用
收藏
页数:6
相关论文
共 50 条
  • [1] Performance Evaluation of CoAP and MQTT_SN Protocols
    Al-Qassab, Rahaf A.
    Aal-Nouman, Mohammed, I
    [J]. EMERGING TECHNOLOGY TRENDS IN INTERNET OF THINGS AND COMPUTING, TIOTC 2021, 2022, : 223 - 236
  • [2] Performance evaluation of CoAP and MQTT with security support for IoT environments
    Seoane, Victor
    Garcia-Rubio, Carlos
    Almenares, Florina
    Campo, Celeste
    [J]. COMPUTER NETWORKS, 2021, 197
  • [3] A Performance Analysis of the Security Communication in CoAP and MQTT
    Laaroussi, Zakaria
    Novo, Oscar
    [J]. 2021 IEEE 18TH ANNUAL CONSUMER COMMUNICATIONS & NETWORKING CONFERENCE (CCNC), 2021,
  • [4] Comparison of CoAP and MQTT Performance Over Capillary Radios
    Larmo, Anna
    Del Carpio, Felipe
    Arvidson, Pontus
    Chirikov, Roman
    [J]. 2018 GLOBAL INTERNET OF THINGS SUMMIT (GIOTS), 2018, : 127 - 132
  • [5] CoAP and MQTT: Characteristics and Security
    Ouakasse, Fathia
    Rakrak, Said
    [J]. EMERGING TRENDS IN INTELLIGENT SYSTEMS & NETWORK SECURITY, 2023, 147 : 157 - 167
  • [6] Impact of CoAP and MQTT on NB-IoT System Performance
    Larmo, Anna
    Ratilainen, Antti
    Saarinen, Juha
    [J]. SENSORS, 2019, 19 (01)
  • [7] Distributed UCON in CoAP and MQTT Protocols
    Rizos, Athanasios
    Bastos, Daniel
    Saracino, Andrea
    Martinelli, Fabio
    [J]. COMPUTER SECURITY, ESORICS 2019, 2020, 11980 : 35 - 52
  • [8] A Comparative study of COAP and MQTT communication protocols
    Hamdani, Samer
    Sbeyti, Hassan
    [J]. 2019 7TH INTERNATIONAL SYMPOSIUM ON DIGITAL FORENSICS AND SECURITY (ISDFS), 2019,
  • [9] A Performance Analysis of Internet of Things Networking Protocols: Evaluating MQTT, CoAP, OPC UA
    Silva, Daniel
    Carvalho, Liliana I.
    Soares, Jose
    Sofia, Rute C.
    [J]. APPLIED SCIENCES-BASEL, 2021, 11 (11):
  • [10] Review and Replication of CoAP and MQTT Attacks for Dataset Generation
    Aveleira-Mata, Jose
    Iban-Sanchez, Armando
    Teresa Garcia-Ordas, Maria
    Garcia-Rodriguez, Isaias
    Alaiz-Moreton, Hector
    [J]. INTELLIGENT ENVIRONMENTS 2020, 2020, 28 : 207 - 216