Changes between Version 74 and Version 75 of NewLiveServer


Ignore:
Timestamp:
08/21/11 13:35:36 (5 years ago)
Author:
jim
Comment:

udpated memcache section

Legend:

Unmodified
Added
Removed
Modified
  • NewLiveServer

    v74 v75  
    569569}}} 
    570570 
    571 The use of memcache by Drupal is configured in /web/transitionnetwork.org/www/sites/default/settings.php: 
    572  
    573 {{{ 
    574 $conf['cache_inc'] = './sites/all/modules/cacherouter/cacherouter.inc'; 
    575 $conf['cacherouter'] = array( 
    576         'default' => array( 
    577         'engine'  => 'memcache', 
    578         'server'  => array('127.0.0.1:11211'), 
    579         'shared'  => TRUE, 
    580 ), 
     571The use of memcache by Drupal is provided by the [drupal.org/project/memcache|Memcache API and Integration module] and configured in /web/transitionnetwork.org/www/sites/default/settings.php: 
     572 
     573{{{ 
     574# JK - issue #300 (memcache large dataset issues) trying memcache instraed of cacherouter 
     575$conf = array( 
     576  'cache_inc' => './sites/all/modules/memcache/memcache.inc', 
     577  'memcache_servers' => array('127.0.0.1:11211' => 'default'), 
     578  'memcache_bins' => array( 
     579    'cache' => 'default', 
     580    'cache_content' => 'database', 
     581    'cache_form' => 'database', 
     582    'cache_views' => 'database' 
     583  ), 
    581584); 
    582585}}} 
    583586 
    584 It's not clear if there is any gain from using memcache with one server, see this thread: http://groups.drupal.org/node/73513 
     587Note that 'cache_content', 'cache_form',  and 'cache_views' all now are sent to the database as is Drupal default. All other cache requests use Memcache. 
     588 
     589NB: It's not clear if there is any gain from using memcache with one server, see this thread: http://groups.drupal.org/node/73513 -- JK note: This all depends on how busy MySQL is; if we've got a busy server then memcache will help a lot, if not, well it'll help less! 
    585590 
    586591== munin ==