Commit Graph

7 Commits

Author SHA1 Message Date
Dan Poltawski 60127c84b5 Revert "Merge branch 'wip_MDL-46660_m28_memcache' of https://github.com/skodak/moodle"
This reverts commit 57fdca8cec, reversing
changes made to 62e30bfbcd.
2014-08-13 08:36:44 +01:00
Petr Skoda 67dabb5ace MDL-46660 muc: add env check to memcache driver 2014-08-11 08:57:19 +12:00
Eric Merrill 7abaa5f46c MDL-42071 caching Support for clustered memcache caching
For stores where there is a very high rate of sets compared to gets, it
is beneficial to retrieve from the local server, skipping the network
overhead, at the expense of having to set many severs when a key is set.

This patch adds a memcache option to enable clustering. When on, only
one "server" is allowed, which will be where fetches are from, while
sets/updates/deletes/purges will occur to the all the servers in the
"set server" list.

To run unit tests, define TEST_CACHESTORE_MEMCACHE_TESTSERVERS with
multiple (return delimited) servers.
2014-06-29 23:02:31 -04:00
Sam Hemelryk 170f821b9d MDL-25290 cache: Fixed things up per coding style 2012-10-08 09:53:52 +13:00
Sam Hemelryk 6fec18203b MDL-25290 cache: Renamed plugin from cache => cachestore 2012-10-08 09:53:51 +13:00
Sam Hemelryk f23fbfd849 MDL-25290 cache: Fixed up redirect loop with admin settings for cache stores 2012-10-08 09:53:51 +13:00
Sam Hemelryk e3b77f9f57 MDL-25290 cache_memcache: Added Memcache cache store 2012-10-08 09:53:51 +13:00