When should I use Memcache instead of Memcached?

It seems that PHP has two memcached libraries named memcache and memcached. What is the difference and how do you know which one to use? Is one outdated? It seems that memcached offers more methods so I would assume that means it has had the most development – but it also seems to require external C/C++ libraries so I’m not sure if I can install it.

It seems that memcache has been around longer, does not require additional libraries, and has pre-compiled binaries for even windows! I would think that it would be the better choice for now. However, being new to memcached (server) I’m not sure if there is some super important features in memcached (php) that make it worth the extra trouble.

4 Answers
4

Leave a Comment