I have varnish, memcache, APCu & OPCache installed.
Using the varnish module & memcache module.
Want to use this apc module.
Question is...
What would be the best configuration in the settings.php file be for using this combination of varnish, memcache & apcu?
Does this module even support APCu? or only APC?
Thank you in advance.
Comments
Comment #2
jsidigital commentedI found the following two posts:
https://www.drupal.org/node/1477590
https://www.drupal.org/node/1802266
Also these:
https://www.rklawson.com/blog/2012/04/14/caching-drupal-7-varnish-apc-an...
https://drupal.stackexchange.com/questions/25219/using-drupal-7-with-apc...
https://2bits.com/articles/benchmarking-apc-vs-eaccelerator-using-drupal...
Works great on one site.
However, then using multiple drupal sites, APC starts giving me white pages of death on sites. If i remove APC code from settings.php it works again. So definitely caches are being shared within the sites. So, question is... Is there a way to add a prefix to APC to avoid different websites on the same server from clashing with each other?
Comment #3
davidsickmiller commentedThe apc module tries to use $conf['cache_prefix'] as the cache prefix. If that's not available, it uses HTTP_HOST.
I'm not really in a position to comment on the use of memcache and apc together.
Comment #4
fgmAPCu support is available in https://www.drupal.org/project/apc/issues/2846622
Comment #5
fgmComment #6
avpadernoComment #7
avpadernoWhat reported in the project page is always valid.
It cannot be more specific, as giving suggestions that are valid for all sites is quite hard.
OPcache is an opcode cache. It makes the code run faster because it caches the opcode the PHP interpreter generates from the PHP code. It does not conflict with APCu, which only caches data.
Varnish is a s a reverse caching proxy. It caches the pages produced by a HTTP server. It does not conflict with APCu. It eventually avoids a page is generated by the server and it lifts off some work from the HTTP server.
Comment #8
avpaderno