User:JGiannelos (WMF)/Notes/JobQueue-dev-env


 * Running background tasks on mediawiki is handled via JobQueue
 * JobQueue has various implementations
 * Simple JobQueue
 * DB based
 * Doesn't implement delayed events
 * Default in most MW development environments
 * Redis JobQueue
 * Redis based
 * Allows delayed events
 * Needs redis based jobrunner to work (mediawiki/services/jobrunner)
 * EventBus JobQueue
 * Based on EventBus extension
 * Exposes HTTP API endpoint that you can submit jobs


 * For working with delayed events the simplest way is to setup redis and redis based runners
 * docker-compose + redis
 * docker-compose + redis job runner