Hello,
I was using jMQTTBroker v1 for almost 2 years I guess. Recently I updated to v2 and instantly saw the difference. The new version is much slower. I kept all the settings as it was, I just changed the library. I use QOS 0.
I have about 75 raspberry pi connected together and exchanging messages using MQTT Broker. The Broker is running on Ubuntu, and raspberry pi are running the MQTT Client. The MQTT Broker is also a client.
I have a "ping" function in my app, which counts the round trip time a message took. The "ping" message is published on the "ping" topic. So any raspberry pi that gets the message have to reply as quickly as possible.
With V1 I get ping that range between 10ms to 25ms. With v2 my ping from raspberry pi ranges between 600ms to 2500ms and sometimes more.
At the moment I stick to v1. Anyone could confirm the same problem? Just swap the jMQTT broker in the IDE to the other version.
thanks
I was using jMQTTBroker v1 for almost 2 years I guess. Recently I updated to v2 and instantly saw the difference. The new version is much slower. I kept all the settings as it was, I just changed the library. I use QOS 0.
I have about 75 raspberry pi connected together and exchanging messages using MQTT Broker. The Broker is running on Ubuntu, and raspberry pi are running the MQTT Client. The MQTT Broker is also a client.
I have a "ping" function in my app, which counts the round trip time a message took. The "ping" message is published on the "ping" topic. So any raspberry pi that gets the message have to reply as quickly as possible.
With V1 I get ping that range between 10ms to 25ms. With v2 my ping from raspberry pi ranges between 600ms to 2500ms and sometimes more.
At the moment I stick to v1. Anyone could confirm the same problem? Just swap the jMQTT broker in the IDE to the other version.
thanks