Home > Blogs > VMware vFabric Blog


How fast is a Rabbit? Basic RabbitMQ Performance Benchmarks

One of the greatest things about RabbitMQ is the community that surrounds it. With open source at its roots, people come together to share their code, their knowledge and their stories of how they’ve deployed it in their projects. At a recent meetup near Nice, France, database engineer Adina Mihailescu shared a presentation on choosing messaging systems. Supported by Murial Salvan’s benchmark comparing ActiveMQ, RabbitMQ, HornetQ, Apollo, QPID, and ZeroMQ, they shared some interesting performance comparisons that we’d like to share with you.

In a single laptop benchmark, Salvan ran four different scenarios in order to obtain some insight on performance of the default setups for these messaging solutions. Each test had 1 process dedicated to enqueuing and another dedicated to dequeuing. The message volume and size ranged from 200 to 20,000 to 200,000 messages and 32 to 1024 to 32768 bytes. Both persistent and transient queues and messages were used.

The main points are below, however you can also check out Salvan’s blog post to see the source code, charts, and a data sheet.  Here were the highlighted results:

  • Brokers perform much better with fewer, bigger messages.
  • Persistence drawbacks appear with big messages, and time on small/medium messages is spent on processing not I/O.
  • ZeroMQ’s simple feature-set delivers great performance.
  • QPID seems to perform the best when persistence is not used.
  • AMQP seems more optimized than STOMP.
  • RabbitMQ seems to outperform others by a factor of 3 except for the case of big messages.

Adina’s related presentation is titled, “Messaging Systems—How to make the right choice?” In it, she covers the following:

  • What are messaging systems?
  • How messaging helps with performance, complexity, scalability, quality, cost-effectiveness, high-availability, and messaging patterns
  • Comparison of the Java Message Service API, AMQP, and STOMP with code examples
  • Trade-offs
  • Functional and operational requirements
  • The benchmark results

In one slide, Adina highlights the benefits of message oriented middleware in the cloud, a SaaS model, and explains how overhead is reduced and scale is introduced with greater simplicity and lower cost when messaging takes place in the cloud. Her examples include Amazon Simple Queue ServiceCloudAMQP, and StormMQ. To add commentary to this slide, we’d like to also point out that RabbitMQ is available in the cloud via Cloud Foundry and Pivotal along with MongoDB, Redis, and there is also support for Scala and the Play Framework. With RabbitMQ and Cloud Foundry, there are some pretty cool things worth pointing out:

More About RabbitMQ Performance

Less than a year ago, we began publishing some information about RabbitMQ’s performance and will summarize it here and begin to build a collection of RabbitMQ performance information.

In part one, we measured performance on a single PowerEdge R610 with dual Xeon E5530s and 40GB of RAM, RabbitMQ 2.8.1 and Erlang R15B with HiPE compilation enabled and the code is available. We showed the difference in send rate, receive rate, and average latency improvements between RabbitMQ 2.7.1 and 2.8.1 due to a capability called internal flow control and significant memory improvements.

In part 2, we outlined how different features affect performance using smaller messages. For a baseline, we showed auto-ack of 44,824 messages per second with one producer and one consumer. Looking at aspects of performance independently, we can publish at 53,710 messages per second with no consumption and consume 64,315 messages per second stand-alone. We shared performance number differences from configuring the mandatory flag and immediate flag impact rates as well as acknowledgements, publish confirms, and message persistence. The diagram below explains how message send rate and bytes rate change with message size—message rates drop with size increases, but the number of bytes sent increases. You can read more about message size and horizontal scale prefetch counts in this portion of the post.

In the article, we go on to publish information for scenarios with large queues and paging—we load and drain 500,000 messages, 10,000,000 messages to show where the bottlenecks occur. There are also other in-depth performance resources on the RabbitMQ blog and you can read over 45 case studies, tutorials, and updates on RabbitMQ at the vFabric Blog.

