title | description | path | source | hero | date | categories | tags | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
TJQueue Introduction |
Introduction to TJQueue, a Message queue for Joomla |
blob/master/docs/tj-queue |
tjqueue-introduction.md |
TJQueue - Introduction |
2020-04-22 |
|
|
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.
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.