Do you have doubts regarding the mqtt protocol?

Martina Pérez
2 replies
Hello everyone, I hope someone can help with my question. Why do we need to use the MQTT protocol when HTTPS and HTTP are so popular and widely used for communication? Many thanks for considering my request.

Replies

Hiram Kisch
I’ve just stumbled upon a cool article explaining the difference between HTTP and MQTT and when it’s better to use each one of them. This HTTP vs MQTT article begins with simple definitions of both protocols and proceeds to use a lot of criteria to compare these two, such as data packet size, Transfer time for one single message, reliability, performance, and purposes. The article concludes that MQTT is better for IoT projects than HTTP. Of course, it’s better to read the whole article to understand the topic better. You might also take a look at other articles and guides on this website – they are all about MQTT.
Joao Novosel
These protocols have different purposes, and MQTT is better for bidirectional communication than HTTP