- Analytics for the Internet of Things(IoT)
- Andrew Minteer
- 239字
- 2021-07-02 18:59:34
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 a limit on expansion for each hub and spoke group.
- Broker single point of failure: It can also be a single point of failure in the network. A common situation is a broker device that is plugged into a wall socket with several publishing devices that are battery powered. In the event of a power failure, the publishing devices would keep operating but the broker would be offline. The network would be useless until the power is resumed.
- Security: MQTT is unencrypted by default. This makes it natively unsecured and requires you to take additional steps and absorb some overhead to make sure TLS/SSL is implemented. If not, any communication over MQTT, including username and password, is open to hackers.
推薦閱讀
- Android Wearable Programming
- JavaScript前端開發(fā)模塊化教程
- GraphQL學習指南
- 工程軟件開發(fā)技術(shù)基礎(chǔ)
- PyTorch自動駕駛視覺感知算法實戰(zhàn)
- 深入理解Java7:核心技術(shù)與最佳實踐
- HTML5 and CSS3 Transition,Transformation,and Animation
- PhoneGap Mobile Application Development Cookbook
- Haxe Game Development Essentials
- C語言程序設(shè)計同步訓練與上機指導(第三版)
- RabbitMQ Cookbook
- Node.js全程實例
- Python算法指南:程序員經(jīng)典算法分析與實現(xiàn)
- 執(zhí)劍而舞:用代碼創(chuàng)作藝術(shù)
- TypeScript 2.x By Example