`
foreversunyao
  • 浏览: 212124 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

CAP Theorem

 
阅读更多

 

今天阅读了分布式系统中著名的论文(介绍CAP)理论的,这里简单介绍下CAP,C代表Consistency,A代表Availability,P代表Partition Tolerance, CAP理论简单的就是说这三者无法达到统一,系统中之多保证其中的两项,而在分布式系统中往往可用性和数据备份容灾要比一致性来得更为重要。

可用性简单的说就是你可以访问某个资源,(在相对短的时间内,因为用户能快速的得到自己想要的往往是很关键的);分布式容灾就是你需要多台服务器,而不是一台,你需要一台机子down掉之后或是网络故障之后,你的应用还在运行,你的数据不会丢失;一致性就是同样的数据不应该存在不同的数值,具体可以参考数据库ACID中如何通过隔离性达到数据的一致性。

 

什么样的业务场景,需要什么样的业务要求,这是一个这种权衡的问题。

如何想进一步延伸的话可以阅读BASE理论,是对CAP中AP的重新理解。

分享到:
评论

相关推荐

    A Critique of the CAP Theorem.pdf

    The CAP Theorem is a frequently cited impossibility result in distributed systems, especially among NoSQL distributed databases. In this paper we survey some of the confusion about the meaning of CAP,...

    Perspectives on the CAP Theorem.pdf

    This trade-off, which has become known as the CAP Theorem, has been widely discussed ever since. In this paper, we review the CAP Theorem and situate it within the broader context of distributed ...

    Brewer’s CAP Theorem.pdf

    Over the years, the CAP theorem and has been constantly developed and slight adjustments have been made, most prominently by Brewer himself who amended in a later paper that some of the conclusions, ...

    Spanner, TrueTime & the CAP Theorem

    《Spanner, TrueTime & the CAP Theorem》这篇文章聚焦于Google的分布式数据库系统Spanner、时间同步技术TrueTime以及在分布式系统中广泛讨论的CAP定理。这些是现代大规模分布式计算环境中的核心概念,尤其在Java...

    Brewer’s CAP Theorem

    在《Brewer’s CAP Theorem@www.java1234.com.pdf》这份文档中,可能详细讨论了CAP定理的原理、应用场景、相关算法以及Java编程中如何实现和应对CAP定理带来的挑战。通过深入阅读和理解这份文档,Java开发者可以更好...

    Brewer's CAP Theorem

    ### 布鲁尔的CAP定理:分布式系统的关键原则 #### 标题与描述解析 **标题**:“布鲁尔的CAP定理” **描述**:“布鲁尔的CAP定理” 这两个简短的信息指代了分布式计算领域的一个核心概念——布鲁尔的CAP定理。...

    A Critique of the CAP Theorem

    《CAP定理批判》 CAP定理,全称为Consistency、Availability、Partition Tolerance,是分布式系统设计中的一个基础理论,由Eric Brewer在2000年提出。它指出,在分布式系统中,不能同时保证一致性(Consistency)、...

    (8)Perspectives on the CAP Theorem.pdf

    **CAP 定理详解** CAP 定理,全称为 Consistency, Availability, Partition Tolerance 定理,由 Eric Brewer 在2000年提出,它揭示了分布式系统设计中的一个基本权衡:在任何网络环境不可靠的情况下,无法同时保证...

    DB - Spanner, TrueTime and The CAP Theorem.pdf

    Spanner is Google’s highly available global SQL database [CDE+12]. It manages replicated data at great scale, both in terms of size of data and volume of transactions. It assigns globally consistent ...

    PostgreSQL 9 Administration Cookbook Second Edition

    The CAP theorem and physical limitations of replication 2 Understanding the CAP theorem 2 Understanding the limits of physics 4 Different types of replication 5 Synchronous versus asynchronous ...

    CAP Twelve Years Later:How the "Rules" Have Changed.pdf

    The CAP theorem asserts that any net- worked shared-data system can have only two of three desirable properties. How- ever, by explicitly handling partitions, designers can optimize consistency and ...

    Designing Data-Intensive Applications

    NoSQL… Big Data… Scalability… CAP Theorem… Eventual Consistency… Sharding… Nice buzzwords, but how does the stuff actually work? As software engineers, we need to build applications that are ...

    MongoDB数据库应用说明

    CAP 定理(CAP theorem),又被称作布鲁尔定理(Brewer's theorem),它指出对于一个分布式计算系统来说,不可能同时满足以下三点: * 一致性(Consistency):所有节点在同一时间具有相同的数据 * 可用性...

    NET Core3.1微服务

    CAP(CAP Theorem)是数据库领域的基础理论,它指出在分布式系统中,不能同时满足一致性、可用性和分区容错性这三个需求。.NET Core 3.1可以通过引入中间件如EasyTransaction来解决分布式事务的问题,它提供了一种...

    Redis-Essentials.pdf

    fit into the CAP theorem. It also shows how to set up both Sentinel and Cluster, their configurations, and what happens in different failure scenarios. Redis Cluster is covered in more detail, since ...

    A collection of System Design Interview Questions

    CAP定理(CAP Theorem)是分布式系统设计中一个极为重要的概念,它指出一个分布式计算系统不可能同时满足一致性(Consistency)、可用性(Availability)和分区容错性(Partition tolerance)这三个保证。...

    走向分布式

    书中还提到了分布式系统的一些核心概念,例如CAP定理(CAP Theorem),它描述了分布式计算系统中不可能同时满足一致性(Consistency)、可用性(Availability)和分区容忍性(Partition tolerance)三个属性。...

    走向分布式基础学习

    6. **CAP定理(CAP Theorem)**:CAP定理是分布式系统设计中一个非常重要的原则,它指出分布式系统不可能同时满足以下三个保证:一致性(Consistency)、可用性(Availability)和分区容忍性(Partition tolerance)...

Global site tag (gtag.js) - Google Analytics