对比项 Memcache Redis 胜出
数据结构 k,v string
hash
list
set
zset
redis
持久化 不支持 rdb
aof
redis
高可用 依赖客户端 sentinel redis
存储容量 1M 512M redis
数据一致性 支持事务 CAS -
内存分配 预分配 临时申请 memcache
性能 memcache
大数据量 memcache