Select Moodle version:

Stores: Memcache Cluster

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

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

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!
Please login to post comments