知识卡片
持久队列与确认缓解数据泵丢失
数据泵传输更新时,可用持久队列保存待处理消息,并让写入器在完成处理后才向代理确认,以降低未落库前消息丢失的风险。原书同时指出,这些机制会增加响应或同步成本。它们是数据泵一段链路的保护措施,不能单独证明数据库更新幂等、重复消费安全或端到端不丢数据。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Space-Based Architecture Style · 查看原书依据
Client-acknowledgment mode keeps the message in the queue until the data writer acknowledges to the message broker that it has completed processing.
参考来源
- 位置:《Fundamentals of Software Architecture》原书第16章《Space-Based Architecture Style》(阅读计划第19项,单元17;源文件:`OEBPS/ch16.html`)
- 结论依据:原书提出持久队列与写入器客户端确认,同时指出对响应性和一致性有代价。
- 原始内容:Client-acknowledgment mode keeps the message in the queue until the data writer acknowledges to the message broker that it has completed processing.