Anton Shykhmat* and Zenoviy Veres
The Internet of Things (IoT) enables the creation of networks among devices, people, applications, and the internet, thereby establishing new ecosystems with higher productivity, improved energy efficiency, and increased profitability. Nodes in these networks should have the ability to communicate and exchange data. To achieve this, data transfer protocols are employed; however, the choice of a specific protocol for a given use case is not always straightforward. This article provides an overview of two existing data transfer protocols, MQTT and HTTP, comparing the amount of billable traffic generated by each protocol and the efficiency of protocol expenditures. The research revealed that in comparison to AWS IoT Core, GCP IoT Core is more expensive for all assessed scenarios and is not recommended for use. For scenarios involving frequent data transmission, the optimal solution is to use the MQTT bridge provided by AWS IoT Core. If the number of connected devices exceeds 10 million with high data transmission frequency every 1 minute, considering the use of a standalone MQTT broker or another TCP-based protocol like CoAP is advisable. In cases of less frequent data transmission (every 10 minutes or less), an HTTP bridge may be a suitable solution for up to 100 million devices. As a result of the study, a decision tree has been created to select the best protocol for specific use cases.
Share this article