摘要: 可能是英文不好的原因,一直不能理解什么是speculative; 到底啥意思; 这个设置的方法是在column family level设置speculative_retry = '99.0PERCENTILE'; 什么是retry呢?就是如果一个查询到了node1上,可是node1此刻非常慢,例如 阅读全文
posted @ 2017-07-26 15:05 jobforlife 阅读(416) 评论(0) 推荐(0) 编辑
摘要: Gossip is a peer-to-peer communication protocol in which nodes periodically exchange state information about themselves and about other nodes they kno 阅读全文
posted @ 2017-07-16 16:50 jobforlife 阅读(624) 评论(0) 推荐(0) 编辑
摘要: gossip协议是一种计算机对计算机的通信协议,它来源于日常社交活动中小道传闻; 现代的分布式系统中通常使用gossip协议来解决用其他方法很难解决的问题. 1.背景 Gossip算法又被称为反熵(Anti-Entropy),熵是物理学上的一个概念,代表杂乱无章,而反熵就是在杂乱无章中寻求一致,这充 阅读全文
posted @ 2017-07-15 23:36 jobforlife 阅读(4255) 评论(0) 推荐(1) 编辑
摘要: 这是cassandra里面很重要的三个值; schema version是cassandra cluster里每个node的schema版本,什么叫版本呢?因为cassandra是无中心化的,所以你很难知道所有的node上的schema是否是一致的。你不可能每次把所有的schema都拿了去比较一次。 阅读全文
posted @ 2017-07-13 22:43 jobforlife 阅读(866) 评论(0) 推荐(0) 编辑
摘要: 这个error可能会在很多时候遇到哦,看到的例子是在replace 300GB的node时候遇到了. 看到的log如下 阅读全文
posted @ 2017-06-29 06:00 jobforlife 阅读(1572) 评论(0) 推荐(0) 编辑
摘要: Hinted Hand off persistence是Cassandra 3才引入的功能; https://www.datastax.com/dev/blog/whats-coming-to-cassandra-in-3-0-improved-hint-storage-and-delivery h 阅读全文
posted @ 2017-06-28 14:49 jobforlife 阅读(198) 评论(0) 推荐(0) 编辑