Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mosquitto-dev] When will message with QoS = 0 message lost


            I know that a message with QoS = 0, there is no guarantee that the message will be delivered to subscriber.

            However, since mqtt is built on the tcp/ip protocol which will retransmit if package is lost, so I still want to understand in which case the message will be lost and possible way to avoid it or improve it.

The environment in our scenario:

Running mosquitto in a linux system (an embedded system), with 3 clients connected with wire. This is a private network, so no other network traffic, only mqtt message is using the network. And the size of each package is very small < 50 bytes for each package

            In this scenario, if message is not delivered, it’s because the size of message queue in mosquitto is not big enough?

            In our performance test, we are seeing that message lost when throughput higher than 3000 message/second.


Michael Chen

Back to the top