Published: 06 Sept 2018 › Updated: 06 Sept 2018
memcached vs Redis
Always confused between which to use?
Here are comparisons between memcached and redis.
- Redis has multiple datatypes list, set etc unlike memcached
- Memcached has flat structure, multiple nodes but redis has master slave structure.
- Redis is persistent to disk , so no loss of data
- Redis also provides queue, caching and few more
- Built in clustering provided in memcached
- Memcached has default LAZY LRU eviction policy, redis has 6 different to offer also lazy and eager.
- Memcached is multithreaded, redis is single threaded
- Size of key in memcached can be 1 mb, redis is 512 mb key+value
Leave memcached vs Redis to:
Read more #cache posts
Best Posts From Raghav
We have not curated any of raghavgarg's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.