Caching
.html MySQL Query Cache memcached Redis
Name | Feature | Eviction argorithm |
---|---|---|
Memcached | very large hash table across machines. | Least Recently Used(LRU) |
Memcached | Redis | |
---|---|---|
Sub-millisecond latency | Yes | Yes |
Developer ease of use | Yes | Yes |
Data partitioning | Yes | Yes |
Support for a broad set of programming languages | Yes | Yes |
Advanced data structures | - | Yes |
Multithreaded architecture | Yes | - |
Snapshots | - | Yes |
Replication | - | Yes |
Transactions | - | Yes |
Pub/Sub | - | Yes |
Lua scripting | - | Yes |
Geospatial support | - | Yes |