chirino / mqtt-benchmark

A benchmarking tool for MQTT Servers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MQTT Benchmark

A benchmarking tool for MQTT v3.1 servers. The benchmark covers a wide variety of common usage scenarios.

Running the Benchmark

Just run:

./bin/benchmark-all

or one of the server specific benchmark scripts like:

./bin/benchmark-apollo

The benchmark report will be stored in the reports/$(hostname) directory.

Running the Benchmark on an EC2 Amazon Linux 64 bit AMI

If you want to run the benchmark on EC2, we recommend using at least the c1.xlarge instance type. Once you have the instance started just execute the following commands on the instance:

sudo yum install -y screen
curl https://nodeload.github.com/chirino/mqtt-benchmark/tarball/master | tar -zxv 
mv chirino-mqtt-benchmark-* mqtt-benchmark
screen ./mqtt-benchmark/bin/benchmark-all

The results will be stored in the ~/reports directory.

About

A benchmarking tool for MQTT Servers

License:Apache License 2.0


Languages

Language:JavaScript 71.4%Language:Scala 25.9%Language:Shell 2.7%