Chapter 6. MQTT Integration–Overview and Python Client
Did you even hear?
I have nothing in return.
Finally—an ACK!
Messaging between devices and systems is a key concept in facilitating robust and meaningful data integration across the Internet of Things. It also poses a variety of challenges for the architect and developer that go beyond just “making it work.” With IP-based transport protocols (such as TCP and UDP), we’re generally interested in packet reliability, latency, loss, speed, efficiency, and of course security (to name just a few areas of concern).
At the application layer, our concerns with protocol choice become more nuanced. What problem is the business trying to solve? Does it just want to send data sets reliably between two or more systems, or does it need a way to stream video from remote devices? While these are two basic examples and could both technically use the same underlying transport protocol(s), they have very different application-layer protocol needs.
In addition to business needs, you’ll also need to consider the implementation challenges associated with the messaging protocols you plan to use.
Publish/subscribe (or pub/sub) is a term that captures the type of messaging between one application ...
Get Programming the Internet of Things now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.