← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 2313.e.5.q.5.a

分片缓存提高有效容量

理解等级:中级

若每个缓存10GB、数据全集200GB,十个保存相同热点的副本有效覆盖仍接近10GB;若数据不重叠分到十片,有效容量可接近100GB。收益依赖访问与容量分布,不能仅从机器总内存推断命中率;缓存键与数据划分必须一致。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Chapter 7. Sharded Services · 查看原书依据

      If instead, we deploy a 10-way sharded cache, we can still serve the appropriate number of RPS (10 × 100 is still 1,000), but because each cache serves a completely unique set of data, we are able to store 50% (10 × 10 GB/200 GB) of the total

    参考来源

    - 位置:《Designing Distributed Systems, 2nd Edition》第07章《Chapter 7. Sharded Services》(来源项目 book-sources;源文件:extracted/Designing Distributed Systems, 2nd Edition/_epub-src/OEBPS/ch07.html) - 结论依据:原文10GB/200GB例子对比重复副本与不重复分片存储。 - 原始内容:If instead, we deploy a 10-way sharded cache, we can still serve the appropriate number of RPS (10 × 100 is still 1,000), but because each cache serves a completely unique set of data, we are able to store 50% (10 × 10 GB/200 GB) of the total