知识卡片
一致性决定协调负担
原子一致要求操作要么全部成功要么全部失败,最终一致允许传播期间存在暂时差异。跨服务原子事务增加协调难度,因此拆分时必须先识别业务能否接受暂态。不能因为架构偏好异步,就把原有正确性要求悄悄改成最终一致。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Evolutionary Architecture Topologies · 查看原书依据
Consistency refers to the strictness of transactional integrity that communication calls must adhere to. Atomic transactions (all-or-nothing transactions requiring consistency during the processing of a request) lie on one side of the spectrum, and different degrees of eventual consistency lie on the other side.
参考来源
- 位置:《Building Evolutionary Architectures Automated Software Governance, 2nd Edition》第05章《Evolutionary Architecture Topologies》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Evolutionary Architectures Automated Software Governance, 2nd Edition/_epub-src/OEBPS/ch05.html;段落定位:Consistency refers to the strictness of transactional integrity)
- 结论依据:原文对“一致性决定协调负担”的定义或案例,支撑“原子一致要求操作要么全部成功要么全部失败,最终一致允许传播期间存在暂时差异”的归纳。据其上下文,跨服务原子事务增加协调难度,因此拆分时必须先识别业务能否接受暂态。
- 原始内容:Consistency refers to the strictness of transactional integrity that communication calls must adhere to. Atomic transactions (all-or-nothing transactions requiring consistency during the processing of a request) lie on one side of the spectrum, and different degrees of eventual consistency lie on the other side.