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
-
原文 HTTP 协议 and HTTP/1.x 的缺陷 连接无法复用 连接无法复用会导致每次请求都经历三次握手和慢启动。三次握手在高延迟的场景下影响较明显,慢启动则对大量小文件请求影响较大(没有达到最大窗口请求就被终止)。 HTTP/1.0 传输数据时,每次都需要重新建立连接...
-
为什么我们做分布式使用Redis? Redis is single-threaded. Memory-based. Types: String, Hash, List, Set, Sorted Set Expiration: Redis 采用的是定期删除(ran...
-
不知道为什么想起小时候的一件事。 小时候奶奶教我剪雪花纸片,几个月下来,强迫症一样,我剪了好多好多,不同大小,不同形状。 后来我看到一张天鹅湖女演员的海报,深深的喜欢她纤细的手臂上精美的白色装饰。 一天下午,我决定把雪花片穿破套在手臂上当做我的臂饰。 ...
No comments:
Post a Comment