Source code used to benchmark a few messaging brokers
Ruby CoffeeScript JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
MessagingTest
queue_tester
zmq_broker
.gitignore
README.md

README.md

mq-benchmarks

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.

Components

MessagingTest

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

queue_tester

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

zmq_broker

Home-made ZeroMQ broker in memory.

Run from the command line:

ruby bin/run.rb