← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 4388

缓存承担临时加速

理解等级:高级

缓存将频繁使用或计算代价高的结果放在快速存储中,减少回源。它适合读多改少的数据;重要事实仍须保存在持久存储中,因为缓存故障或淘汰会使内容消失。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 从单机逐步扩展 · 查看原书依据

      A cache is a temporary storage area that stores the result of expensive responses or frequently accessed data in memory so that subsequent requests are served more quickly. As illustrated in Figure 1-6, every time a new web page loads, one or more database calls are executed to fetch data. The application performance is greatly affected by calling the database repeatedly. The cache can mitigate

    参考来源

    - 位置:《System Design Interview – An insiders guide, Second Edition》第01章《从单机逐步扩展》(来源项目 book-sources;源文件:extracted/System Design Interview – An insiders guide, Second Edition/_epub-src/text/part0004_split_006.html) - 结论依据:原文在该位置给出所述对象、机制或比较,支持本卡的解释;原书未展开的实现不作为已证明结论,算式与一致性边界在正文明确限定。 - 原始内容:A cache is a temporary storage area that stores the result of expensive responses or frequently accessed data in memory so that subsequent requests are served more quickly. As illustrated in Figure 1-6, every time a new web page loads, one or more database calls are executed to fetch data. The application performance is greatly affected by calling the database repeatedly. The cache can mitigate