Comments (5)
I don't know if it is a bug, but it looks indeed suspicious. I will have a look at our QoS setup code. Maybe there is a bug.
Do you have the corresponding sending throughput?
from mqtt-stresser.
yes here:
QoS 0
# Publishing Throughput
Fastest: 25 msg/sec
Slowest: 12 msg/sec
Median: 18 msg/sec
# Receiving Througput
Fastest: 126 msg/sec
Slowest: 23 msg/sec
Median: 77 msg/sec
QoS 1
# Publishing Throughput
Fastest: 18 msg/sec
Slowest: 9 msg/sec
Median: 14 msg/sec
# Receiving Througput
Fastest: 49685 msg/sec
Slowest: 71 msg/sec
Median: 550 msg/sec
QoS 2
# Publishing Throughput
Fastest: 16 msg/sec
Slowest: 8 msg/sec
Median: 12 msg/sec
# Receiving Througput
Fastest: 31005 msg/sec
Slowest: 69 msg/sec
Median: 567 msg/sec
from mqtt-stresser.
ok, thank you. I have to have a deeper look at the code. My current hypothesis is: If QoS>0 is set, we first send all messages and receive them afterwards in a complete bulk. If QoS==0 we receive as we sent.
The fact that sending with QoS>0 is slower that QoS==0 supports this hypothesis. Moreover this result is expected since QoS > 0 should be slower since it requires more communication between sender and broker.
from mqtt-stresser.
Can you give me some details on the used broker software? Is it a managed service? Can I setup a instance of that broker? This will help to find the issues with this.
from mqtt-stresser.
The broker is a simple eclipse-mosquitto (1.6.12) docker image with default configuration.
Docker compose:
broker:
image: eclipse-mosquitto
ports:
- 1883:1883
from mqtt-stresser.
Related Issues (20)
- No connection to localhost broker HOT 5
- Support MQTTv5
- Machine Readable Exports
- Move docker image hosting to Github HOT 1
- Stresser fails to generate constant load HOT 1
- Implement stochastic payload size and time between messages
- Make connect and disconnect intervals configureable to stress connection setup
- How to interpret Messages / Client value from the report. HOT 1
- Running the example command on macOS Big Sur 11.2.3 (20D91) fails open : no such file or directory HOT 8
- How to use stresser with mqtt authentication (user name and password) HOT 2
- How to use mqtt-stresser to publish a json message HOT 2
- Way to send an array of bytes instead of a constant string payload HOT 2
- -constant-payload produces the default payload instead of indicated one HOT 1
- Passing certificates from host to containers HOT 1
- File as a payload HOT 1
- Minor improvement for description
- How to connect with TLS self signed certificates
- Documentation : protocols being used
- Test Timeout
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mqtt-stresser.