You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ashwin Date edited this page Apr 5, 2019
·
4 revisions
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.