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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.