~/talk

Caching for Agentic Java Systems: Internal, Distributed, and Semantic

Talkat JavaOne 2026 · 2026-03-17..03-19· [java, ai-assisted-development]
slides:none on file

Covers concrete patterns and numbers: use internal Caffeine cache for nanosecond reads, combine with distributed Valkey/Redisson for shared state (client‑side invalidation, per‑key TTL, three‑line RedisRateLimiter), scale to ~100 nodes with up to 500 GB per node and four replicas, and use semantic caching with Valkey Search (HNSW vector search, 2–4k dimensions ≈16 KB/vector) to avoid expensive LLM inference by vectorizing queries and returning cached responses above a similarity threshold (examples: 0.94 vs 0.75).

AI-written summary · about

  1. 0:00Caching in Java systems
  2. 1:05Caching approaches survey
  3. 3:55Internal caching with Caffeine
  4. 7:10Distributed caching with Redis/Valky
  5. 13:37Rate limiting with Redis
  6. 21:36Semantic caching concepts
  7. 28:13Vector similarity search methods
  8. 32:26Vector search trade-offs
  9. 36:19Semantic caching workflow
  10. 41:13Valky for vector search
  11. 44:58Semantic caching demo
  12. 47:44Summary & Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.