0%

Redis vs Memcached

Comparison

Redis Memcached
5 avalable data types(String,Hash,List,Set,Sorted Set) only string
key, value up to 512 MB key up to 250 bytes, value up to 1 MB
single-threaded multi-threaded
not lose data have chance losing data
centralized distributed
horizontally scale vertically scale
6 policies of eviction(No eviction, LRUs) LRU(Least Recently Used)
periodically store data to disk store to RAM