Redis/MediaWiki

From Bibliotheca Anonoma
Revision as of 14:03, 17 January 2017 by Antonizoon (talk | contribs)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Redis can be used as an alternative to memcached, and function as the job queue (no more running runJobs.php)

https://blog.go2tech.de/2016/02/the-jobqueue-how-droidwiki-de-runs-jobs/

Make sure to get the latest versions of Redis from outside your distribution, which can be old: https://www.linode.com/docs/databases/redis/deploy-redis-on-ubuntu-or-debian

Redis with HHVM as Session Handler

Redis support is built into HHVM. You can just set redis as a save handler in HHVM, rather than using files.

/etc/hhvm/php.ini
session.save_handler = redis
session.save_path = "tcp://localhost:6379"

MediaWiki Object/Main/Session Cache with Redis

mw:Redis#Setup

MediaWiki Job Queue with Redis

mw:Redis#Job queue