Last modified: 2014-06-23 16:06:53 UTC
Redis is already used around MediaWiki. I'd personally want to use Redis on my wiki. It's gaining more traction. Let's add support for Redis as an alternative to Memcached.
It seems you came here from http://www.mediawiki.org/wiki/Thread:Project:Support_desk/How_can_I_use_Redis . Also see https://www.mediawiki.org/wiki/Redis
This already possible with RedisBagOStuff and the cache config ($wgMainCache etal) and using allkeys-lru eviction in redis-server config.
Hey Aaron, Thank you very much. However, how would I implement RedisBagOStuff as I currently see no documentation on doing so whatsoever.
Example from a testwiki of mine (LocalSettings.php): $wgObjectCaches['redis'] = array( 'class' => 'RedisBagOStuff', 'servers' => array( '127.0.0.1:6379' ), ); $wgMainCacheType = 'redis';
Sorry for being a prick, but is there a way to use Redis and Memcached simultaneously? That should be my last question :)
(In reply to comment #5) > Sorry for being a prick, but is there a way to use Redis and Memcached > simultaneously? That should be my last question :) You mean redis for one cache (like page output) and memcached for another (like session) or do you mean writing to both for the same thing or something else?
Redis and memcached used in their most efficient areas separately.