Open AccessThis article is
- freely available
Improving Packet Delivery Performance of Publish/Subscribe Protocols in Wireless Sensor Networks
Wireless Network Group (WNG), Universitat Politècnica de Catalunya, C/Jordi Girona 1-3 Mòdul C3, 08034 Barcelona, Spain
* Author to whom correspondence should be addressed.
Received: 1 December 2012; in revised form: 26 December 2012 / Accepted: 26 December 2012 / Published: 4 January 2013
Abstract: MQTT-S and CoAP are two protocols able to use the publish/subscribe model in Wireless Sensor Networks (WSNs). The high scalability provided by the publish/subscribe model may incur a high packet loss and therefore requires an efficient reliability mechanism to cope with this situation. The reliability mechanism of MQTT-S and CoAP employs a method which defines a fixed value for the retransmission timeout (RTO). This article argues that this method is not efficient for deploying publish/subscribe in WSN, because it may be unable to recover a packet, therefore resulting in a lower packet delivery ratio (PDR) at the subscriber nodes. This article proposes and evaluates an adaptive RTO method, which consists in using a Smooth Round-trip Time and multiplying it by a constant parameter (K). Thanks to this method, the reliability mechanism of MQTT-S and CoAP would be able to react properly to packet loss and would also be lightweight in terms of energy, memory and computing for sensor nodes where these resources are critical. We present a detailed evaluation of the effects of the K value on the calculation of the adaptive RTO method. We also establish the setting for obtaining the highest PDR on the subscriber nodes for single-hop and multi-hop scenarios. The results for single-hop scenario show that use of the appropriate K value for the adaptive RTO method increases the PDR up to 76% for MQTT-S and up to 38% for CoAP when compared with the use of fixed RTO method for both protocols, respectively. Meanwhile the same comparison for multi-hop scenario, the adaptive RTO method increases the PDR up to 36% for MQTT-S and up to 14% for CoAP.
Keywords: publish/subscribe; reliability; CoAP; MQTT-S; wireless sensor networks; retransmission timeout
Citations to this Article
Cite This Article
MDPI and ACS Style
Davis, E.G.; Calveras, A.; Demirkol, I. Improving Packet Delivery Performance of Publish/Subscribe Protocols in Wireless Sensor Networks. Sensors 2013, 13, 648-680.
Davis EG, Calveras A, Demirkol I. Improving Packet Delivery Performance of Publish/Subscribe Protocols in Wireless Sensor Networks. Sensors. 2013; 13(1):648-680.
Davis, Ernesto G.; Calveras, Anna; Demirkol, Ilker. 2013. "Improving Packet Delivery Performance of Publish/Subscribe Protocols in Wireless Sensor Networks." Sensors 13, no. 1: 648-680.