Source code used to benchmark a few messaging brokers.
This source code uses hard-coded port values for accessing brokers in queue_tester/lib/queue_tester/engines directory. Each plugin is defined in this directory.
It has been developped for a benchmark which results can be accessed here.
Rails application that administrates messages to be enqueued or dequeued, and display operations performed on brokers.
Run as a normal Rails application:
bundle install
rake db:migrate
rails s
Command-line utility that enqueues/dequeues messages from/to a local MySQL database. This utility is launched by the Rails application, but can also be launched manually. In both cases it will create reports in the database as operations. It also communicates with the Rails application using websockets (therefore the Rails application has to be running prior to executing this utility).
Run using the Rails application, or by command line:
ruby -Ilib bin/run.rb --engine ActiveMQ_STOMP --action enqueue --max_enqueue_nbr 10
Home-made ZeroMQ broker in memory.
Run from the command line:
ruby bin/run.rb