知识卡片

普通读书笔记卡 · 2411.e.1

源码标记关联Saga成员

理解等级:中级

可用注解或自定义属性列出系统内Saga,并标记服务参与哪些Saga;这只是可程序读取的文档,不自动执行分布式事务。代码遍历工具据此查询某工作流涉及的服务,帮助确定变更影响面与测试范围。相比把事务边界仅保存在文档中,标记能跟随入口类型维护,但仍依赖团队及时更新参与关系,不能代替实现和运行状态。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 事务Saga · 查看原书依据

      While these language artifacts themselves don’t contain any actual functionality, they do provide a programmatic way of capturing and documenting the transactional sagas in the system, as well as provide a means for associating services with transactional sagas.

    参考来源

    - 位置:《Software Architecture The Hard Parts Modern Trade-Off Analyses for Distributed Architectures (Neal Ford, Mark Richards, Pramod Sadalage etc.)》第12章《Chapter 12. Transactional Sagas》(来源项目:book-sources;源文件:extracted/Software Architecture The Hard Parts Modern Trade-Off Analyses for Distributed Architectures (Neal Ford, Mark Richards, Pramod Sadalage etc.)/_epub-src/OEBPS/ch12.xhtml) - 结论依据:原文的定义、示例或失败路径支持以下归纳:可用注解或自定义属性列出系统内Saga,并标记服务参与哪些Saga;这只是可程序读取的文档,不自动执行分布式事务。 其他条件结合本章同小节说明;不将模式目标当成已有运行保证。 - 原始内容:While these language artifacts themselves don’t contain any actual functionality, they do provide a programmatic way of capturing and documenting the transactional sagas in the system, as well as provide a means for associating services with transactional sagas.