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
Congratulations @raghavgarg! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Vote for @Steemitboard as a witness to get one more award and increased upvotes!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit