Load testing AMQP

You're going to use Apache JMeter with the AMQP plugin to generate load on RabbitMQ. For this first test, your goal is to basically saturate the logs-archiver.py script in order to determine what the maximum processing capacity of a single running instance of it. After starting JMeter, add a Thread Group element under the Test Plan element and configure it as shown in the following screenshot:

Load testing AMQP

JMeter thread group for the logs load test

As you can see, we will use 50 concurrent threads, each publishing messages to RabbitMQ in an infinite loop. This is way more than the total number of servers at CCM but remember, we want to find out ...

Get RabbitMQ Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.