知识卡片

普通读书笔记卡 · 2285.f.9.a

拉取任务控制负载

理解等级:中级

任务处理器主动订阅使执行能力可独立于引擎扩展。外部服务不可用时关闭订阅,实例保留在任务处;资源受限时限制同时拉取数量,实现背压。耗时任务也可在处理器外部运行,完成后再报告,避免把持续工作绑到引擎线程或事务超时。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 开发流程方案 · 查看原书依据

      Second, you can scale your glue code independently of the workflow engine itself. Assume you need to do some resource-intensive calculation in the glue code—you can simply scale up the application containing that glue code, or you can build small workers focusing on only this glue code and scale those up.

    参考来源

    - 位置:《Practical Process Automation》第3章《开发流程方案》(来源项目:book-sources;源文件:extracted/Practical Process Automation (Bernd Ruecker)/_epub-src/OEBPS/ch03.xhtml) - 结论依据:原文中的定义、机制和适用条件支持上述解释,正文未将产品示例推广为所有引擎的保证。 - 原始内容:Second, you can scale your glue code independently of the workflow engine itself. Assume you need to do some resource-intensive calculation in the glue code—you can simply scale up the application containing that glue code, or you can build small workers focusing on only this glue code and scale those up.