Benchmark Tools
Java Tools
Install: RabbitMQ PerfTest
Usage
#> alternatives --list
libnssckbi.so.x86_64 auto /usr/lib64/pkcs11/p11-kit-trust.so
ld auto /usr/bin/ld.bfd
mta auto /usr/sbin/sendmail.postfix
ksh auto /bin/ksh93
java manual /usr/lib/jvm/java-11-openjdk-11.0.8.10-1.el7.x86_64/bin/java
jre_openjdk auto /usr/lib/jvm/java-11-openjdk-11.0.8.10-1.el7.x86_64
jre_11 auto /usr/lib/jvm/java-11-openjdk-11.0.8.10-1.el7.x86_64
jre_11_openjdk auto /usr/lib/jvm/jre-11-openjdk-11.0.8.10-1.el7.x86_64
#> export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-11.0.8.10-1.el7.x86_64
#> cd rabbitmq-perf-test-2.18.0
#> bin/runjava com.rabbitmq.perf.PerfTest --help
Scenario #1
- Condition:
- Queue: 50
- Producer: 100
- Consumer: 150
- Message Size: 20KB
- Message Rate: 50/s
- Ack Mode: Auto
- Throughput:
- Publish: 5000/s
- Consumer: 5000/s
- Auto-Ack
bin/runjava com.rabbitmq.perf.PerfTest --uri amqp://<username>:<password>@<rabbitmq-server-ip>:<port>/<vhost> \
--queue-pattern 'perf-test-%d' \
--queue-pattern-from 1 \
--queue-pattern-to 50 \
--producers 100 \
--consumers 150 \
--size 20000 \
--rate 50 \
--autoack