I have a Hive MQTT server deployed as docker (with 8GB storage) on a CentOS machine. Through a simulator, I am sending 10k messages sequentially on a fixed MQTT topic on this server.
It takes 5.37s to send and 9.62s to receive the last message on a docker Hive MQTT deployement.
The same 10k messages take 5.98s when Hive MQTT is deployed on the machine.
In both the cases, there is a big latency issue. The same latency when measured with other MQTT server is very low, all messages are recieved in lesser than 2s.
Please help as to what can be the reason for so much latency while using Hive MQTT..