V2EX  ›  英汉词典

CAP Theorem

释义 Definition

CAP 定理:分布式系统中的一个经典结论,指出在发生网络分区(Partition)时,一个分布式数据系统不可能同时完全满足三者:

  • 一致性(Consistency):所有节点在同一时间看到相同的数据
  • 可用性(Availability):每个请求都能在有限时间内获得响应(不保证一定是最新数据)
  • 分区容错性(Partition Tolerance):系统在网络分裂、消息丢失/延迟导致节点无法通信时仍能继续运行

通常表述为:在出现分区时,只能在“一致性”和“可用性”之间取舍。(CAP 还有更细致的现代解读,但这是最常见的学习版本。)

发音 Pronunciation (IPA)

/ˌsiː eɪ ˈpiː ˈθiːrəm/

例句 Examples

CAP theorem says a distributed system can’t guarantee consistency and availability during a network partition.
CAP 定理指出:在网络分区发生时,分布式系统无法同时保证一致性与可用性。

When designing a global database, engineers use the CAP theorem to decide whether to favor strong consistency or higher availability under failures.
在设计全球数据库时,工程师会用 CAP 定理来判断在故障情况下更偏向强一致性还是更高可用性。

词源 Etymology

“CAP”来自三个英文关键词的首字母缩写:Consistency、Availability、Partition tolerance;“theorem”意为“定理”。该概念常与计算机科学家 Eric Brewer 在 2000 年提出的观点相关,后来由学术论文形式更严格地讨论与证明。

相关词 Related Words

文学/经典作品中的出现 Literary Works

  • Eric Brewer(2000):“Towards Robust Distributed Systems”(提出 CAP 思路的著名演讲/论文引用来源)
  • Seth Gilbert & Nancy Lynch(2002):“Brewer’s conjecture and the feasibility of consistent, available, partition-tolerant web services”(经典学术论文讨论 CAP 的可行性边界)
  • Martin Kleppmann(2017):“Designing Data-Intensive Applications”(工程实践中高频提及 CAP 及其更细致的理解)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2077 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 20ms · UTC 13:05 · PVG 21:05 · LAX 05:05 · JFK 08:05
♥ Do have faith in what you're doing.