Tuesday, October 9, 2018
Memcached vs. Redis?
Memcached vs. Redis?
Redis is more powerful, more popular, and better supported than Memcached.
For anything new, use Redis.
Memcached: When you restart Memcached your data is gone.
Redis: You can turn off persistence and it will happily lose your data on restart too. If you want your cache to survive restarts it lets you do that as well. In fact, that's the default.
Memcached: limited to string
Redis: many Data Types
Subscribe to:
Post Comments (Atom)
Most Recent Posts
-
特征: In-memory type Key-Value pair (Value 可以定义本地方法) The worker thread is single-threaded; there might be more IO threads Persistent 同步 集群 → 中...
-
为什么我们做分布式使用Redis? Redis is single-threaded. Memory-based. Types: String, Hash, List, Set, Sorted Set Expiration: Redis 采用的是定期删除(ran...
-
不知道为什么想起小时候的一件事。 小时候奶奶教我剪雪花纸片,几个月下来,强迫症一样,我剪了好多好多,不同大小,不同形状。 后来我看到一张天鹅湖女演员的海报,深深的喜欢她纤细的手臂上精美的白色装饰。 一天下午,我决定把雪花片穿破套在手臂上当做我的臂饰。 ...
No comments:
Post a Comment