Analytics for the Internet of Things(IoT)
上QQ阅读APP看书,第一时间看更新

HTTP and IoT

In many cases, HTTP is not ideal for IoT applications. The latency is not predictable, and it often depends on polling to detect state changes. It is a text-based protocol, which means message size tends to be large. This adds power needs and complexity overhead, for IoT devices to communicate using it.

However, it is a mature standard and in wide use. This makes it an established and well supported interface.

Connections are established from a client device to a server device and remain open until the communication is completed. Delivery is guaranteed and data message receipts are acknowledged at every step of the process. It operates on top of TCP and is reliable.