Using Project Mercury - do not see Cache Router config in settings.php

Events happening in the community are now at Drupal community events on www.drupal.org.
theatereleven's picture

I'm getting ready to launch a site based on Pantheon's Project Mercury, but I'm not seeing evidence that the site is using things like APC correctly.

Reading other places online, it seems that when using Memcache you have to tell Drupal to use it in settings.php with something like:

$conf['cache_inc'] = './sites/all/modules/contrib/cacherouter/cacherouter.inc';
$conf['cacherouter'] = array(
  'default' => array(
    'engine' => 'db',
    'servers' => array(),
    'shared' => TRUE,
    'prefix' => '',
    'path' => 'sites/default/files/filecache',
    'static' => FALSE,
    'fast_cache' => TRUE,
  ),
);

However when I look at my settings.php file, it says:

# Varnish reverse proxy on localhost
$conf['reverse_proxy'] = TRUE;          
$conf['reverse_proxy_addresses'] = array('127.0.0.1');

# Memcached configuration
$conf['cache_inc'] = './sites/all/modules/memcache/memcache.inc';
$conf['memcache_servers'] = array(
         '127.0.0.1:11211' => 'default',
           );
### END Mercury settings written on 2011-01-09T10:02:31-08:00

Likewise, articles are saying that to use Apache compression, you must add lines for the mod deflate stuff in your .htaccess file. I don't see that at all. I'm wondering just what my Pantheon installation is and is not using. Can anyone give me some advice or point me to the right information? My site is all about authenticated users, so I'm wanting to speed up MySQL along with PHP.

Comments

Re: memcache api

alexpavlovic's picture

Hi,

Pantheon settings you provided seem correct, if this is what they are using. Read further http://drupal.org/node/1131468 for installation instructions.
I am assuming you are doing this on D6 where memcache api development focus has been at this time.

Also if you are interested in speeding up MySQL, other things to look at would be query cache, innodb buffer size ( if you are using InnoDB storage engine ), also going deeper
you can examine schema, indexes, queries and so on.

Cheers.

High performance

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: