知识卡片
处理保证要端到端界定
至少一次允许重复;至多一次可能丢失但不重复;恰好一次应说明保证覆盖的状态和副作用边界。原文把至多一次写成也允许重复,应纠正。事件唯一标识、幂等处理和事务可以帮助控制重复,但不能仅靠事后去重就宣称所有外部效果恰好一次。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Event and Notification Management · 查看原书依据
The last model is called at-most-once or no-guarantee processing. In this scenario, no guarantees are given that all messages will be delivered correctly. Messages are allowed to get lost or can be delivered multiple times.
参考来源
- 位置:《Data Management at Scale》第06章《Event and Notification Management》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292,源文件:extracted/Data Management at Scale/_epub-src/OEBPS/ch06.html)
- 结论依据:原文对at-most-once的解释、约束及上下文支持本卡;内容为中文归纳,不把架构建议当作所有组织的必然规律。
- 原始内容:The last model is called at-most-once or no-guarantee processing. In this scenario, no guarantees are given that all messages will be delivered correctly. Messages are allowed to get lost or can be delivered multiple times.