Reproducer for rabbitmq/discussions#59
-
git clone git@gist.github.com:48063c011134e58562b648bb4c1e63f8.git
-
docker-compose build
-
docker-compose up
-
get the IP of the rabbitmq server:
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' `docker ps | grep rabbitmq | awk '{print $1}'`
-
Open the admin: http://172.18.0.3:15672/#/ (to be adapted)
-
Publish many message
docker-compose run php /app/run.php 10000 # 10000 is the number of message to publish
-
To get the memory_breakdown data:
docker-compose exec rabbitmq rabbitmq-diagnostics memory_breakdown