What is HTTP protocols?

- Sep 30, 2019-

HTTP is a synchronous protocol. The client waits for the server to respond. Web browsers have this requirement, but it comes at the cost of poor scalability. In the world of IoT, the large number of devices and most likely an unreliable or high latency network have made synchronous communication problematic. An asynchronous messaging protocol is much more suitable for IoT applications. The sensors can send in readings, and let the network figure out the optimal path and timing for delivery to its destination devices and services.

HTTP is one way. The client must initiate the connection. In an IoT application, the devices or sensors are typically clients, which means that they cannot passively receive commands from the network.

HTTP is a 1-1 protocol. The client makes a request, and the server responds. It is difficult and expensive to broadcast a message to all devices on the network, which is a common use case in IoT applications.

HTTP is a heavy weight protocol with many headers and rules. It is not suitable for constrained networks.