jeudi 27 septembre 2018

Multiple Laravel App using the same table job

I am working with 3 HTTP servers using the same Laravel app and sharing the same DATABASE, where the first server realize the LoadBalance using nginx, basically with the same weight.

The application works in many queue of jobs using the database's drive on table "jobs". The only server that proccess the jobs (php artisan queue:listen) is the app1.

I would like to know if i can proccess the jobs in the others servers or has some advices about it and if someone had the same experience.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire