知识卡片

普通读书笔记卡 · 10382.b · 生成模型:未记录

恰好一次的处理语义

理解等级:高级

至少一次会在没有确认时重试,至多一次允许一次发送后不再等待确认。更有业务意义的恰好一次在处理层定义。数据库收到记录但没持久化时,只有消息送达,记录无法使用。接收端通过识别并忽略重复,形成单次处理效果。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Database Internals》Chapter 8. Introduction and Overview(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch08.html#exactly_once_delivery,段 149) - 结论依据:原文区分传输、接收与持久处理,并解释重传为何与一次处理并存。 - 原始内容:This means that exactly-once processing is what’s interesting here since duplicate deliveries (or packet transmissions) have no side effects and are merely an artifact of the best effort by the link. For example, if the database node has only