- Analytics for the Internet of Things(IoT)
- Andrew Minteer
- 132字
- 2021-07-02 18:59:34
QoS 2
Deliver exactly once - Make sure they get it, but make sure they only get it once - they get confused.
QoS 2 guarantees the message is delivered and delivered only once. As can be seen in the diagram, there are multiple back and forth communications to orchestrate this guarantee. The state of the communication needs to be stored by both the sides until full confirmation of delivery is communicated back to the publisher. This requires both a higher level of power on the device and a larger memory footprint in order to store the more complex state. It also takes a bit longer to complete QoS 2 communications.
QoS 2 is used when delivery needs to be guaranteed and the end application or subscribing client is unable to handle duplicate messages.

推薦閱讀
- Embedded Linux Projects Using Yocto Project Cookbook
- AWS Serverless架構:使用AWS從傳統部署方式向Serverless架構遷移
- R語言數據可視化之美:專業圖表繪制指南
- JavaScript前端開發與實例教程(微課視頻版)
- C語言從入門到精通(第4版)
- GameMaker Programming By Example
- Java 11 Cookbook
- 微信小程序入門指南
- 數據結構案例教程(C/C++版)
- 精通Python自動化編程
- Mastering C++ Multithreading
- Solutions Architect's Handbook
- 零基礎學Scratch 3.0編程
- 零基礎C#學習筆記
- Instant GLEW