Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download tar.gz 54.62 KB
MD5: 3f594b6ef959b72ecdf53da3403fd4cb
SHA-1: 79c91d54959713cab812124e226ab62eff064506
SHA-256: 73472985245909bb5e3b4147eca3c5c7c239f3d8af595bdfe407f7c8a24fb136
Download zip 63.6 KB
MD5: f51de45f5958dc466b232c99ab8733eb
SHA-1: 263cd8e7cf6972b15e467fac50c409eac90401e1
SHA-256: cdac039e0d4d7fc45798ef5205dc465618c33109ea2e8eb0a0a9de8d005d43a8

Release notes

The Oversized Holiday Release (BETA)

By default, the memcached daemon only stores objects up to 1 MiB in size and attempts to store larger objects would fail silently. With this release, the Drupal memcache module now automatically splits over-sized objects into smaller pieces that can be stored (and automatically puts them back together when they are retrieved from the cache). A message will be written to the watchdog log whenever an over-sized object is split into pieces, logging how long the process took and how many pieces the data was split into. Two related configurables are documented in README.txt for advanced users (memcache_data_max_length and memcache_log_data_pieces).

Stampede protection has been enhanced to support fine-grained control of which locks are affected. This is important, as it is primarily designed to benefit the following caching pattern: a miss on a cache_get() for a specific cid is immediately followed by a cache_set() for that cid. Of course, this is not the only caching pattern used in Drupal, so stampede protection can be selectively disabled for optimal performance. For example, a cache miss in Drupal core's module_implements() won't execute a cache_set until drupal_page_footer() calls module_implements_write_cache() which can occur much later in page generation. To avoid long hanging locks, stampede protection should be disabled for these delayed caching patterns. Memcache stampede protection can now be disabled for entire bins, specific cid's in specific bins, or cid's starting with a specific prefix in specific bins.

These are not the only bug fixes and improvements in this release, see below for the complete list. This is an important update to the Drupal memcache module. It is recommended that you start testing now.

What’s changed since 7.x-1.3

Overview
The biggest new feature in this release is support for caching objects >1 MiB in size. However, there are many other important fixes and improvements listed below.

Details

Testing
As always, we have done comprehensive load testing to ensure that there have been no performance regressions introduced in this release. The loadtests we used are freely available at https://github.com/tag1consulting/drupal-loadtest. They assist in pre-populating a site with data and running a jMeter loadtest suite against the test website. While the tests aren’t comprehensive and only focus on common core functionality, they provide fantastic insight and detail into the performance differences between releases. (For example, the load tests caught a number of issues and greatly improved the final patch committed for #435694: >1M data writes incompatible with memcached (memcached -I 32M -m32), ensuring that this new functionality doesn't cause a performance penalty for websites that don't have over-sized cache items.)

Created by: jeremy
Created on: 20 Dec 2014 at 08:59 UTC
Last updated: 29 Dec 2014 at 08:33 UTC
Bug fixes
New features
Unsupported

Other releases