In order to prevent overloading the master database when we add the PageAssessments parser function to several million articles, we should queue the queries in the Job Queue. See https://www.mediawiki.org/wiki/Manual:Job_queue/For_developers. This is also just good practice for low-priority database writes.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Niharika | T121069 Have PageAssessments do all database writes via the Job Queue | |||
Resolved | Niharika | T121068 Have PageAssessments store all the assessments in ExtensionData until the page is finished parsing |
Event Timeline
Change 258992 had a related patch set uploaded (by Niharika29):
[WIP] Do all DB writes via the JobQueue
Change 258992 abandoned by Kaldari:
[WIP] Do all DB writes via the JobQueue
Reason:
need to reimport from scratch per https://phabricator.wikimedia.org/T121157
Change 258992 restored by Kaldari:
[WIP] Do all DB writes via the JobQueue
Reason:
Doesn't seem to make much difference re the force reset.
Change 263572 had a related patch set uploaded (by Niharika29):
Submit updates via the job queue for PageAssessments
Change 258992 abandoned by Niharika29:
[WIP] Do all DB writes via the JobQueue
Reason:
Made a new change as rebasing this re-created the files from BoilerPlate extension
Change 263572 merged by jenkins-bot:
Submit updates via the job queue for PageAssessments