~/talk

Caching the LLM Stack: Where Valkey Fits To Cut Latency and Cost

Talkat ValkeyConf 2026 · on Monday, 2026-10-05· [large-language-models, databases]
links:none on file
slides:none on file

BetterDB reports 300,000 cache lookups across ~600 deployments with 74,000 hits out of 300,000 lookups, estimating saved ~16 hours of latency and $20–25k across five months. The stack is layered: admission control, exact-match GET/SET, an embedding cache, Valkey Search semantic cache with tenant/category/model filters, KV offload, and observability via distance histograms and shadow sampling. Semantic caching uses per-category thresholds and two confidence bands plus hit checks for dates/numbers to avoid false positives.

AI-written summary · about

  1. 0:00Thirty years of trying not to do work twice
  2. 1:21How much LLM work is redundant
  3. 3:09What BetterDB's deployments show
  4. 5:19There is no single LLM cache
  5. 7:03Admission control: token budgets, rate limits, retry storms
  6. 8:04Exact-match caching
  7. 11:27The embedding cache most people forget
  8. 12:26Semantic caching with Valkey Search
  9. 14:24Why one similarity threshold can't win
  10. 17:17Per-category thresholds, confidence bands, and hit checks
  11. 18:46Agent memory: short-term, working, and long-term
  12. 20:59KV cache offload
  13. 21:27Observability for LLM caches
  14. 24:30Where to start
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.