Case File: Once, At Least Once, Exactly Once
A sensor sends messages over a poor mobile link with MQTT quality of service 0, 1 or 2. Simulate what happens to each message from the list of tries: at level 0 a message is sent once and may be lost, at level 1 it is repeated until acknowledged and can arrive twice, at level 2 a handshake delivers it exactly once at the cost of more packets. Count the delivered messages, the duplicates, the lost messages and the packets used. Run it on links that you cannot see. The link is generated for you alone.
Case File: Once, At Least Once, Exactly Once
A sensor sends messages over a poor mobile link with MQTT quality of service 0, 1 or 2. Simulate what happens to each message from the list of tries: at level 0 a message is sent once and may be lost, at level 1 it is repeated until acknowledged and can arrive twice, at level 2 a handshake delivers it exactly once at the cost of more packets. Count the delivered messages, the duplicates, the lost messages and the packets used. Run it on links that you cannot see. The link is generated for you alone.
In this lesson:
- mqtt
- qos
- reliability
- iot
- python
- case-file
This lesson is part of a paid plan
Upgrade to Pro to unlock this course, its labs and its exam.
View Pricing Plans