background preloader

Dupal

Facebook Twitter

A Bunch of Great Strategies for Using Memcached and MySQL Better. The primero recommendation for speeding up a website is almost always to add cache and more cache. And after that add a little more cache just in case. Memcached is almost always given as the recommended cache to use. What we don't often hear is how to effectively use a cache in our own products. MySQL hosted two excellent webinars (referenced below) on the subject of how to deploy and use memcached. The star of the show, other than MySQL of course, is Farhan Mashraqi of Fotolog. You may recall we did an earlier article on Fotolog in Secrets to Fotolog's Scaling Success, which was one of my personal favorites. Fotolog, as they themselves point out, is probably the largest site nobody has ever heard of, pulling in more page views than even Flickr. What is Memcached? The first part of the first webinar gives a good overview of memcached. The rest of the first webinar is Farhan explaining in wonderful detail how they use memcached at Fotolog.

Memcached and MySQL Go Better Together. Drupal Performance Tuning and Optimization for large web sites | Memcache API and Integration. Release Candidate 7.x-1.3-rc1 August 5th, 2014 If you have enabled stampede protection ($conf['memcache_stampede_protection'] = TRUE;), it is strongly recommended that you disable it in production and begin testing this release candidate. Features This module provides integration between Drupal and Memcached with the following features: An API for using Memcached and the PECL Memcache or Memcached libraries with Drupal.Memcache backends for the following systems (all drop-in):Caching (memcache.inc)Sessions (memcache-session.inc)Locking (memcache-lock.inc)A module that provides a comprehensive administrative overview of Drupal's interaction with Memcached and stats.A set of tests that can be run to test your memcache setup.

Documentation For requirements, installation requirements, and common troubleshooting issues, see the documentation. This is a Story of Caching / memcached. Vitamin Features » Serving JavaScript Fast.