← 返回刚才阅读的位置

知识卡片

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

确认消息与序列号

理解等级:中级

发送者给每条消息分配可区分的标识,接收者用相同标识回传确认。确认抵达可以证明该消息被接收,缺少确认仍说不清原消息是丢失、在途还是已抵达。单调序列号是标识的一种实现,采用哈希时还需处理碰撞。

这张卡片看不懂?

已有反馈 · 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#idm46104531024696,段 114) - 结论依据:原文分别说明关联确认的条件和确认本身也会丢失。 - 原始内容:To improve the situation and get more clarity in terms of message status, we can introduce acknowledgments: a way for the recipient to notify the sender that it has received the message. For that, we need to use bidirectional