O'Reilly logo

RabbitMQ Cookbook by Sigismondo Boschi, Gabriele Santomaggio

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Performance Tuning for RabbitMQ

In this chapter we will cover:

  • Multithreading and queues
  • System tuning
  • Improving bandwidth
  • Using different distribution tools

Introduction

There are no standard RabbitMQ tuning guidelines because different applications should be optimized in different ways.

Very often the application needs to be optimized on the client side:

  • CPU-intensive applications can be optimized by running one thread for each CPU core
  • I/O-intensive applications can be optimized by running many threads per core in order to hide implicit latencies

In both cases messaging is a perfect fit. In order to optimize the network transfer rate, the AMQP standard prescribes that messages are transferred in bunches, and then consumed one by one by the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required