返回主题:拉取、积压与消费能力:拉得动吗

此卡片不在当前主题的阅读序列中,可返回主题继续阅读。

知识卡片

普通读书笔记卡 · 1980.z.4.b.2.e

重放要隔离现实副作用

理解等级:高级

重放需同时考虑输入起点、已有状态、数据量、耗时、代理配额和下游容量。状态计算若漏掉历史或叠加旧状态会出错;邮件、发货通知等副作用则可能在正确重放时被再次触发。应把可重建模型与不可重复行动区分,并设计幂等或屏蔽策略,重置offset不是完整的重放方案。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Deterministic Stream Processing · 查看原书依据

      Consider the impact. Some microservices perform actions that you may not want to occur when reprocessing. For instance, a service that emails users when their packages have shipped should not re-email users when reprocessing events, as it would be a terrible user experience and completely nonsensical from a business perspective. Carefully consider the impact of reprocessing on the business logic of your system, as well as potential issues that may

    参考来源

    - 位置:《Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)》第06章《Deterministic Stream Processing》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)/_epub-src/OEBPS/ch06.xhtml;规范化段落起句:Consider the impact. Some microservices) - 结论依据:原文对该对象的定义、运行说明或对比支持以下归纳:重放需同时考虑输入起点、已有状态、数据量、耗时、代理配额和下游容量。本卡同时保留其适用条件与失败边界。 - 原始内容:Consider the impact. Some microservices perform actions that you may not want to occur when reprocessing. For instance, a service that emails users when their packages have shipped should not re-email users when reprocessing events, as it would be a terrible user experience and completely nonsensical from a business perspective. Carefully consider the impact of reprocessing on the business logic of your system, as well as potential issues that may