What are the strongest features of Memcached?
3 answers
memcached is a distributed cache - the entire cache can be spread across multiple boxes. so, for example, you can use memcached to store session data in a cluster environment, so that data is available for any field in the cluster.
memcached can be compared to Microsoft Velocity ( http://blogs.msdn.com/velocity/ ).
+3
source to share
We are using memcached as a caching server in an ASP.NET website. We have 12 memcached boxes.
UP for memcached:
- Much more scalable, just add memory boxes.
- Cache nodes are very clueless: this means they are unaware of the other participating nodes. This simplifies the management and configuration of such a system.
- All webservers have the same cache values ββ(so you never see the hop values ββon which the webserver is serving your request)
DOWN for memcached:
- compared to the in-memory cache, it is very slow. Mainly due to serialization / deserialization and network latency.
- Cache nodes are very clueless: for example, there is no way to iterate over all cached items
Memcached is the simplest and fastest tool - you need distributed caching. If you can use the built-in cache in your application, it will always be faster. We are using a cache manager that will dump certain items into memcached and store others in the local cache.
+1
source to share