2018/05/31 About Consistency

一致性模型是分布式系统中非常重要的概念,一致性模型有很多分类:

  • 以数据为中心的一致性模型(Data-centric Consistency Models)
    • 强一致性/严格一致性/原子一致性(Strict Consistency)
    • 顺序一致性(Sequential Consistency)
    • 因果一致性(Causal Consistency)
  • 以客户为中心的一致性模型(Client-centric Consistency Models)
    • 最终一致性(Eventual Consistency)
    • 单调读一致性(Monotonic Read Consistency)
    • 单调写一致性(Monotonic Write Consistency)
    • Read-your-writes Consistency
    • 写跟随读一致性(Writes-follows-reads Consistency)

强一致性/严格一致性/原子一致性(Strict Consistency)

顺序一致性(Sequential Consistency)

因果一致性(Causal Consistency)

最终一致性(Eventual Consistency)

单调读一致性(Monotonic Read Consistency)

单调写一致性(Monotonic Write Consistency)

Read-your-writes Consistency

写跟随读一致性(Writes-follows-reads Consistency)