How to achieve memcaching all caches

vacilando - October 20, 2009 - 19:17
Project:Memcache API and Integration
Version:6.x-1.x-dev
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

Testing this module, I am confused about (at least) one thing - cannot find the answer anywhere in the online and module documentation and blogs.

I simply want to use memcache instead of all Drupal caches.
Is it enough to specify 'memcache_bins' => array('cache' => 'default'),. Or does that just memcache the 'cache' table and in fact what I should be doing is listing all caches ('cache_menu', 'cache_filter', etc.) if I want them to go to the memory?

I did clear all Drupal database cache tables while memcache was running and indeed, none of the MySQL db cache tables were filling up. But I don't know whether it means
a) all cache tables are memcached as I want
or
b) only 'cache' is memcached, the other ones are not cached at all now

#1

deverman - December 5, 2009 - 11:20

Yes I am also not clear I think what should be done is to set up a seperate bin for each cache table but there is no clear tutorial on this. What I found so far is these two links:

http://www.lullabot.com/articles/setup-memcached-mamp-sandbox-environment

http://2bits.com/articles/configuring-drupal-with-multiple-bins-memcache...

 
 

Drupal is a registered trademark of Dries Buytaert.