知识卡片
事务与收敛不是产品二分
ACID描述事务原子、约束、隔离和持久性;BASE概括允许软状态和最终收敛的取舍。关系或NoSQL名称不能直接决定全部保证,应逐操作确认事务范围、读取选项与失败语义。读取副本也可能滞后,不能充当实时库存扣减依据。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Choosing Platform and Technologies · 查看原书依据
At a grossly generalized level, there are two broad storage design choices Atomic, Consistent, Isolated, Durable (ACID) and Basically Available, Soft state, Eventually consistent (BASE) Let us consider what we could use for each of the different components in the ecommerce platform.
参考来源
- 位置:《Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…》第12章《Choosing Platform and Technologies》(来源项目book-sources;源文件:extracted/Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…/_epub-src/OPS/ch12.xhtml)
- 结论依据:原文的机制或对比支持以下核心判断:ACID描述事务原子、约束、隔离和持久性;BASE概括允许软状态和最终收敛的取舍。 本卡将相邻说明中的适用限制保留为解释。
- 原始内容:At a grossly generalized level, there are two broad storage design choices Atomic, Consistent, Isolated, Durable (ACID) and Basically Available, Soft state, Eventually consistent (BASE) Let us consider what we could use for each of the different components in the ecommerce platform.