memcached vs Redis

in cache •  6 years ago 

Always confused between which to use?

Here are comparisons between memcached and redis.

  1. Redis has multiple datatypes list, set etc unlike memcached
  2. Memcached has flat structure, multiple nodes but redis has master slave structure.
  3. Redis is persistent to disk , so no loss of data
  4. Redis also provides queue, caching and few more
  5. Built in clustering provided in memcached
  6. Memcached has default LAZY LRU eviction policy, redis has 6 different to offer also lazy and eager.
  7. Memcached is multithreaded, redis is single threaded
  8. Size of key in memcached can be 1 mb, redis is 512 mb key+value
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Congratulations @raghavgarg! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

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!