Search code examples
laravel-5beanstalkd

Laravel 5.4 beanstalkd multiple workers


I have a million tasks in the queue that sends bulk sms. I am using the beanstalkd driver to as my queue driver. I have installed beanstalk and supervisord on my ubuntu machine.

In the docs - http://supervisord.org/configuration.html i foundnumprocs=5 for instance. Does this create five workers?.

If i have two different workers, will i have 5 processes for each worker?.


Solution

  • See here the link to the Laravel 'config' regarding supervisord.

    Queues Supervisor Config

    In this example, the numprocs directive will instruct Supervisor to run 8 queue:work processes and monitor all of them, automatically restarting them if they fail.