I need a opcode-cache in my project. Also i will use for the datastore (mysql returned row) cache ? Which is the best for you and WHY ?
+5
A:
I'd choose APC, but only because it's being adopted as part of PHP 6.
There are also some good opinions offered on this question.
Ian Gregory
2009-10-23 15:49:30
Indeed, and I still recommend APC. Memcache has some interesting features - distributed caching but no opcode cache.
David Caunt
2009-10-23 15:58:07
Facebook uses APC very heavily -- so suffice it to say, it's pretty soundly proven in production environments.
Frank Farmer
2009-10-23 19:01:25
A:
I use XCache because it was written by the same person who wrote lighttpd, which was written for SPEED. Works on apache, also.
David Barnes
2009-10-23 16:34:45
A:
FWIW I've had great success (reliability-wise and performance-wise) using XCache. I also use it in conjunction with memcache to speed up session operations and cut down on hits to MySQL.
matt
2009-12-08 23:05:57