Redis/MediaWiki: Difference between revisions

From Bibliotheca Anonoma
No edit summary
Line 16: Line 16:
* [https://segmentfault.com/q/1010000004968214 Source: HHVM + mediawiki 怎么配置]
* [https://segmentfault.com/q/1010000004968214 Source: HHVM + mediawiki 怎么配置]


== MediaWiki Object Cache with Redis ==
== MediaWiki Object/Main/Session Cache with Redis ==


[[mw:Redis#Setup]]
[[mw:Redis#Setup]]

Revision as of 01:18, 17 January 2017

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/

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