4 ms·
Yes, it would replace APC. Unless you are using the user-caching of APC it should not affect you.
by lonnyk 14y ago
Yes, it would replace APC. Unless you are using the user-caching of APC it should not affect you.
- Mahn 14y agoWow, that's just silly then. The user caching part of APC is practically the sole reason I use it; it's by far the fastest (non-distributed) caching mechanism available for PHP right now, several orders of magnitude faster than memcache or redis since the round-trip time is zero.
- RossM 14y agoIs that what you've found running memcache/redis on the same server? I've never actually used APC for user-caching.
- Mahn 14y agoYes, YMMV depending on your environment, but I did test this carefully before making the decision to use APC for data caching wherever possible. IIRC I saw up to thousands of fetch/store operations in just 1ms using APC; but I'd suggest you to benchmark it on your own and judge by yourself.
- memla 14y agoAre you sure about that? I'm getting better performance with XCache, and it has everything that APC has plus some other useful features like deleting keys by prefix.