Using cassandra instead of memcache?

狂风中的少年 提交于 2019-12-08 16:42:04

问题


I keep reeding those articles from different sources that big sites are switching from memcache to cassandra. Coming from a mySQL background, I'll get a slight headache trying to see the pros/cons when compared to each other.

Can you help me out to learn more about this?


回答1:


It would be silly to replace memcached as a cache with Cassandra in most situations.

What companies like Digg are doing is, replacing the database+memcached pair with Cassandra: Cassandra provides both durable storage, and an integrated, high performance cache (the "row cache"). This prevents problems like memcached being populated from an out of date slave (what Twitter calls "potential consistency") and simplifies cluster management.



来源:https://stackoverflow.com/questions/2864970/using-cassandra-instead-of-memcache

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!