Raghav avatar

memcached vs Redis

raghavgarg

Published: 06 Sept 2018 › Updated: 06 Sept 2018

memcached vs Redis

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

Leave memcached vs Redis to:

Written by

Traveller, Dreamer and a Hacker !

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.

More Posts From Raghav