Hi all !
I've set up a Mercury install some while ago on a Rackspace environment, and as we're about to launch our website, I decided to do a little upgrade.
I realized that Mercury 1.0 was released, so I decided to hang up with memcache.
I followed the instructions on http://groups.drupal.org/node/25425 and began to install memcache.
Then, I got on http://www.lullabot.com/articles/how_install_memcache_debian_etch to get everything for memcache installed on my Ubuntu 9.04.
So, basically, I had libevent + memcached + PECL memcache + Drupal memcache configured
In the install doc, we still need cacherouter, but in the settings.php, the $conf['cache_inc'] refers to memcache.
Shouldn't it refer to cacherouter with 'engine' => 'memcache', ?
What are the layers of all the caching system ?
- VARNISH
- MEMCACHE
- CACHEROUTER
- DRUPAL
- MYSQL
Thank you for your explanations !
Comments
There's More!
First of all: Mercury 1.0 does not use cacherouter, reverting to the dedicated memcache module. While this means we miss out on some advantages with APC, we made the switch to take advantage of some additional features for multisites, locking and wildcard-clearing that matter for high-concurrency sites. You should review the documentation, as you no longer need cacherouter the module, but you do need memcache the drupal module.
As for where there's caching at work, you should also consider client-side browser caching (via mod_expires) as well as APC opcode caching.
https://pantheon.io | http://www.chapterthree.com | https://www.outlandishjosh.com
Thank you Josh, I understand
Thank you Josh, I understand better now.
And I completely agree to prioritize multisites.
I got confused because in the install guide mentionned above, there is still steps that refer to cacherouter (paragraph 8 and 11).
It may need a little update.