知识卡片

普通读书笔记卡 · 2285.k.19

编排可异步且分散

理解等级:高级

命令可以入队等待接收服务恢复,因此编排本身不造成时间耦合;同步阻塞调用链才会累加延迟并削弱可用性。协调也可以由每个微服务局部承担,无须中央总控或特定工具。工作流引擎既能发命令,也能等待多个事件并用超时处理缺失事件,是两种交互的共同实现能力。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 平衡编排与协同 · 查看原书依据

      A common myth is that commands require you to communicate synchronously, and this leads to temporal coupling (which we touched on in “Strong Cohesion and Low Coupling”). But this is not true. As “Messages, Events, and Commands” explained, commands (and events) are independent of the communication protocol. The choice between them is not connected to

    参考来源

    - 位置:《Practical Process Automation》第8章《平衡编排与协同》(来源项目:book-sources;源文件:extracted/Practical Process Automation (Bernd Ruecker)/_epub-src/OEBPS/ch08.xhtml) - 结论依据:原文给出的机制、实例与边界支持本卡的解释。 - 原始内容:A common myth is that commands require you to communicate synchronously, and this leads to temporal coupling (which we touched on in “Strong Cohesion and Low Coupling”). But this is not true. As “Messages, Events, and Commands” explained, commands (and events) are independent of the communication protocol. The choice between them is not connected to