Saturday, February 21, 2015

Redis better than memcache?

Why Redis beats Memcached for caching

Memcached: good when 1) static/small data, 2) better horizontal scaling

Redis: good when:
1) more data structure support
2) faster for more clients
3) larger object size limit (512MB v.s. 1MB of memcached)
4) stored data can be manipulated, not opaque
5) more control over LRU policies (6)
6) tunable persistence
7) offers replication

On Redis, Memcached, Speed, Benchmarks and The Toilet
  Redis: ~ 80-100k GET/SET per sec, better for more clients.
  Memcached: ~ 60-80k GET/SET per sec

An update on the Memcached/Redis benchmark
  Memcached: 1 instance running multiple threads, overhead causes less speed per thread.
  Redis: single thread. Can run multiple instances together.

No comments:

Blog Archive

Followers