Introduction to TJ Queue


Background

Several extensions have the need to do some heavy processing (inserting/updating lots of DB records, complex queries). A lot of this can be moved to background processing. TJ Queue allows creating these background jobs.

Any extension that wishes to use the background job queue can create a consumer that implements the ‘job’ they wish to perform. They can then ‘produce’ a message with the inputs needed by the job. The TJ Queue cron job will take care of fetching the messages and executing the job.

Solution

This extension will provide facility to queue data and process queue as per priority. Data will be deleted from the queue once it’s executed successfully and the log will be stored in log file. Job Queue