cancel
Showing results for 
Search instead for 
Did you mean: 

RabbitMQ on single machine

RabbitMQ on single machine

It is advisable to install RabbitMQ on the same server as Magento CE ?

Or is there additional benefits other than CPU/memory availability of having it on another server?

The sole purpose of it is to replace cronjobs for some specific tasks, so I believe as long as Mysql and RabbitMQ have different CPU thread and there is enough memory available then it should be ok. 

 

1 REPLY 1

Re: RabbitMQ on single machine

It is not advised to run on the same server as scaling it becomes an issue. If the your corn jobs are exhausting all memory than It might be a wrong corn implementation.
I would suggest breaking long tasks into smaller tasks (chunks) and using a queue to process them.

There is a guide by Nexess which will help you for configurations: https://www.nexcess.net/white-paper/magento-2-optimized-ebook/

Thanks