jeudi 28 avril 2016

How to setup a laravel queue job which runs continuously for checking pending records in database

I'm new to Laravel queues my requirement is to fetch chunks of records from a million records table and queue them to process data and store back to some other database.

1) How to setup a queue which fetches chunks of data from database and iterate through records to add to queue.

2) Initiate multiple works to process queued jobs to speedup the process.

3) Supervisor config to run the queue for ever.

Thanks.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire