← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 2275.as.6.f.3.c.1.e.2.d.1

队列与事件日志分工

理解等级:高级

队列暂存待处理消息并以确认支持任务分配;持久事件日志则允许不同消费者按各自位置独立读取和重放。确认前后崩溃仍可能带来重复或丢失,是否具有端到端恰好一次效果取决于消费事务与外部副作用协议。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Event and Notification Management · 查看原书依据

      One well-known approach to sharing events across applications is using message queues.3 A message queue, as the name suggests, is simply a queue in which events or messages can reside until they’re processed. They’ve been used in message processing for many years and can be used to facilitate different communication styles. A common example is the point-to-point consumption model, where a publisher sends messages to

    参考来源

    - 位置:《Data Management at Scale》第06章《Event and Notification Management》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292,源文件:extracted/Data Management at Scale/_epub-src/OEBPS/ch06.html) - 结论依据:原文对queue in which events or messages的解释、约束及上下文支持本卡;内容为中文归纳,不把架构建议当作所有组织的必然规律。 - 原始内容:One well-known approach to sharing events across applications is using message queues.3 A message queue, as the name suggests, is simply a queue in which events or messages can reside until they’re processed. They’ve been used in message processing for many years and can be used to facilitate different communication styles. A common example is the point-to-point consumption model, where a publisher sends messages to