← 返回起始笔记位置

知识卡片

普通读书笔记卡 · 6805.b · 生成模型:GPT-6(Codex)

缓存未命中需要冷路径设计

理解等级:中级

缓存未命中后可能访问磁盘、远程分片或较深索引,成本显著高于命中路径。预取、合适索引与缓存失效策略要一起设计,避免热点缓存掩盖实际存储成本。只报告命中率或热查询时延,无法说明第一次访问及失效后的用户体验。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 记忆层的生产运行 · 查看原书依据

      When a requested item isn’t in a fast cache, the system must fall back to deeper storage (disk, remote shards, or index traversal). This “cold path” incurs much higher cost. Infrastructure must optimize the cold path using techniques like prefetching, efficient index structures, and smart caching invalidation policies to avoid large latency cliffs.

    参考来源

    - 位置:《Agentic AI Data Architectures》第4章《记忆层的生产运行》,来源项目book-sources,extracted/Agentic AI Data Architectures/_epub-src/OEBPS/ch04.html。 - 结论依据:原文在相应小节说明上述概念及用途;正文区分书中主张与推论,不将基础设施选择写成无条件保证。 - 原始内容:When a requested item isn’t in a fast cache, the system must fall back to deeper storage (disk, remote shards, or index traversal). This “cold path” incurs much higher cost. Infrastructure must optimize the cold path using techniques like prefetching, efficient index structures, and smart caching invalidation policies to avoid large latency cliffs.