知识卡片

普通读书笔记卡 · 5407.l

事务约束协调并发更新

理解等级:高级

事务战术把相关状态更新纳入原子、一致、隔离、持久的边界,用明确协议协调执行,避免并发访问随意交错。原章以2PC作为常见跨组件实现,但提交协议本身不能替代隔离设计,异步传消息也不会自动获得ACID。应明确资源与故障边界,再评价具体事务机制。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 可用性 · 查看原书依据

      Transactions. Systems targeting high-availability services leverage transactional semantics to ensure that asynchronous messages exchanged between distributed components are atomic, consistent, isolated, and durable—properties collectively referred to as the “ACID properties.”

    参考来源

    - 位置:《Software Architecture in Practice, 4th Edition》第4章《可用性》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch04.html) - 结论依据:原文的定义、机制或比较支持“事务战术把相关状态更新纳入原子、一致、隔离、持久的边界,用明确协议协调执行,避免并发访问随意交错”;正文保留其条件与取舍。 - 原始内容:Transactions. Systems targeting high-availability services leverage transactional semantics to ensure that asynchronous messages exchanged between distributed components are atomic, consistent, isolated, and durable—properties collectively referred to as the “ACID properties.”