Of course, in the spirit of community, if you’ve run across any great performance articles on messaging and RabbitMQ, we would love to hear from you and share your stories on this blog.  To let us know, leave a comment below and we will contact you.

For more information on RabbitMQ:

This entry was posted in Cloud Foundry, RabbitMQ and tagged , , , on by .
Adam Bloom

About Adam Bloom

Adam Bloom has worked for 15+ years in the tech industry and has been a key contributor to the VMware vFabric Blog for the past year. He first started working on cloud-based apps in 1998 when he led the development and launch of WebMD 1.0’s B2C and B2B apps. He then spent several years in product marketing for a J2EE-based PaaS/SaaS start-up. Afterwards, he worked for Siebel as a consultant on large CRM engagements, then launched their online community and ran marketing operations. At Oracle, he led the worldwide implementation of Siebel CRM before spending some time at a Youtube competitor in Silicon Valley and working as a product marketer for Unica's SaaS-based marketing automation suite. He graduated from Georgia Tech with high honors and an undergraduate thesis in human computer interaction.

173 thoughts on “How fast is a Rabbit? Basic RabbitMQ Performance Benchmarks

  1. AB

    This was also a good resource on scale and performance with RabbitMQ, anyone got other links to suggest?

    http://helenaedelson.com/?p=717

    Reply
  2. Muriel Salvan

    Nice article recaping our study and RabbitMQ performance.

    Keep up the good work and Thanks for the reference!

    Muriel

    Reply
  3. Shane Jaducana

    We’re using RabbitMQ with Grails, and we’re only getting a receive rate of approximately 600 messages per minute and a publish rate of approximately 1200 messages per minute.

    Where could the problem be? Why are we experiencing very slow rates?

    Thanks.

    Reply
    1. Chok

      I am assuming that all these benchmarks are done on a single machine? And for your real world usage, you are publishing from one machine to another machine? I am not sure but I am not taking in any numbers here unless they publish from one machine to a different machine, over maybe at least one or two routers. Also need the CPU speed, number of CPU cores, and number of threads used for the benchmarks.

      Reply
  4. Robert Zaremba

    We Use Stomp on RabbitMQ, we will love to see performance improvement on this plugin.

    Reply
  5. more..

    Also readDementia and cognitive Alzheimer’s Disease Part Three: Alzheimer’s DiseaseRudy HatfieldIn the same way as long chain fats.
    Getting the proper nutrition for a patient with cognitive Alzheimer’s.
    They’re frustrated within their new limitations, the same as Alzheimers disease.
    This is particularly true in those who have severe dementia.

    Reply
  6. Truls Arnulf

    Error: Please type a comment

    Reply
  7. Vanita

    Due to the great wood venetian blinds outdoors! If you plan to install the
    new conservatory that we had just had built. And again,
    thank you for wood venetian blinds your support. It will also help
    make sleeping earlier for them to sleep during the day and
    night the conservatory can be a beacon for noisy neighbours and
    passersby.

    Reply
  8. get now

    Many vertical blinds add a tremendous amount of style to your home.
    This section will go to highlight the decorative powers of conservatory blinds is important.
    To make your shopping experience more pleasant some online stores.

    Isn’t kitchen blinds it a secure and simpler step to regulate your
    expenditure?

    Reply
  9. Sabeer

    Great article, but a general suggestion: perhaps introduce something like captcha for commenting on the blog? It appears you’re being spammed…

    Reply
  10. Ruediger Moeller

    It’s unbelievable how bad central broker systems perform compared to modern brokerless messaging architectures like aeron, fast-cast or zero-mq.
    Millions of messages per second can be transmitted with those

    Reply
  11. تلفن سانترال

    Tank you for share this article

    Reply
    1. آموزشگاه خیاطی

      thank you very much

      Reply
  12. راه اندازی وب سایت

    Very good

    Reply
  13. google 2

    wonderful article thanks for the read.

    Reply
  14. google 2

    nice article.

    Reply
  15. سرور مجازی ایران

    Excellent post

    Reply
  16. خرید vpn

    This was also a good resource

    Reply
  17. دانلود فیلم

    Keep up the good work

    Reply
  18. Pingback: An Army of Solipsists » Blog Archive » This Week in Grails (2013-17)

  19. naslebartar

    امروزه با پیشرفت تکنولوژی و گسترش شبکه های کامپیوتری نسل جدیدی از ارتباطات به وجود آمده است .ویپ نیز از همین دسته ارتباطات است .با استفاده از این تکنولوژی می توان صدا را به بسته های داده ( پکت) تبدیل کرد و بر بستر شبکه منتقل کرد .
    http://naslebartar.co/%D9%88%DB%8C%D9%BE.html

    Reply
  20. Pingback: Vmware Cloud Foundry | smallbusinessinternetandphoneservice.com

  21. سئو در کرج

    شرکت طراحی وبسایت و سئو در کرج

    Reply
    1. طراحی سایت

      The method that you said was completely correct and you can refer to this site

      Reply
  22. سئوکار

    thanks very good

    Reply
    1. طراحی سایت

      Does Google recognize web branding as a seo metrics
      طراحی سایت

      Reply
  23. دستگاه تصفیه آب

    thank you very mach

    Reply
  24. تصفیه آب خانگی

    very good for web site

    Reply
  25. خرید بک لینک

    http://upsonline.ir/ups-battery/

    Reply
  26. یو پی اس

    thanks for post.

    Reply
  27. اخبار ایران و جهان

    thank you for post

    Reply
  28. فروش یو پی اس

    thanks 🙂

    Reply
    1. بلیط خارجی

      That’s pretty cool. Seems like a fun game to play with Glass.

      Reply
  29. سئوکار

    GOOD LUCK.

    Reply
  30. متخصص سئو

    https://goo.gl/Dp8vvJ

    Reply
  31. مودم 8961

    nice article thanks

    Reply
    1. tplink 8961 modem

      Yes,real thanks for them.
      check our link too:
      http://www.netset.ir/tplink/356-8961.html

      Reply
  32. مدرسه آی تی

    Your website is very good

    Reply
  33. سلامت

    Awsome site ! I am loving it ! Will come back again. I am taking your feeds also
    سلامت

    Reply
  34. دانلود پروژه معماری

    Your website is very good

    Reply
  35. محافظ صفحه نمایش شیشه ای گوشی

    Yes,real thanks for them.

    Reply
  36. یو پی اس apc

    http://hamedfayaz.ir/

    Reply
  37. حفاظت پیرامونی

    That’s Great buddy,you are a genius

    Reply
  38. تور روسیه

    thanks contant

    Reply
  39. دانلود قالب وردپرس

    http://wordpressdl.ir/

    Reply
  40. فیلم برتر

    Many thanks for the great posting. I am glad I have taken the time to see this
    keep up the excellent work 😉

    Reply
  41. خرید کاندوم

    خرید کاندوم

    Reply
  42. طراحی سایت

    Great article, but a general suggestion: perhaps introduce something like captcha for commenting on the blog? It appears you’re being spammed…

    Reply
  43. طراحی سایت

    Great article, but a general suggestion: perhaps introduce something like captcha fo

    Reply
  44. تابلو ال ای دی

    تابلو ال ای دی

    Reply
    1. khabarooz

      thanks a lot

      Reply
  45. طراحي سايت اصفهان

    great content

    Reply
  46. خرید گل

    informative

    Reply
  47. آداب معاشرت

    nice

    Reply
  48. خدمات پس از فروش لوازم خانگی

    Great article, but a general suggestion: perhaps introduce something like captcha for commenting on the blog? It appears you’re being spammed…

    Reply
  49. تعمیرگاه مجاز لوازم خانگی

    That’s Great buddy,you are a genius

    Reply
  50. تعمیرگاه لوازم خانگی

    That’s Great buddy,you are a genius

    Reply
  51. تعمیرات لوازم خانگی

    This was also a good resource

    Reply
  52. نصب و تعمیرات پکیج

    نصب و تعمیرات پکیج

    Reply
  53. نصب و تعمیرات اسپلیت کولرگازی

    نصب و تعمیرات اسپلیت کولرگازی

    Reply
  54. تعمیرات ماشین لباسشویی

    تعمیرات ماشین لباسشویی

    Reply
  55. تعمیرات ماشین ظرفشویی

    تعمیرات ماشین ظرفشویی

    Reply
  56. تعمیرات ساید بای ساید

    تعمیرات ساید بای ساید

    Reply
  57. دانلود فیلم جدید

    the community that surrounds it. With open

    Reply
  58. طراحی سایت

    That was helpful thanks for sharing

    Reply
  59. طراحی سایت

    thank you for your great article

    Reply
  60. پشتیبانی شبکه

    thats very useful for me
    thanks a lot

    Reply
  61. شیائومی

    thats very useful for me
    thanks a lot

    Reply
  62. کانال عکس پروفایل تلگرام

    thansk .

    Reply
  63. طراحی سايت

    Great ! thanks for sharing it !
    I like your posts

    Reply
  64. اورینگ

    فروش اورینگ

    Reply
  65. پکینگ

    پکینگ لاستیکی

    Reply
  66. لاستیک منجید دار

    ورق لاستیکی ،لاستیک منجید دار

    Reply
  67. رطب مضافتی بم

    رطب مضافتی بم : یکی از محصولات بسیار مهم تجاري استان کرمان رطب می باشد.

    Reply
  68. فروش خرما

    فروش خرما،خرما،کارخانه خرما

    Reply
  69. خرما سایر

    رمای استعمران یا به عبارتی سایر(estameran-sayer dates) یکی ازانواع خرماست که دارای نام های متعددی از قبیل سعمران، سایر، سمبرون، سمبارون در مناطق مختلف می باشد

    Reply
  70. تزریق چربی

    Reaaly great and helpful
    Thanks for sharing keep up the good work

    Reply
  71. دستگاه یو پی وی سی

    Nice article on RabbitMQ Performance ! Not so long but mentioned almost all the important points

    Reply
  72. شیائومی

    thank you so much

    Reply
  73. طراحی سایت

    so so very good

    Reply
  74. relaxmarket

    so nice good

    Reply
  75. سئو مشهد

    nice article
    thanks

    Reply
  76. طراحی دکوراسیون اتاق کودک مشهد

    thanks
    very good

    Reply
  77. مشاور املاک مشهد

    I like your article

    Reply
  78. طراحی سایت

    thank you so much

    Reply
  79. طراحی سایت

    have a good blog thanks for your site and content i love your blog and content

    Reply
  80. kavyasahu

    Have you published your benchmark source? That would be really helpful as I’ve done similar tests but never seen the same high levels of performance

    Reply
  81. mặt nạ làm trắng da hiệu quả tại nhà

    các cách thức ngăn ngừa da khô hiệu quả và tiết kiệm chi phí sẽ
    được chúng tôi bật mí qua bài viết này, mang lại cho bạn các bí kíp làm đẹp nhanh chóng và hiệu quả nhất hiện nay.

    Reply
  82. آموزش کسب و کار اینترنتی

    thank you very much for sharing this briliant information

    Reply
  83. طراحی سایت در کرج

    Happy to see this article this morning. Thanks

    Reply
  84. طراحی سایت

    so good post

    Reply
  85. طراحی سایت در کرج

    thank you very much for sharing this briliant information

    Reply
  86. دیجیتال مارکتینگ

    great content

    Reply
  87. سپتیک تانک

    thank you so much

    Reply
  88. irancoldpressing

    thanx alot

    Reply
  89. تعمیر یخچال

    thank you so much

    Reply
  90. تعمیر کولر گازی

    great content

    Reply
  91. مووی سنتر

    Great article

    Reply
  92. مهر شرکت

    ساخت مهر
    ساخت مهر لیزری
    ساخت مهر جیبی
    مهر برجسته
    مهر اتوماتیک
    http://fahamand.com/

    Reply
  93. خاک سرخ

    thanks
    nice site

    Reply
  94. گهواره نوزاد

    great content

    Reply
  95. thor

    great the site

    Reply
  96. ثبت شرکت در کرج

    have a good blog thanks for your site and content i love your blog and content

    Reply
  97. ثبت برند در کرج

    Tank you for share this article

    Reply
  98. رایانه کمک

    have a good blog thanks for your site and content i love your blog and content

    Reply
    1. تعمیر یخچال

      hi good the site

      Reply
  99. اجاره خودرو

    thanks for sharing its good

    Reply
  100. طراحی سایت

    Hi, It was really great and helpful thank you…

    Reply
  101. Makaveli

    tanx for sharing this post
    mt blog:
    طراحی سایت

    Reply
  102. اجاره خودرو

    thanks very good you are best

    رنت ماشین

    Reply
  103. طراحی سایت

    nice

    Reply
  104. لوازم یدکی لیفان

    thanks very good

    Reply
  105. سبد گل ترحیم

    بسیار عالی

    Reply
  106. تاج گل

    گلفروشی انلاین

    Reply
  107. لباس زیر

    thanks for website and information

    Reply
  108. مووی سنتر

    not bad…

    Reply
  109. خرید کاندوم

    very good . perfect

    Reply
  110. تابلو مغازه

    tanks for sharing

    Reply
  111. تابلو آتلیه عکاسی

    thanks very good you are best

    Reply
  112. هایک ویژن

    هایک ویژن توضیح می دهد که آیا نصب دوربین مداربسته به حریم خصوصی ما تجاوز میکند؟
    ……با پیشرفت تکنولوژی، یکی از وسایلی که برای حفظ امنیت اختراع شد دوربین های
    http://hikpersian.ir/

    Reply
  113. سرویس آسانسور

    شرکت فراز بام ماهان تمام محصولات خود را با اطمینان کافی وایمنی کامل بررسی می کند و سپس به نصب آن اقدام می کند.

    http://www.elevator-service.ir/

    Reply
  114. کار در گرجستان

    Thanks, it was interesting

    Reply
  115. اقامت گرجستان

    Thank you very much !

    Reply
  116. لودر

    Thank you very much !

    Reply
  117. لوازم آشپزخانه

    thanks very good you are best

    Reply
  118. تابلو کامپوزیت

    tanks for sharing

    Reply
  119. دانلود مقاله ی انگلیسی رایگان

    thanks man
    this site is vey good
    https://iranpaper.ir/

    Reply
  120. بلیط خارجی

    Thank you very much !

    Reply
  121. تاج گل محلاتی

    سفارش آنلاین تاج گل محلاتی

    Reply
  122. تاج گل ترحیم

    ارسال انواع تاج گل ترحیم از بازار گل محلاتی

    Reply
  123. تولید محتوا

    تولید محتوا

    Reply
  124. اقامت گرجستان

    Thanks, quite interesting information .

    Reply
  125. لوله بازکنی

    great article!

    Reply
  126. کسب و کار اینترنتی

    Thanks for the valuable content you place on the site
    It’s really great
    Thank you so much
    https://eqva.net/

    Reply
  127. کسب و کار اینترنتی

    hey guys you are awesome. thank you

    Reply
  128. چاپ عکس روی شاسی

    http://photographia.ir/

    Reply
  129. تاج گل

    If it is possible please share more about this.
    گلفروشی آنلاین وی آی پی شاپ

    Reply
  130. آتلیه کودک در تهران

    really good!

    Reply
  131. رژیم لاغری سریع

    رژیم لاغری سریع
    کاهش وزن سریع
    لاغری سریع

    Reply
  132. رژیم لاغری

    رژیم لاغری سریع
    کاهش وزن سریع
    لاغری سریع

    Reply
  133. کمپرسور هوا

    تحلیل، بررسی، آمورش و فروش آنلاین انواع کمپرسور هوای فشرده در وبسایت آریاکمپرسور

    Reply
  134. درب فلزی

    مدل های زیبا و منحصر بفرد درب فلزی در صنایع فلزی پایون ♥

    Reply
  135. درب آکاردئونی

    تولیدات ما شامل درب آکاردئونی ، درب کشویی آهنی ، انواع حفاظ پنجره ، درب های آهنی حیاط و پارکینگ و مغازه و انواع محافظ اهنی دیوار ، نرده حفاظ روی دیوار مانند حفاظ شاخ گوزنی میباشد.درب آکاردئونی به درب هایی میگویند که به‌صورت تاشو و ریلی باز و بسته می‌شود.

    Reply
  136. ناطقه

    سایست شعر و ادب
    حافظ سعدی مولانا خیام صائب تبریزی

    Reply
  137. دانلود قالب وردپرس

    VERY GOOD

    Reply
  138. درب ورودی منزل

    Great! thanks for announcing.

    Reply
  139. خرید ماساژور

    Visit us too! thanks.

    Reply
  140. تبلیغ نویسی حرفه ای

    تبلیغ نویسی حرفه ای

    Reply
  141. کسب و کار اینترنتی

    کسب و کار اینترنتی

    Reply
    1. درب آکاردئونی

      تولیدات ما شامل درب آکاردئونی ، درب کشویی آهنی ، انواع حفاظ پنجره ، درب های آهنی حیاط و پارکینگ و مغازه و انواع محافظ اهنی دیوار ،

      Reply
  142. تبلیغ نویسی

    تبلیغ نویسی

    Reply
  143. چاپ دیجیتال

    چاپ دیجیتال حرفه ای در خانه طراحان سام

    Reply
  144. درب آکاردئونی

    درب آکاردئونی درب آکاردئونی درب آکاردئونی درب آکاردئونی درب آکاردئونی درب آکاردئونی

    Reply
  145. Bala Guntipalli

    It’s A Great Pleasure reading your Article, learned a lot of new things, we have to keep on updating it Bala Guntipalli Thanks for posting.Very Thankful for the Informative Post.

    Reply
  146. Bala Guntipalli

    This Blog is beneficial and useful, came to know that I should be active in my basics and this blog helps me to improve it, Bala Guntipalli
    Thanks For Posting. My friend referees me on this blog, and I also want to refer my other friends on this blog.

    Reply
  147. یو پی اس

    thanks for the personal post. very good

    Reply
  148. دریافت جایزه با هر کلیک

    با ورود به وبسایت ما و کلیک روی هر تبلیغ 1000 تومان دریافت نمائید
    https://abtis.ir

    Reply
  149. کانون تبلیغاتی بعد پنجم

    thanks

    Reply
    1. تیزر تبلیغاتی

      it;s so good

      Reply
  150. تیزر تبلیغاتی

    it’s so good

    Reply
  151. هدایای تبلیغاتی

    e on this blog, and I also want to refer my other f

    Reply
  152. مراحل اخذ پروانه ساختمان در تهران

    e on this blog, a

    Reply
  153. تور لحظه آخری

    We and our members of our company have liked the site so much that we look at your site every day.

    Reply
  154. خانه هوشمند آلفا

    Keep up the good work and Thanks for the reference

    Reply
  155. تولدت مبارک پسرم

    the community that surrounds it. With open

    Reply
  156. سکس

    رابطه جنسی چه تاثیری بر بدن دارد؟ آیا سکس برای بدن مضر است؟

    Reply
  157. walatra jelly gamat original

    You should be a part of a contest for one of the best websites on the internet.
    I am going to highly recommend this website!

    Reply
  158. خرید ملک در گرجستان

    Hey it’s well documented . thanx

    Reply
  159. سئو

    very good and so useful text

    Reply
  160. KETABWEB

    ارسال رایگان کتاب

    Reply
  161. طراحی سایت

    Thanks

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

*