Your Moodle version

Stores: Memcache Cluster

Maintained by Picture of Eric Merrill Eric Merrill
Memcache caching plugin that allows separate but synced stores, particularly useful for load balanced installs.

Note for Moodle 2.8 and above: The functionality of this plugin is included in the memcache(d) plugins included with Moodle, so I will no longer be updating this plugin.

This plugin implements a modified version of the standard Memcache cache. Specifically it allows multiple, distributed, memcache stores to stay in sync with one another.

The most common use case for this is when using a load balancer, you can create memcache services on each front end server, which allows for very fast fetches. The tradeoff is that when updating the cache, the update will have to be performed against every front end server, which is comparatively slow. Some Moodle caches, such as Language Strings or Database Schema, have a very high number of fetches compared to sets, which makes them prime for this type of cache.


Picture of Eric Merrill
Eric Merrill (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • MD shot of me from his iphone4
    Tue, Dec 3, 2013, 2:53 PM
    Thanks for this interesting one!
    I'm sure many more will be interested so i've quickly updated urls with a bug tracker link.
  • MD shot of me from his iphone4
    Tue, Dec 3, 2013, 2:55 PM
    Do update on the support for moodle 2.6 too!
  • Tim at Lone Pine Koala Sanctuary
    Tue, Mar 25, 2014, 8:15 PM
    MDL-42158 and MDL-42071 area about getting this sort of thing into core. Please vote!
  • Picture of Marina Glancy
    Thu, Aug 13, 2015, 4:18 PM
    Hi Eric, can you please look at MDL-50909 ? I'll ping you on issue as well
Please login to post comments