知识卡片
通知持久化与重试互补
持久化通知事件为失败恢复保留事实,失败发送进入重试路径。它降低丢失风险,却不保证收件人恰好收到一次;重试可能引入重复,还需要按事件身份去重并处理失败边界。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 第10章 通知
原书出处 · 1 处
- 通知 · 查看原书依据
Reliability We must answer a few important reliability questions when designing a notification system in distributed environments. How to prevent data loss? One of the most important requirements in a notification system is that it cannot lose data. Notifications can usually be delayed or re-ordered, but never lost. To satisfy this requirement, the notification system persists notification data in a database and implements a retry
参考来源
- 位置:《System Design Interview – An insiders guide, Second Edition》第10章《通知》(来源项目 book-sources;源文件:extracted/System Design Interview – An insiders guide, Second Edition/_epub-src/text/part0025_split_003.html)
- 结论依据:原文在该位置给出所述对象、机制或比较,支持本卡的解释;原书未展开的实现不作为已证明结论,算式与一致性边界在正文明确限定。
- 原始内容:Reliability We must answer a few important reliability questions when designing a notification system in distributed environments. How to prevent data loss? One of the most important requirements in a notification system is that it cannot lose data. Notifications can usually be delayed or re-ordered, but never lost. To satisfy this requirement, the notification system persists notification data in a database and implements a retry