知识卡片
Cassandra按操作选保证
Cassandra将分片和复制分散到对等节点,并为操作提供不同一致性级别,体现可用性、等待副本数和观察新鲜度的取舍。原书将Gossip写成业务数据更新传播机制过宽;本卡仅保留其可调一致性架构描述,不据此说明数据修复实现。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Consistency and Availability · 查看原书依据
Cassandra provides tunable consistency levels allowing developers to choose the desired level of consistency for each operation. It supports eventual consistency by default but also offers strong consistency options, such as quorum-based reads and writes.
参考来源
- 位置:《Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…》第04章《Consistency and Availability》(来源项目book-sources;源文件:extracted/Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…/_epub-src/OPS/ch04.xhtml)
- 结论依据:原文给出本卡对应定义或示例;Cassandra将分片和复制分散到对等节点,并为操作提供不同一致性级别,体现可用性、等待副本数和观察新鲜度的取舍。 对原文省略和过度承诺的限定是本卡显式纠正,不能反过来当作原书已证明。
- 原始内容:Cassandra provides tunable consistency levels allowing developers to choose the desired level of consistency for each operation. It supports eventual consistency by default but also offers strong consistency options, such as quorum-based reads and writes.