Professional Documents
Culture Documents
Overview
MQTT Vs. HTTP for IoT Related Links
HiveMQ Product Info
Written by Ian Craggs
Category:
MQTT • IoT Get HiveMQ
Published: May 16, 2022 MQTT Essentials
What is MQTT?
MQTT is a communication protocol with features specifically targeted at
IoT solutions:
https://www.hivemq.com/blog/mqtt-vs-http-protocols-in-iot-iiot/ 2/18
08/06/2022, 12:13 MQTT Vs. HTTP for IoT
https://www.hivemq.com/blog/mqtt-vs-http-protocols-in-iot-iiot/ 3/18
08/06/2022, 12:13 MQTT Vs. HTTP for IoT
What is HTTP?
HTTP (HyperText Transfer Protocol) was invented as a component of the
World Wide Web to transfer documents. It is most familiar to us as one of
the enabling technologies that allows web browsers to work. Servers
contain resources that are identified by the URLs that have the basic
familiar form:
https://www.hivemq.com/mqtt-
essentials/
to which HTTP clients can make requests: GET, PUT, DELETE and POST,
to name the most common. In a normal web environment the simple
model is a web browser retrieving web pages from a server with the GET
method:
https://www.hivemq.com/blog/mqtt-vs-http-protocols-in-iot-iiot/ 4/18
08/06/2022, 12:13 MQTT Vs. HTTP for IoT
https://www.hivemq.com/blog/mqtt-vs-http-protocols-in-iot-iiot/ 5/18
08/06/2022, 12:13 MQTT Vs. HTTP for IoT
MQTT HTTP
https://www.hivemq.com/blog/mqtt-vs-http-protocols-in-iot-iiot/ 6/18
08/06/2022, 12:13 MQTT Vs. HTTP for IoT
MQTT HTTP
https://www.hivemq.com/blog/mqtt-vs-http-protocols-in-iot-iiot/ 7/18
08/06/2022, 12:13 MQTT Vs. HTTP for IoT
MQTT HTTP
https://www.hivemq.com/blog/mqtt-vs-http-protocols-in-iot-iiot/ 8/18
08/06/2022, 12:13 MQTT Vs. HTTP for IoT
MQTT HTTP
https://www.hivemq.com/blog/mqtt-vs-http-protocols-in-iot-iiot/ 9/18
08/06/2022, 12:13 MQTT Vs. HTTP for IoT
https://www.hivemq.com/blog/mqtt-vs-http-protocols-in-iot-iiot/ 10/18
08/06/2022, 12:13 MQTT Vs. HTTP for IoT
1 113 289
100 47 289
1000 43 289
https://www.hivemq.com/blog/mqtt-vs-http-protocols-in-iot-iiot/ 11/18
08/06/2022, 12:13 MQTT Vs. HTTP for IoT
https://www.hivemq.com/blog/mqtt-vs-http-protocols-in-iot-iiot/ 13/18
08/06/2022, 12:13 MQTT Vs. HTTP for IoT
software.
HTTP has no equivalent of many MQTT features that are useful
for IoT such as queuing, QoS, retained messages and message push.
Conclusion
If you are familiar with HTTP and are wondering what MQTT can offer
you then check out these resources:
MQTT Essentials Series
HiveMQ’s
open source software
HiveMQ’s free public MQTT broker
Other MQTT
client libraries
MQTT 5 (the latest version of MQTT) Essentials Series
get started.
Note: If you have any questions about this topic or feedback on this
article, please leave a comment below.
https://www.hivemq.com/blog/mqtt-vs-http-protocols-in-iot-iiot/ 15/18
08/06/2022, 12:13 MQTT Vs. HTTP for IoT
Submit
By clicking the subscribe button, you give your consent to the use of your data according to our Privacy Policy.You can
https://www.hivemq.com/blog/mqtt-vs-http-protocols-in-iot-iiot/ 16/18
08/06/2022, 12:13 MQTT Vs. HTTP for IoT
LOG IN WITH
OR SIGN UP WITH DISQUS ?
Name
HiveMQ Sign up Resources Overview Automotive MQTT Client Tools About us Download HiveMQ
https://www.hivemq.com/blog/mqtt-vs-http-protocols-in-iot-iiot/ 17/18
08/06/2022, 12:13 MQTT Vs. HTTP for IoT
HiveMQ Swarm HiveMQ MQTT Essentials Technology Get started with Events
Customer Stories HiveMQ Swarm Essentials Kafka Solution Publish and Career
Extension Broker
Kubernetes FAQ
Operator
Open Source
Webinars
Newsletter
HiveMQ GmbH
Ergoldingerstr. 2a
Follow us on
84030 Landshut
Bavaria, Germany
https://www.hivemq.com/blog/mqtt-vs-http-protocols-in-iot-iiot/ 18/18