← 返回刚才阅读的位置

知识卡片

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

缓存层按自己的资源扩展

理解等级:高级

HTTP缓存代理在应用前保存可复用响应,减少昂贵后端计算。同机边车部署简单,却迫使缓存与应用按相同比例扩展;在副本重复保存同一数据时,少量大缓存可比很多小缓存利用更多有效容量。独立缓存层允许两层各自扩缩容,是否可缓存和隔离用户内容必须由响应语义决定。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Chapter 6. Replicated Load-Balanced Services · 查看原书依据

      The simplest way to deploy the web cache is alongside each instance of your web server using the sidecar pattern (see Figure 6-5). Figure 6-5. Adding the web cache server as a sidecar Though this approach is simple, it has some disadvantages, namely that you will have

    参考来源

    - 位置:《Designing Distributed Systems, 2nd Edition》第06章《Chapter 6. Replicated Load-Balanced Services》(来源项目 book-sources;源文件:extracted/Designing Distributed Systems, 2nd Edition/_epub-src/OEBPS/ch06.html) - 结论依据:原文对比缓存边车与独立缓存层的副本内存重复和扩展比例。 - 原始内容:The simplest way to deploy the web cache is alongside each instance of your web server using the sidecar pattern (see Figure 6-5). Figure 6-5. Adding the web cache server as a sidecar Though this approach is simple, it has some disadvantages, namely that you will have