Redis/MediaWiki

Revision as of 14:03, 17 January 2017 by Antonizoon (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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