1. Whe I want to use apc and memcache. how is the config?
Currently I use the following:
$conf['cache_inc'] = './sites/all/modules/cacherouter/cacherouter.inc';
$conf['cacherouter'] = array(
'default' => array(
'engine' => 'memcache',
'server' => array('localhost:11211',
'localhost:11212',
'localhost:11213',
'localhost:11214',
),
'shared' => TRUE,
'prefix' => 'ap24',
),
);
I have tried 'memcache, apc' but it does not work. Do I make a mistake or ist APC automatically used?
2. I used memcache im 4 Daemons, because I want to divide the caching of search in an own daemon?
I this good or bad?
If it es good, how can make it with cache router?
In the memcache config I can assign the bin to the daemons.
It would be great to get a feedback.
bennos
Comments
Comment #1
slantview commentedyou can only use 1 cache engine per bin. I typically would recommend if using the memcache engine to split up one memcached instance per bin. (e.g. one memcached daemon per cache_* table that exists in the database.