知识卡片
请求回复会合并架构量子
架构量子是一组必须共同满足运行特征、无法独立交付可用功能的组件。即使两个处理器通过异步消息交换,只要前者必须立刻等后者返回订单号才能继续,后者宕机就会让前者停住,两者仍属于同一运行边界。共享数据库也会产生类似约束。因此判断独立性要看业务能否继续,而非只看传输协议是否异步。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Event-Driven Architecture Style · 查看原书依据
if a response is needed right away from the event consumer, it ties those event processors together synchronously, forming a single quantum.
参考来源
- 位置:《Fundamentals of Software Architecture》原书第15章《Event-Driven Architecture Style》(阅读计划第18项,单元23;源文件:`OEBPS/ch15.html`)
- 结论依据:原书以订单号请求回复和共享数据库解释事件架构量子会合并。
- 原始内容:if a response is needed right away from the event consumer, it ties those event processors together synchronously, forming a single quantum.