Over a million developers have joined DZone.

Benchmark: ActiveMQ, RabbitMQ, HornetQ, QPID, and Apollo

Learn how API management supports better integration in Achieving Enterprise Agility with Microservices and API Management, brought to you in partnership with 3scale

Adina Mihailescu conducted a recent study that included message queue performance testing using a Rails application that pilots a binary and enqueues/dequeues items taken from a MySQL database.

I decided to bench the following brokers:

The tests were run on a single laptop with this configuration:

  • Model: Dell Studio 1749
  • CPU: Intel Core i3 @ 2.40 GHz
  • RAM: 4 Gb
  • OS: Windows 7 64 bits
  • Ruby 1.9.3p392
  • Java 1.7.0_17-b02
  • Ruby AMQP client gem: amqp 0.9.10
  • Ruby STOMP client gem: stomp 1.2.8
  • Ruby ZeroMQ gem: ffi-rzmq 1.0.0


-- Muriel Salvan 

The benchmarks are pretty interesting and potentially useful for anyone trying to pick a message queue for their next project.  You can see from the results why ZeroMQ is so popular these days.  It doesn't make sense for every scenario, but if you can fit it nicely into your architecture, you should probably do it, since it crushed the competition in almost every test scenario.

Unleash the power of your APIs with future-proof API management - Create your account and start your free trial today, brought to you in partnership with 3scale.

Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}