The infrastructure used by Wikimedia Foundation for storage and execution of the MediaWiki job queue.
As of July 2018, the MediaWiki JobQueue infrastructure (at WMF) in a nutshell:
- Jobs are submitted from MediaWiki web servers to Kafka using EventBus.
- Jobs are scheduled using ChangeProp.
- Jobs are executed using rpc/RunSingleJob endpoint in wmf-config, on a dedicated "jobrunner" pool of MediaWiki app servers.
Workboard columns:
- EventBus infra - The modern infrastructure with jobs submitted from MediaWiki to Kafka using EventBus, and a standalone ChangeProp service that subscribes to Kafka which then spawns HTTP request to jobrunner servers to execute the jobs. The execution of jobs over HTTP uses the rpc/RunSingleJob endpoint.
- Git repository: mediawiki/services/change-propagation/jobqueue-deploy (GitHub mirror).
- Code Review.
- Legacy infra - The older Redis-based infrastructure, including the Redis instances, and their PHP-based jobchron and jobrunner processes. This infrastructure is being decommissioned per T198220.
See also: