← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 5400.b.2.b

多工作者组合复用步骤

理解等级:中级

一个对外统一的工作者接口内部可以调用检测、识别、模糊处理等独立容器,把可复用步骤组合成专用处理能力。这样替换检测对象时仍能复用后续处理;组合层需负责步骤衔接和失败定义,不能把若干容器同时放在一组就当成已实现顺序工作流。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Chapter 11. Work Queue Systems · 查看原书依据

      the multiworker pattern transforms a collection of different worker containers into a single unified container that implements the worker interface, yet delegates the actual work to a collection of different reusable containers. This process is illustrated in Figure 11-5. Figure 11-5. The multiworker aggregator pattern as a

    参考来源

    - 位置:《Designing Distributed Systems, 2nd Edition》第11章《Chapter 11. Work Queue Systems》(来源项目 book-sources;源文件:extracted/Designing Distributed Systems, 2nd Edition/_epub-src/OEBPS/ch11.html) - 结论依据:原文人脸检测、标记、模糊的例子说明组合适配与代码复用。 - 原始内容:the multiworker pattern transforms a collection of different worker containers into a single unified container that implements the worker interface, yet delegates the actual work to a collection of different reusable containers. This process is illustrated in Figure 11-5. Figure 11-5. The multiworker aggregator pattern as a