Redis/MediaWiki: Difference between revisions
From Bibliotheca Anonoma
Antonizoon (talk | contribs) |
Antonizoon (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
https://blog.go2tech.de/2016/02/the-jobqueue-how-droidwiki-de-runs-jobs/ | 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 with HHVM as Session Handler == |
Revision as of 14:03, 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/
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"
- DigitalOcean - How to Set Up a Redis Server as a Session Handler for PHP on Ubuntu 14.04
- Source: Medium @deboj88 - Load balancing a Reverse Proxy with Nginx, HHVM and PHP FPM
- Source: HHVM + mediawiki 怎么配置