知识卡片
复制计算与数据各有成本
增加计算实例可分散服务争用;复制数据可分散读取争用,缓存则用较快或较近的存储换访问时间。计算副本需要调度,数据副本需要同步一致性,缓存还要选择内容与更新策略。它们都能增加容量,却把问题移向资源成本、维护及失效处理,不能只计算命中时的快速路径。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
- · 第09章 性能
原书出处 · 1 处
- 性能 · 查看原书依据
Data replication involves keeping separate copies of the data to reduce the contention from multiple simultaneous accesses. Because the data being replicated is usually a copy of existing data, keeping the copies consistent and synchronized becomes a responsibility that the system must assume.
参考来源
- 位置:《Software Architecture in Practice, 4th Edition》第09章《性能》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch09.html)
- 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。
- 原始内容:Data replication involves keeping separate copies of the data to reduce the contention from multiple simultaneous accesses. Because the data being replicated is usually a copy of existing data, keeping the copies consistent and synchronized becomes a responsibility that the system must assume.