Help:Job queue
![]() | This is an information page. It is not an encyclopedic article, nor one of Wikipedia's policies or guidelines; rather, its purpose is to explain certain aspects of Wikipedia's norms, customs, technicalities, or practices. It may reflect differing levels of consensus and vetting. |
In MediaWiki 1.6, a job queue was introduced to perform long-running tasks asynchronously. The job queue is designed to hold many short tasks using batch processing. Up to MediaWiki 1.16, an estimate of the length of the job queue was shown at Special:Statistics. By default, each time a request runs, one job is taken from the job queue and executed.
Updating links tables when a template changes
MediaWiki 1.6 adds a job to the job queue for each article using a template. Each job is a command to read an article, expand any templates, and update the link table accordingly. So null edits are no longer necessary, although it may take a while for big operations to complete. This can help to ease strain on users.
Typical values
During a period of low loads, the job queue might be zero. At Wikimedia, the job queue is, in practice, almost never zero. In off-peak hours, it might be a few hundred to a thousand. During a busy day, it might be a few hundred thousand (values of several million are no cause for alarm), but it can quickly fluctuate by 10% or more.[1] Also as mentioned above, several servers will have different estimates for this value so apparently more varying fluctuations can also be seen.
See also
References
- ^ "leŭksman » Blog Archive » So what's in the job queue anyway?". Leuksman.com. 2008-04-22. Retrieved 2019-10-14.