Disadvantages to MQTT

  • It operates over TCP: TCP was designed for devices that had more memory and processing power than many of the lightweight, power constrained IoT devices have available to them. TCP requires more handshaking to set up communication links before any messages can be exchanged. This increases wake-up and communication times, which affects the long-term battery consumption. TCP connected devices tend to keep sockets open for each other with a persistent session. This adds to power and memory requirements.
  • Centralized broker can limit scale: The broker can affect scalability as there is additional overhead for each device connected to it. The network can only grow as large as the local broker hub can support it. This puts ...

Get Analytics for the Internet of Things (IoT) 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.