inovex / mqtt-stresser

Load testing tool to stress MQTT message broker
Apache License 2.0
256 stars 77 forks source link

What's the size of one message you send to the broker for the pressure test? #25

Closed ethsonliu closed 5 years ago

ethsonliu commented 5 years ago
  < 147 msg/sec  75%
  < 155 msg/sec  93%
  < 164 msg/sec  96%
  < 181 msg/sec  97%
  < 190 msg/sec  98%
  < 215 msg/sec  99%
  < 232 msg/sec  100%

msg/sec only, but what's the the length of each msg?

hikhvar commented 5 years ago

https://github.com/inovex/mqtt-stresser/blob/8d363b710bbcd32aba02bd0a343a3ed2d67d17d2/worker.go#L122

This is the line which generates the payload. It's at least 13 bytes. It will increase if you send more messages. Actually the stress test focus more on message throughput then payload throughput. However pull requests to test with predefined message sizes are welcome.

ethsonliu commented 5 years ago

Thank you for response.