I'm curious which platform magento recommends for cache storage?
I know Magento works with both and both are full featured and that some developers prefer one over the other, but what I'm more curious about is which one would Magento say, "This is our standard."
Solved! Go to Solution.
These days, Redis is the preferred solution for anything related to cache storage. It is faster, more robust, and even has built-in support in the latest versions of Magento.
Magento specifically states this:
Clustering is not possible in Memcached but its possible in Redis.
Both doesn have its own pros and cons. But as far as magento's concern Redis is better than Memcached.
This blog have some details information about both.
Redis for cache backend, probably another instance for sessions. but memcached for sessions is good too.
There is no official Redis vs Memcache however if you speak to Magento ECG team you will find they recommend Redis for Cache and Full Page Cache as it allows you to store cache+tags in the same memory rather then having to store extra data in the database thus performs better.
I personally use Redis for Sessions, Cache and Full Page Cache and make sure I have a seperate instance per type since Redis is not threaded.
I prefer memcached as it's easier to configure compared to Redis
Kudos for the clusering note. It may actually be technically possible to accomplish, but there's no auto-discovery of other nodes in the cluster and it's a pain to configure compared to Redis, so you wind up having to manually tell each node where are the other members of the cluser which to me defeats one of the main goals of a cluster in the first place - AUTOMATED expansion and contraction based on load.
Contact me at work via AOE - the open web company online!
I am considering Redis now but what do you think about the new LiteMage cache http://www.litespeedtech.com/products/litemage-cache/overview ? Too good to be true or in real life most cache will be not so different? If so I would go with the easier to configure and maintain.
Redis/Memcache advantages are only for more than one server. If you use Redis on a dedicated server you can achieve poor results than using the standard way storing in the file system. Once you have let's say 3 servers you will feel the real power of Redis.