TGViewer
DPS Build DPS Build @dps_build · 1.01K subscribers
Post #157 442
Online services often exhibit data locality, with users frequently accessing popular or trending content. Cache systems take advantage of this behavior by storing commonly accessed data, which in turn reduces data retrieval time, improves response times, and eases the burden on backend servers. Traditional cache systems typically utilize an exact match between a new query and a cached query to determine if the requested content is available in the cache before fetching the data.

However, using an exact match approach for LLM caches is less effective due to the complexity and variability of LLM queries, resulting in a low cache hit rate. To address this issue, GPTCache adopt alternative strategies like semantic caching. Semantic caching identifies and stores similar or related queries, thereby increasing cache hit probability and enhancing overall caching efficiency.

GPTCache employs embedding algorithms to convert queries into embeddings and uses a vector store for similarity search on these embeddings. This process allows GPTCache to identify and retrieve similar or related queries from the cache storage, as illustrated in the Modules section.

https://github.com/zilliztech/gptcache
GitHub GitHub - zilliztech/GPTCache: Semantic cache for LLMs. Fully integrated with LangChain and llama_index. Semantic cache for LLMs. Fully integrated with LangChain and llama_index. - zilliztech/GPTCache
More from @dps_build
  1. Oct 9, 2026看了一个潜在客户的需求,要在两个月内帮他们把所有海外市场的数据整合好,然后还要各种可视化,最终能辅助他们决策。他们把这称之为 mvp。 我问了问,你们对于 mvp 的定义是覆盖以上…
  2. Oct 4, 2026试了一下 Codex Dot,对我来说没有太大帮助,因为和我的 paseo workflow 基本一致: 1. 在家里的服务器上跑 paseo daemon,用 cloudflar…
  3. Oct 1, 2026再次在釜山地铁体验了鬼打墙一般的体验: 1. 地铁入口的售票机可以买单词票,只接受现金和插入信用卡支付,不支持 tap 或者移动支付; 2. 单日票或者三日票不能在机器上购买,只能…
  4. Sep 24, 2026迄今为止买过的,最贵的 Apple 产品
  5. Sep 23, 2026看了下 DHL 的记录,从深圳到香港,然后就飞了。有意思的是,飞机还没飞,目的地的清关已经开始了。 door to door 不到24小时。可惜我不在家,错过了第一次投递😢
  6. Sep 22, 2026提前从深圳发货了,说是已经备货成功,物流准备提货了。提早了整整一个月,Apple 的供应链真厉害!
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →