六允读什么| 仙代表什么生肖| 嘴里有粘液是什么原因| 打豆浆用什么豆子| 挂件是什么意思| 玻璃体混浊用什么眼药水| wbc是什么意思医学| 喝红茶对身体有什么好处| 舌苔腻是什么意思| 打耳洞不能吃什么| 脱力是什么意思| 输卵管堵塞是什么原因造成的| 牛角尖是什么意思| 皂角是什么| 胸腔积液是什么原因造成的| 石斛不能和什么一起吃| iq什么意思| 什么土方治咳嗽最有效| 性生活过多有什么危害| 为什么会乳糖不耐受| 怀孕为什么要吃叶酸| 草字头有什么字| 剑兰什么时候开花| 肉桂粉是什么做的| ppt是什么意思| 迂回什么意思| 白头翁吃什么食物| 婴儿什么时候开始认人| 基础代谢是什么意思| 1945年是什么年| PT医学上是什么意思| 十面埋伏是什么生肖| 自闭症是什么| 水灵灵是什么意思| 失聪是什么原因造成的| 甘油三酯偏高是什么意思| 什么的武松| 右手小指疼痛预兆什么| 什么是凤凰男| cua是什么意思| 食物中毒用什么药| 男生早上为什么会晨勃| tl是什么意思| 什么病可以办低保| 什么是认知障碍| 俄罗斯乌拉是什么意思| 生殖器疱疹用什么药最好| 什么姓氏好听| 淋巴结什么原因引起的| 燕窝是什么东西做成的| 果皮属于什么垃圾| 打鼾挂什么科| medium什么意思| 过期牛奶有什么用途| fredperry是什么牌子| 梦见钓鱼是什么意思周公解梦| 打狂犬疫苗不能吃什么食物| 肝气不足吃什么中成药| 郑州有什么好吃的| 立秋是什么时候| 铠字五行属什么| 什么是闭合性跌打损伤| 牙齿掉了一小块是什么原因| 为什么说肺结核是穷人病| 梦到前男友是什么意思| 梦见小麦粒是什么意思| 甲状腺结节吃什么药| 喝蒲公英茶有什么作用| 胃酸吃什么食物好| 眼睛一直跳是什么原因| 胸痹是什么意思| 阿迪达斯neo什么意思| 1996属鼠的是什么命| 鹤顶红是什么| pa是什么单位| 什么是胰腺癌| 心慌心闷是什么原因| 断奶吃什么药| 肚子里有积水是什么病| 麻子是什么意思| 只是当时已惘然是什么意思| rap什么意思| 双性是什么意思| 鄙人不才是什么意思| 什么鸡没有翅膀| 一什么山泉| 山药煲汤搭配什么好| 什么食物对心脏好| 力不从心的意思是什么| 州字五行属什么| 研讨会是什么意思| 女孩子为什么会痛经| 如日中天是什么生肖| 韩世忠为什么不救岳飞| 心脏支架不能吃什么| 五行海中金是什么意思| 路上遇到蛇是什么征兆| 头发不干就睡觉有什么危害| 黄金有什么作用| 阴到炎用什么药好得快| 一直呕吐是什么原因| 帕金森挂什么科| 白虎关是什么意思| 过敏性鼻炎吃什么药好的快| 橄榄油的好处和坏处是什么| 心脏不好吃什么| 营卫不和吃什么中成药| lh是什么意思啊| 什么叫腺瘤| 肺结节吃什么食物好| 备孕需要注意些什么| 针眼是什么样子的图片| 知了是什么动物| 幼小衔接班主要教什么| rose是什么意思| 女人手心脚心发热是什么原因| 看病人送什么花合适| 屁股痛挂什么科| 扁桃体发炎吃什么食物好| 起付线是什么意思| 母乳是什么颜色| 未见卵黄囊是什么意思| 鳄鱼为什么流眼泪| 桂字五行属什么| 荨麻疹吃什么药好的快| 吃什么有助于骨头恢复| 胃肠感冒吃什么药| 今年62岁属什么生肖| 孩子嗓子疼吃什么药| 牛蒡根泡水喝有什么好处| 前列腺炎挂什么科| 穗字五行属什么| 枕大神经痛吃什么药| 淡水鱼什么鱼最好吃| 红色加黄色等于什么颜色| 女生男相的是什么命| 宝宝病毒感染吃什么药效果好| 血氧饱和度低于90有什么危害| pdc是什么意思| 苯对人体有什么危害| 灌溉是什么意思| 250是什么意思| 舌尖发麻是什么原因| Lady什么意思| 铁低的原因是什么| 什么花是绿色的| 什么肉不含嘌呤| 辗转反侧什么意思| 乙肝五项第二项阳性是什么意思| 什么鱼最迟钝| ih是什么意思| 交杯酒是什么意思| 小孩为什么会细菌感染| 名字是什么意思| sansui是什么牌子| 9.30号是什么星座| 外阴瘙痒什么原因引起| 泌乳素高有什么影响| 995是什么意思| 李时珍的皮是什么意思| 难免流产什么意思| 苦瓜有什么功效和作用| 怀孕的脉搏和正常脉搏有什么区别| 伯爵是什么意思| 贻字五行属什么| 小孩肚脐眼上面疼是什么原因| 免疫组织化学染色诊断是什么| 再三的意思是什么| 处暑是什么时候| 雍正为什么只在位13年| 深井冰是什么意思| 痛风是什么感觉| 带银子发黑是什么原因| 腱鞘炎有什么治疗方法| 冷暖自知的前一句是什么| 洁面液是干什么用的| 19年属什么| 天津古代叫什么| 今天是什么纪念日| 百香果什么季节成熟| 女人腰酸背痛是什么病| 为什么13周不让建卡了| 肠胃感冒吃什么| 一级护理是什么意思| 肚子有硬块是什么原因| 扁桃体结石吃什么药| 紧急避孕药什么时候吃最好| 顾虑是什么意思| cph是什么意思| 康复治疗技术学什么| 荭是什么意思| 宝宝蛋白质过敏喝什么奶粉| 月经不调吃什么药调理最好| 张柏芝什么星座| 左侧卵巢内囊性回声是什么意思| 癫痫是什么意思| 湿阻病是什么病| 育婴员是做什么的| 肾囊肿有什么症状| 梦见抓蝎子是什么意思| 黑眼圈是什么原因| 七星瓢虫吃什么食物| 失眠看什么科| 什么仗人势| 含蓄是什么意思| 死库水是什么意思| 高血压变成低血压是什么原因| 小孩流鼻涕咳嗽吃什么药| 吃槟榔有什么好处和坏处| 夏天空调开什么模式| 大限是什么意思| 蟑螂卵什么样| 睾丸是什么形状的| ojbk是什么意思| 为什么生日不能提前过| 胃胀气是什么症状| 洋生姜的功效与作用是什么| uc是什么| 鼻子下面长痘什么原因| 什么叫丹毒| 三月出生的是什么星座| ibm是做什么的| 肌酐高是什么问题| 湿气严重吃什么药好得快| 胆固醇高不能吃什么水果| 偶尔胸闷是什么原因| 按摩是什么意思| 放屁臭是什么原因| 什么是益生菌| 七星鱼吃什么食物| 尿道口流脓吃什么药| 盗汗是什么原因| 血红蛋白低说明什么| 京东积分有什么用| 六月二十七是什么日子| 生菜是什么菜| 一什么商店| 减肥期间适合喝什么酒| 食之无味什么意思| 固摄是什么意思| 扑热息痛又叫什么名| 书五行属性是什么| 狗狗呕吐吃什么药| 蝉喜欢吃什么| 7月初二是什么星座| 白带有血丝是什么原因| 天贝是什么东西| 脚肿挂什么科室| 胆固醇高会引起什么病| 艾灸灸出水泡是什么情况| epa是什么| 1比1是什么意思| 左眼皮一直跳是什么原因| 襄是什么意思| 什么样的蝴蝶| 临终关怀的目的是什么| 厄瓜多尔说什么语言| 耳轮有痣代表什么| 粽子叶子是什么叶子| 做肠镜检查需要提前做什么准备| 什么有成什么| 心脏呈逆钟向转位什么意思| 梦见好多老鼠是什么意思| 一个木一个寿念什么| 百度Jump to content

为什么“尚未公布”的新版铁霸是我最期待的欧米茄?

From Wikipedia, the free encyclopedia
The tradeoff between availability, consistency and latency, as described by the PACELC design principle.
百度 各单位应在7个工作日内反馈办理意见,情况复杂的可延长至15个工作日。

In database theory, the PACELC design principle is an extension to the CAP theorem. It states that in case of network partitioning (P) in a distributed computer system, one has to choose between availability (A) and consistency (C) (as per the CAP theorem), but else (E), even when the system is running normally in the absence of partitions, one has to choose between latency (L) and loss of consistency (C).

Overview

[edit]

The CAP theorem can be phrased as "PAC", the impossibility theorem that no distributed data store can be both consistent and available in executions that contains partitions. This can be proved by examining latency: if a system ensures consistency, then operation latencies grow with message delays, and hence operations cannot terminate eventually if the network is partitioned, i.e. the system cannot ensure availability.[1]

In the absence of partitions, both consistency and availability can be satisfied.[2] PACELC therefore goes further and examines how the system replicates data. Specifically, in the absence of partitions, an additional trade-off (ELC) exists between latency and consistency.[3] If the store is atomically consistent, then the sum of the read and write delay is at least the message delay. In practice, most systems rely on explicit acknowledgments rather than timed delays to ensure delivery, requiring a full network round trip and therefore message delay on both reads and writes to ensure consistency.[1] In low latency systems, in contrast, consistency is relaxed in order to reduce latency.[2]

There are four configurations or tradeoffs in the PACELC space:

  • PA/EL - prioritize availability and latency over consistency
  • PA/EC - when there is a partition, choose availability; else, choose consistency
  • PC/EL - when there is a partition, choose consistency; else, choose latency
  • PC/EC - choose consistency at all times

PC/EC and PA/EL provide natural cognitive models for an application developer. A PC/EC system provides a firm guarantee of atomic consistency, as in ACID, while PA/EL provides high availability and low latency with a more complex consistency model. In contrast, PA/EC and PC/EL systems only make conditional guarantees of consistency. The developer still has to write code to handle the cases where the guarantee is not upheld. PA/EC systems are rare outside of the in-memory data grid industry, where systems are localized to geographic regions and the latency vs. consistency tradeoff is not significant.[4] PC/EL is even more tricky to understand. PC does not indicate that the system is fully consistent; rather it indicates that the system does not reduce consistency beyond the baseline consistency level when a network partition occurs—instead, it reduces availability.[3]

Some experts like Marc Brooker argue that the CAP theorem is particularly relevant in intermittently connected environments, such as those related to the Internet of Things (IoT) and mobile applications. In these contexts, devices may become partitioned due to challenging physical conditions, such as power outages or when entering confined spaces like elevators. For distributed systems, such as cloud applications, it is more appropriate to use the PACELC theorem, which is more comprehensive and considers trade-offs such as latency and consistency even in the absence of network partitions.[5]

History

[edit]

The PACELC theorem was first described by Daniel Abadi from Yale University in 2010 in a blog post,[2] which he later clarified in a paper in 2012.[3] The purpose of PACELC is to address his thesis that "Ignoring the consistency/latency trade-off of replicated systems is a major oversight [in CAP], as it is present at all times during system operation, whereas CAP is only relevant in the arguably rare case of a network partition." The PACELC theorem was proved formally in 2018 in a SIGACT News article.[1]

Database PACELC ratings

[edit]

[3] Original database PACELC ratings are from.[6] Subsequent updates contributed by wikipedia community.

  • The default versions of Amazon's early (internal) Dynamo, Cassandra, Riak, and Cosmos DB are PA/EL systems: if a partition occurs, they give up consistency for availability, and under normal operation they give up consistency for lower latency.
  • Fully ACID systems such as VoltDB/H-Store, Megastore, MySQL Cluster, and PostgreSQL are PC/EC: they refuse to give up consistency, and will pay the availability and latency costs to achieve it. Bigtable and related systems such as HBase are also PC/EC.
  • Amazon DynamoDB (launched January 2012) is quite different from the early (Amazon internal) Dynamo which was considered for the PACELC paper.[6] DynamoDB follows a strong leader model, where every write is strictly serialized (and conditional writes carry no penalty) and supports read-after-write consistency. This guarantee does not apply to "Global Tables[7]" across regions. The DynamoDB SDKs use eventually consistent reads by default (improved availability and throughput), but when a consistent read is requested the service will return either a current view to the item or an error.
  • Couchbase provides a range of consistency and availability options during a partition, and equally a range of latency and consistency options with no partition. Unlike most other databases, Couchbase doesn't have a single API set nor does it scale/replicate all data services homogeneously. For writes, Couchbase favors Consistency over Availability making it formally CP, but on read there is more user-controlled variability depending on index replication, desired consistency level and type of access (single document lookup vs range scan vs full-text search, etc.). On top of that, there is then further variability depending on cross-datacenter-replication (XDCR) which takes multiple CP clusters and connects them with asynchronous replication and Couchbase Lite which is an embedded database and creates a fully multi-master (with revision tracking) distributed topology.
  • Cosmos DB supports five tunable consistency levels that allow for tradeoffs between C/A during P, and L/C during E. Cosmos DB never violates the specified consistency level, so it's formally CP.
  • MongoDB can be classified as a PA/EC system. In the baseline case, the system guarantees reads and writes to be consistent.
  • PNUTS is a PC/EL system.
  • Hazelcast IMDG and indeed most in-memory data grids are an implementation of a PA/EC system; Hazelcast can be configured to be EL rather than EC.[8] Concurrency primitives (Lock, AtomicReference, CountDownLatch, etc.) can be either PC/EC or PA/EC.[9]
  • FaunaDB implements Calvin, a transaction protocol created by Dr. Daniel Abadi, the author[3] of the PACELC theorem, and offers users adjustable controls for LC tradeoff. It is PC/EC for strictly serializable transactions, and EL for serializable reads.
DDBS P+A P+C E+L E+C
Aerospike[10] Yes paid only optional Yes
Bigtable/HBase Yes Yes
Cassandra Yes Yes[a] Yes[a]
Cosmos DB Yes Yes [b]
Couchbase Yes Yes Yes
Dynamo Yes Yes[a]
DynamoDB Yes Yes Yes
FaunaDB[12] Yes Yes Yes
Hazelcast IMDG[8][9] Yes Yes Yes Yes
Megastore Yes Yes
MongoDB Yes Yes
MySQL Cluster Yes Yes
PNUTS Yes Yes
PostgreSQL Yes Yes Yes Yes
Riak Yes Yes[a]
SpiceDB[13] Yes Yes Yes
VoltDB/H-Store Yes Yes

See also

[edit]

Notes

[edit]
  1. ^ a b c d Dynamo, Cassandra, and Riak have user-adjustable settings to control the LC tradeoff.[6]
  2. ^ Cosmos DB has five selectable consistency levels to control the LC tradeoff.[11]

References

[edit]
  1. ^ a b c Golab, Wojciech (2018). "Proving PACELC". ACM SIGACT News. 49 (1): 73–81. doi:10.1145/3197406.3197420. S2CID 3989621.
  2. ^ a b c Abadi, Daniel J. (2025-08-05). "DBMS Musings: Problems with CAP, and Yahoo's little known NoSQL system". Retrieved 2025-08-05.
  3. ^ a b c d e Abadi, Daniel J. "Consistency Tradeoffs in Modern Distributed Database System Design" (PDF). Yale University.
  4. ^ Abadi, Daniel (15 July 2019). "The dangers of conditional consistency guarantees". DBMS Musings. Retrieved 29 August 2024.
  5. ^ Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems. O'Reilly Media. ISBN 978-1449373320.
  6. ^ a b c Abadi, Daniel J.; Murdopo, Arinto (2025-08-05). "Consistency Tradeoffs in Modern Distributed Database System Design". Retrieved 2025-08-05.
  7. ^ "Global tables - multi-Region replication for DynamoDB". AWS Documentation. Retrieved 4 January 2023.
  8. ^ a b Abadi, Daniel (2025-08-05). "DBMS Musings: Hazelcast and the Mythical PA/EC System". DBMS Musings. Retrieved 2025-08-05.
  9. ^ a b "Hazelcast IMDG Reference Manual". docs.hazelcast.org. Retrieved 2025-08-05.
  10. ^ Porter, Kevin (29 March 2023). "Where does aerospike fall in PACELC?". Aerospike Community Forum. Retrieved 30 March 2023.
  11. ^ "Consistency Levels in Azure Cosmos DB". Retrieved 2025-08-05.
  12. ^ Abadi, Daniel (2025-08-05). "DBMS Musings: NewSQL database systems are failing to guarantee consistency, and I blame Spanner". DBMS Musings. Retrieved 2025-08-05.
  13. ^ Zelinskie, Jimmy (2025-08-05). "SpiceDB Concepts: Consistency". SpiceDB documentation. Retrieved 2025-08-05.
[edit]
姓杨的女孩子取什么名字 鸳鸯戏水是什么意思 hushpuppies是什么牌子 梦见狗咬别人是什么意思 舌苔发白吃什么药
送孕妇什么礼物最贴心 地钱是什么植物 什么桃子 爱的真正含义是什么 什么原因导致有幽门杆菌
不长头发是什么原因 cts是什么意思 什么是环境影响评价 正月初七什么星座 肌层回声均匀是什么意思
葡萄胎是什么意思 儿童哮喘挂什么科 拔智齿后可以吃什么 女人性高潮是什么感觉 3月5日是什么星座的
宫颈纳囊多发是什么意思hcv8jop5ns0r.cn 红米有什么功效和作用hcv9jop2ns0r.cn dcr是什么hcv8jop1ns5r.cn 左舌根疼痛是什么情况hcv7jop7ns0r.cn 石楠花是什么味道xinmaowt.com
三月十九是什么星座hcv7jop4ns7r.cn 睾丸炎吃什么药最有效jasonfriends.com 查高血压挂什么科hcv8jop4ns8r.cn 蒲地蓝消炎片治什么病hcv9jop4ns2r.cn 手抖是什么原因aiwuzhiyu.com
p5是什么意思hcv8jop5ns1r.cn 现在有什么好的创业项目hcv8jop8ns7r.cn 什么是情人hcv7jop9ns1r.cn 小孩子肚子疼吃什么药hcv7jop6ns6r.cn 湿气重吃什么药最有效hcv8jop8ns4r.cn
皈依证是什么意思hcv9jop7ns2r.cn 周公吐哺天下归心是什么意思hcv9jop3ns6r.cn 乌克兰和俄罗斯为什么打仗hcv9jop3ns8r.cn 斗拱是什么意思hcv9jop4ns2r.cn 姨妈的老公叫什么hcv8jop1ns2r.cn
百度