Closed artandor closed 5 years ago
Hi @artandor thanks for the issue. Can you tell me what the MZbench WebGUI tells you about the error you see?
In other words: does the test script start running, or not? do you see latency graph for the QoS 0 metrics?
The job will run, publishing will work well, but subscribing won't do anything.
I took screenshots of the graphs.
Here is the screen for the mqtt internal stats :
And here are the screens for most importants boards in the 1 to 1 scenario.
Thanks a lot for your fast answer :)
In the "MQTT connections pane" do you have 500 or 501 connections? (1 publisher).
Oh, and start playing around with the timing. Slow down the connection setup, for instance, instead of poisson 1000, set it to poisson 100. Then wait with the publisher for a little longer before you start publishing: wait(20 sec) or something. The underlying bench client is brutally asynchrounous which leads to strange timing effects possibly.
EDIT: on my laptop your script works as is.
What broker are you benching on ?
I had 501 connections
So you recommend to set 20s wait before starting the production loop ?
I use this to bench VerneMQ. (what broker are you testing?)
I'm testing it to bench on rabbitmq and activemq at the moment
Edit0 : Ok so, it's working on activemq now, but not on rabbitmq. Is there vernemq specific code in your package ?
Edit1: I'm still trying to find out what's wrong with RabbitMQ specificaly, I'll post an update and close the ticket once i find out.
Hi @artandor did you figure out what the problem was?
Hi, no i did not.
Hi, I'm currently benchmarking mqtt for both rabbitmq, vernemq and activemq.
I think mzbench is the most valuable tool to do this, but I struggle pretty hard. My subsciribers never receive the produced messages. I tried a lot of custom scenario, but even the official scenarios from this repo doesn't work.
Here is the scenario.
Thanks in advance for answering, this is a pretty urgent benchmark :)
Have a nice day