Doubt regarding MQTT protocol

Why do we need to use MQTT protocol when HTTPS and HTTP are so popular and widely used for communication??

As most IOT devices and sensors contain limited processing capabilities and constrained Internet bandwidth. Due to these limitations, they send data over internet only when required and it is very low in terms of bandwidth usgae. In protocols like HTTP and HTTPS the overhead data is more than the actual data itself whereas MQTT contains very low overhead so we make use of the MQTT protocol for IOT communication.

2 Likes

Although these protocol the popular, the amount of overhead data that is sent over the internet for managing the communication is quite a lot.

Overhead data is the data which is sent along with the actual message which conveys the extra information required to understand message sent.

The overhead data varies from protocol to protocol.

Most IoT devices and sensor contain the limited processing capability and constrained internet bandwidth

due to these limitations they send data over the internet only when required and the data sent is very slow in terms of bandwidth to usage. MQTT contains very low overhead data and hence becomes ideal for IoT communication

Although these protocol the popular, the amount of overhead data that is sent over the internet for managing the communication is quite a lot.

Overhead data is the data which is sent along with the actual message which conveys the extra information required to understand message sent.

The overhead data varies from protocol to protocol.

Most IoT devices and sensor contain the limited processing capability and constrained internet bandwidth

due to these limitations they send data over the internet only when required and the data sent is very slow in terms of bandwidth to usage. MQTT contains very low overhead data and hence becomes ideal for IoT communication