
Research Article
A Comparison of Publish-Subscribe and Client-Server Models for Streaming IoT Telemetry Data
@INPROCEEDINGS{10.1007/978-3-031-35883-8_9, author={Olasupo Ajayi and Antoine Bagula and Joshua Bode and Moegammad Damon}, title={A Comparison of Publish-Subscribe and Client-Server Models for Streaming IoT Telemetry Data}, proceedings={Emerging Technologies for Developing Countries. 5th EAI International Conference, AFRICATEK 2022, Bloemfontein, South Africa, December 5-7, 2022, Proceedings}, proceedings_a={AFRICATEK}, year={2023}, month={7}, keywords={Client-Server Internet of Things MQTT Publish-Subscribe Round Trip Time WebSocket}, doi={10.1007/978-3-031-35883-8_9} }
- Olasupo Ajayi
Antoine Bagula
Joshua Bode
Moegammad Damon
Year: 2023
A Comparison of Publish-Subscribe and Client-Server Models for Streaming IoT Telemetry Data
AFRICATEK
Springer
DOI: 10.1007/978-3-031-35883-8_9
Abstract
In recent years, the Internet of Things (IoT) has become a household name both in research and commercial domains. There are numerous practical applications of IoT, ranging from sophisticated solutions in big factories to simple smart homes devices, such as temperature monitors. Common to these solutions is the need to transmit data from a sensing source to a different location where the data is read, processed, analyzed, or simply stored. Numerous models and protocols have been developed to ferry IoT data, including queueing, client-server, and publish-subscribe models, all with their merits and demerits. In this paper, a comparison of two models for transmitting live/streaming IoT telemetry data is done. The Message Queue Telemetry Transport (MQTT), a publish-subscribe model, is compared with WebSocket, a client-server model, in terms of throughput, round trip time and system utilization. Obtained results reveal that MQTT is more suited for transmitting live IoT data than WebSocket, as it had better throughput, utilized less system resource, however it was slightly slower than WebSocket.