知识卡片

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

队列拆开来源与执行

理解等级:中级

通用工作队列管理器负责发现未处理项、启动工作、跟踪完成;来源容器负责把文件或事件等真实来源转成统一条目,工作者容器只处理条目内容。把来源与业务执行做成接口,使队列管理基础设施跨场景复用;工作项标识和完成标准必须稳定。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

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

      there are two interfaces: the source container interface, which provides a stream of work items that need processing, and the worker container interface, which knows how to actually process a work item. The Source Container Interface To operate, every work queue needs a collection of work items that

    参考来源

    - 位置:《Designing Distributed Systems, 2nd Edition》第11章《Chapter 11. Work Queue Systems》(来源项目 book-sources;源文件:extracted/Designing Distributed Systems, 2nd Edition/_epub-src/OEBPS/ch11.html) - 结论依据:原文两个接口的职责分离说明通用基础设施与业务组件的边界。 - 原始内容:there are two interfaces: the source container interface, which provides a stream of work items that need processing, and the worker container interface, which knows how to actually process a work item. The Source Container Interface To operate, every work queue needs a collection of work items that