使用cassandra而不是memcache? [英] Using cassandra instead of memcache?

查看:246
本文介绍了使用cassandra而不是memcache?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我继续阅读来自不同来源的文章,大型网站正在从内存缓存切换到cassandra。来自mySQL的背景,我会轻微头痛,试图看到的利弊相比。

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?

推荐答案

在大多数情况下,用Cassandra替换memcached

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

Digg正在做的是什么公司,用Cassandra替换数据库+ memcached对:Cassandra提供持久存储和集成的高性能缓存(行缓存)。这可以防止诸如memcached之类的问题从过期的slave(Twitter称为潜在一致性)填充,并简化集群管理。

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.

这篇关于使用cassandra而不是memcache?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