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

- Implementing Modern DevOps
- Magento 2 Theme Design(Second Edition)
- Visual Basic程序設(shè)計教程
- Java程序設(shè)計與實踐教程(第2版)
- Learning AndEngine
- PhpStorm Cookbook
- 深入RabbitMQ
- Extending Puppet(Second Edition)
- Keras深度學(xué)習(xí)實戰(zhàn)
- C++從入門到精通(第5版)
- C語言從入門到精通
- 零基礎(chǔ)學(xué)Kotlin之Android項目開發(fā)實戰(zhàn)
- Red Hat Enterprise Linux Troubleshooting Guide
- 編程改變生活:用Python提升你的能力(進階篇·微課視頻版)
- Everyday Data Structures