I still use APC as an opcode cache, but there's a few reasons why I 
wouldn't choose it as a shared memory store..

1) APC was bundled with PHP at one point, but they have since moved in 
favour of recommending and bundling Zend OpCache. 
At some point it seems reasonable that I will dump APC in favour of Zend, 
so there's less moving parts.
But Zend OpCache doesn't support shared memory store, so its one more thing 
you;d need to migrate

2) APC doesn't scale horizontally. If you ever find you need to distribute 
APC cache across to another server, you're pretty much stumped.

Because memcache is TCPIP based, you can run it locally until you need to 
scale, at which point hive it off onto another server. 
But not only that, you can distribute it across many servers with minimal 
code changes.

Similar to APC, Memcache will expire keys, but doesn't physically remove 
them immediately. 
It will however physically expunge them if the slab its sitting on becomes 
full, and it can reuse that ram for a new key being set

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to