A benchmarking tool for Stomp 1.0 servers. The benchmark covers a wide variety of common usage scenarios.
The numbers look different depending on the Hardware and OS they are run on:
- Amazon Linux: EC2 High-CPU Extra Large Instance
- Ubuntu 11.10: Quad-Core 2600k Intel CPU (3.4 GHz)
- OS X: 2 x Quad-Core Intel Xeon (3 GHz)
- Apache ActiveMQ
- Apache ActiveMQ Apollo
- RabbitMQ
- HornetQ
Just run:
./bin/benchmark-all
or one of the server specific benchmark scripts like:
./bin/benchmark-activemq
Tested to work on:
- Ubuntu 11.10
- Amazon Linux
- OS X
The benchmark report will be stored in the reports/$(hostname)
directory.
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/stomp-benchmark/zip/master > stomp-benchmark.zip
unzip stomp-benchmark.zip
chmod a+x ./stomp-benchmark-master/bin/*
screen ./stomp-benchmark-master/bin/benchmark-all
The results will be stored in the ~/reports directory.
See the custom-scenario.md file for more information on how to configure other benchmarking scenarios.