- 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.

- JavaScript Unlocked
- JavaFX Essentials
- PhoneGap:Beginner's Guide(Third Edition)
- 數(shù)據(jù)結(jié)構(gòu)案例教程(C/C++版)
- 軟件項目管理實用教程
- Node.js開發(fā)指南
- Cocos2d-x by Example:Beginner's Guide(Second Edition)
- 大數(shù)據(jù)時代的企業(yè)升級之道(全3冊)
- Java 9 with JShell
- Software-Defined Networking with OpenFlow(Second Edition)
- Responsive Web Design with jQuery
- Ubuntu Server Cookbook
- Hands-On Data Visualization with Bokeh
- ServiceDesk Plus 8.x Essentials
- 瘋狂Java講義精粹