知识卡片

普通读书笔记卡 · 10407.c.1 · 生成模型:未记录

冗余复制与可见性

理解等级:初级

副本避免关键数据依赖一台机器,多地域副本还能缩短到附近用户的网络距离。主从系统可通过晋升副本恢复写入,其他系统可收集多节点回复继续服务。写入成功、其他副本收到更新和读取发生在不同时间,一致性模型用来说明此时用户可能看到的值。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Database Internals》Chapter 11. Replication and Consistency(book-source:extracted/Database Internals A deep-dive into how distributed data systems work (Alex Petrov)/_epub-src/OEBPS/ch11.html#keeping_multiple_copies_of_data,段 5) - 结论依据:原文讨论复制、地理部署、故障转移和写入、复制更新、读三类事件。 - 原始内容:Data replication is a way of introducing redundancy by maintaining multiple copies of data in the system. However, since updating multiple copies of data atomically is a problem equivalent to consensus [MILOSEVIC11], it might be quite costly to perform