- Analytics for the Internet of Things(IoT)
- Andrew Minteer
- 195字
- 2021-07-02 18:59:34
QoS 0
Fire and forget - sir, yes, sir!
QoS 0 is the minimal QoS level, often referred to as fire and forget. Messages are sent to the broker without confirmation that it has been sent on by the broker to subscribers. It still has all the guarantees of the TCP protocol, as do all forms of standard MQTT.
As can be seen in the following diagram, there is minimal communication overhead, which translates into minimal power requirements. Once sent to the broker, the message is deleted on the device (publisher). The broker immediately sends on to subscribers that have an open connection. Unlike the other QoS levels, the message is not stored for offline subscribers when QoS is set to zero.
QoS 0 is often used when there is a stable connection and disruption is unlikely, like in the case of a wired connection. It is also used when power constraints are more important than message delivery. In this case, either the resulting data is acceptable even with some messages lost, or the frequency of messages is high enough that if one is lost, then no big deal, another will be on the way shortly.

- Learning NServiceBus(Second Edition)
- Facebook Application Development with Graph API Cookbook
- LabVIEW 2018 虛擬儀器程序設計
- 算法基礎:打開程序設計之門
- C語言課程設計
- Java EE 7 Performance Tuning and Optimization
- HTML5從入門到精通 (第2版)
- Express Web Application Development
- C++從入門到精通(第5版)
- Django 3.0入門與實踐
- Python 快速入門(第3版)
- LabVIEW入門與實戰開發100例(第4版)
- PHP動態網站開發實踐教程
- Mathematica Data Visualization
- Responsive Web Design with HTML5 and CSS3 Essentials