Memcache Cluster

Stores ::: cachestore_memcachecluster
Maintained by Eric Merrill
Memcache caching plugin that allows separate but synced stores, particularly useful for load balanced installs.
Latest release:
7 sites
7 downloads
Current versions available: 1

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.

Contributors

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, 3 Dec 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, 3 Dec 2013, 2:55 PM
    Do update on the support for moodle 2.6 too!
  • Tim
    Tue, 25 Mar 2014, 8:15 PM
    MDL-42158 and MDL-42071 area about getting this sort of thing into core. Please vote!
  • Marina Glancy
    Thu, 13 Aug 2015, 4:18 PM
    Hi Eric, can you please look at MDL-50909 ? I'll ping you on issue as well
  • Ernani Joppert Pontes Martins
    Tue, 23 May 2023, 11:37 PM
    Please don't attempt to install this with Moodle version 4.2 as memcache store was removed from that release and this plugin relies on that base core plugin, more details at: https://tracker.moodle.org/browse/MDL-77161
  • Eric Merrill
    Tue, 23 May 2023, 11:40 PM
    This plugin should wasn't needed after Moodle 2.8, as the functionality was included in core at that point.
Please login to post comments