I'd got mine set to use APC for both, but I've just split the back end into memcached.Ok cool.
So basically we've gone with a config file that only defines memcached as the backend cache, and it seems APC is working automatically. Good stuff![]()
memcache is a distributed caching system, aka ideal for more then one server. No, it's not "essential". APC is.Is memcached required if I'm on a single server?
And,
Anybody know where I can find the apc.php file (for displaying the stats on a browser)?
I'm not able to get it to install on either of my cpanel VPS'Just curious, why nobody is using Libmemcached (instead of Memcached) into their XenForo config?
It is a zillion times more performant, compared to deprecated Memcache library.
root@vps [~/memcache/libmemcached-1.0.10]# make
make all-am
make[1]: Entering directory `/root/memcache/libmemcached-1.0.10'
CXX libhashkit/libhashkit_libhashkit_la-aes.lo
CXX libhashkit/libhashkit_libhashkit_la-algorithm.lo
CXX libhashkit/libhashkit_libhashkit_la-behavior.lo
CXX libhashkit/libhashkit_libhashkit_la-crc32.lo
CXX libhashkit/libhashkit_libhashkit_la-digest.lo
CXX libhashkit/libhashkit_libhashkit_la-encrypt.lo
CXX libhashkit/libhashkit_libhashkit_la-fnv_32.lo
CXX libhashkit/libhashkit_libhashkit_la-fnv_64.lo
CXX libhashkit/libhashkit_libhashkit_la-function.lo
CXX libhashkit/libhashkit_libhashkit_la-has.lo
CXX libhashkit/libhashkit_libhashkit_la-hashkit.lo
CXX libhashkit/libhashkit_libhashkit_la-jenkins.lo
CXX libhashkit/libhashkit_libhashkit_la-ketama.lo
CXX libhashkit/libhashkit_libhashkit_la-md5.lo
CXX libhashkit/libhashkit_libhashkit_la-murmur.lo
CXX libhashkit/libhashkit_libhashkit_la-one_at_a_time.lo
CXX libhashkit/libhashkit_libhashkit_la-str_algorithm.lo
CXX libhashkit/libhashkit_libhashkit_la-strerror.lo
CXX libhashkit/libhashkit_libhashkit_la-string.lo
CXX libhashkit/libhashkit_libhashkit_la-nohsieh.lo
CXXLD libhashkit/libhashkit.la
CXX libmemcached/csl/libmemcached_libmemcached_la-context.lo
In file included from ./libmemcached/common.h:72,
from ./libmemcached/csl/common.h:40,
from libmemcached/csl/context.cc:38:
./libmemcached-1.0/memcached.h:46:27: error: tr1/cinttypes: No such file or directory
make[1]: *** [libmemcached/csl/libmemcached_libmemcached_la-context.lo] Error 1
make[1]: Leaving directory `/root/memcache/libmemcached-1.0.10'
make: *** [all] Error 2
You are done... not to mention that you get JSON and Igbinary support, as well PHP sessions cached directly into Memcached server.# yum --enablerepo=axivo install php-pecl-memcached
Been using it for a long long time, long live libmemcachedJust curious, why nobody is using Libmemcached (instead of Memcached) into their XenForo config?
It is a zillion times more performant, compared to deprecated Memcache library.
Already have PHP sessions cached into memcached. What benefit would I see having JSON and Igbinary support?Yes, on CentOS 5 you need gcc44. Congrats. You could also install instead the Axivo rpm's?
You are done... not to mention that you get JSON and Igbinary support, as well PHP sessions cached directly into Memcached server.
View attachment 32650 View attachment 32651
Same here. How is your waste on the server? Even if I have the slabs set to auto recycle, I get a high waste:Been using it for a long long time, long live libmemcached![]()
We use essential cookies to make this site work, and optional cookies to enhance your experience.