mercredi 9 mars 2016

Best environment practice when working with Queues in Laravel

I have an application which uses queues in order to send emails.

In a production environment, should I run the queue:listen command in the same application server where the application resides? Or should I do outsorcing?

So far,I've been in a dev environment working with two command lines, one for the php artisan serve command in order to get the application running and the other for the php artisan queue:listen command. If outsorcing is better for production environment, would I have to modify my code so I can work with Beanstalkd, Amazon SQS or another?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire