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

推薦閱讀
- Raspberry Pi for Python Programmers Cookbook(Second Edition)
- Deploying Node.js
- 編程卓越之道(卷3):軟件工程化
- Dependency Injection in .NET Core 2.0
- 基于差分進化的優(yōu)化方法及應(yīng)用
- Swift 3 New Features
- R的極客理想:工具篇
- 小學生C++創(chuàng)意編程(視頻教學版)
- Linux:Embedded Development
- 青少年信息學競賽
- Learning Concurrent Programming in Scala
- NetBeans IDE 8 Cookbook
- 軟件測試實用教程
- Swift 4從零到精通iOS開發(fā)
- AutoCAD 2009實訓(xùn)指導(dǎo)