知识卡片

普通读书笔记卡 · 4359.g.1.g

按异常复杂度选协调方式

理解等级:高级

编排与舞蹈的选择要看实际流程。简单、错误少且强调吞吐的单向流程适合舞蹈;包含取消、重新分派、丢消息和修复的复杂流程更需要编排。Sysops工单同时要求追踪状态、控制路由和处理多种异常,最终选编排;状态可查询本身并不排除舞蹈,因为还可按需查询或携带状态。决定应同时记录协调器的潜在扩容限制及重新评估条件。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 管理分布式工作流 · 查看原书依据

      On the other hand, orchestration is best suited for complex workflows that include boundary and error conditions. While this style doesn’t provide as much scale as choreography, it greatly reduces complexity in most cases.

    参考来源

    - 位置:《Software Architecture The Hard Parts Modern Trade-Off Analyses for Distributed Architectures (Neal Ford, Mark Richards, Pramod Sadalage etc.)》第11章《Chapter 11. Managing Distributed Workflows》(来源项目: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/ch11.xhtml) - 结论依据:原文的定义、示例或失败路径支持以下归纳:编排与舞蹈的选择要看实际流程。 其他条件结合本章同小节说明;不将模式目标当成已有运行保证。 - 原始内容:On the other hand, orchestration is best suited for complex workflows that include boundary and error conditions. While this style doesn’t provide as much scale as choreography, it greatly reduces complexity in most cases.