[Answered ]-Multiple server environments with RabbitMQ and Celery

2👍

Setting up 2 RMQ vhosts is the way to do it.

With only 1 vhost and using 2 queues you can send tasks to the environment you decide, but the control commands (shutdown, inspect, etc) will be sent to all the workers. If you use different vhosts the control commands will work as expected.

Leave a comment