All Projects → inovex → Mqtt Stresser

inovex / Mqtt Stresser

Licence: apache-2.0
Load testing tool to stress MQTT message broker

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Mqtt Stresser

Qcloud Iot Sdk Embedded C
SDK for connecting to Tencent Cloud IoT from a device using embedded C.
Stars: ✭ 109 (-9.92%)
Mutual labels:  mqtt
Hurl
HTTP server load test and parallel curl utilities from Verizon Digital Media Services
Stars: ✭ 114 (-5.79%)
Mutual labels:  load-testing
Vertx Mqtt
Vert.x MQTT
Stars: ✭ 117 (-3.31%)
Mutual labels:  mqtt
Cec Mqtt Bridge
A HDMI-CEC to MQTT bridge for connecting HDMI-CEC-devices to your Home Automation system.
Stars: ✭ 110 (-9.09%)
Mutual labels:  mqtt
Iot Technical Guide
🐝 IoT Technical Guide --- 从零搭建高性能物联网平台及物联网解决方案和Thingsboard源码分析 ✨ ✨ ✨ (IoT Platform, SaaS, MQTT, CoAP, HTTP, Modbus, OPC, WebSocket, 物模型,Protobuf, PostgreSQL, MongoDB, Spring Security, OAuth2, RuleEngine, Kafka, Docker)
Stars: ✭ 2,334 (+1828.93%)
Mutual labels:  mqtt
Hulaaki
DEPRECATED : An Elixir library (driver) for clients communicating with MQTT brokers(via the MQTT 3.1.1 protocol).
Stars: ✭ 115 (-4.96%)
Mutual labels:  mqtt
Core
🏡 Open source home automation that puts local control and privacy first.
Stars: ✭ 48,265 (+39788.43%)
Mutual labels:  mqtt
Coogleiot
A ESP8266 Library for easy IOT device development
Stars: ✭ 118 (-2.48%)
Mutual labels:  mqtt
Ha Shellies Discovery
Script that adds MQTT discovery support for Shellies devices
Stars: ✭ 113 (-6.61%)
Mutual labels:  mqtt
Berrynet
Deep learning gateway on Raspberry Pi and other edge devices
Stars: ✭ 1,529 (+1163.64%)
Mutual labels:  mqtt
Paho.mqtt.java
Eclipse Paho Java MQTT client library. Paho is an Eclipse IoT project.
Stars: ✭ 1,620 (+1238.84%)
Mutual labels:  mqtt
Mqtt433gateway
MQTT 433.92 MHz radio-frequency device gateway
Stars: ✭ 111 (-8.26%)
Mutual labels:  mqtt
Spec
The AsyncAPI specification allows you to create machine-readable definitions of your asynchronous APIs.
Stars: ✭ 1,860 (+1437.19%)
Mutual labels:  mqtt
Vuejs Admin Server
vuejs-admin项目服务端部分
Stars: ✭ 110 (-9.09%)
Mutual labels:  mqtt
Baetyl
Extend cloud computing, data and service seamlessly to edge devices.
Stars: ✭ 1,655 (+1267.77%)
Mutual labels:  mqtt
Iot Sdk C
device sdk for baidu IoT Core service, in c. Including MQTT client
Stars: ✭ 108 (-10.74%)
Mutual labels:  mqtt
Itead sonoff
Alternative firmware for Itead Sonoff switches, based on the MQTT protocol and a TLS connection
Stars: ✭ 115 (-4.96%)
Mutual labels:  mqtt
Paho.mqtt.golang
No description or website provided.
Stars: ✭ 1,814 (+1399.17%)
Mutual labels:  mqtt
Jmstoolbox
Free universal JMS client
Stars: ✭ 119 (-1.65%)
Mutual labels:  mqtt
Awesome Mqtt
A curated list of MQTT related stuff. ✨
Stars: ✭ 1,667 (+1277.69%)
Mutual labels:  mqtt

MQTT Stresser

Load testing tool to stress MQTT message broker

Build

You need at least golang version 1.12 to build the binaries.

$ mkdir -p ${GOPATH}/src/github.com/inovex/
$ git clone https://github.com/inovex/mqtt-stresser.git ${GOPATH}/src/github.com/inovex/mqtt-stresser/
$ cd ${GOPATH}/src/github.com/inovex/mqtt-stresser/
$ make

This will build the mqtt stresser for all target platforms and write them to the build/ directory. Binaries are provided on Github, see https://github.com/inovex/mqtt-stresser.

If you want to build your own Docker image, simply type make container or see Makefile for further docker build details.

Install

Place the binary somewhere in a $PATH directory and make it executable (chmod +x mqtt-stresser).

Configure

See mqtt-stresser -h for a list of available arguments.

Run

Simple hello-world test using the public broker.mqttdashboard.com broker: (please don't DDoS them :))

$ mqtt-stresser -broker tcp://broker.mqttdashboard.com:1883 -num-clients 10 -num-messages 150 -rampup-delay 1s -rampup-size 10 -global-timeout 180s -timeout 20s

10 worker started
..........
# Configuration
Concurrent Clients: 10
Messages / Client:  1500

# Results
Published Messages: 1500 (100%)
Received Messages:  1500 (100%)
Completed:          10 (100%)
Errors:             0 (0%)

# Publishing Throughput
Fastest: 32431 msg/sec
Slowest: 16044 msg/sec
Median: 25483 msg/sec

  < 17683 msg/sec  20%
  < 24238 msg/sec  40%
  < 25876 msg/sec  60%
  < 29154 msg/sec  70%
  < 30792 msg/sec  90%
  < 32431 msg/sec  100%

# Receiving Througput
Fastest: 1469 msg/sec
Slowest: 214 msg/sec
Median: 552 msg/sec

  < 340 msg/sec  30%
  < 591 msg/sec  50%
  < 716 msg/sec  60%
  < 841 msg/sec  80%
  < 1469 msg/sec  90%
  < 1594 msg/sec  100%

Or using using our Docker image:

$ docker run --rm inovex/mqtt-stresser -broker tcp://broker.mqttdashboard.com:1883 -num-clients 10 -num-messages 150 -rampup-delay 1s -rampup-size 10 -global-timeout 180s -timeout 20s

Develop

Update dependencies

To update the used dependencies to the latest path version run:

make vendor-update vendor

If you want to bump the major version or set a specific version make your change in the go.mod file. Than run

make vendor
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].