Java Caching with JSR107 and tCache
summary
tCache is an open-source JCache (JSR107) provider that implements EntryProcessors, Listeners and a loader API and demonstrates speeding a recursive Fibonacci example from very slow to instant. It uses data-aware evictions by storing metadata in holder objects (allowing slight overfill and batch heuristics) and built-in load‑spreading via randomized expirations; benchmarks (v0.95) compare tCache favorably to Guava and Infinispan, with mostly passing JSR107 conformance except for some eviction quirks.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 1:54JSR107 basics
- 10:04JCache API features
- 26:37Caching challenges
- 35:14tCache features
- 43:17Benchmark results
- 52:15JSR107 future
- 57:40Q&A
related talks
50mCaching with Spring: Advanced Topics and Best Practices
44mHow to speed up your application using JCache
50mLet's talk about the cache!
19mCaching with Cache2K
42mCache, But Cache Wisely!
43mCaching and Beyond - Smarter Data Processing with Java
46mOn-heap cache vs Off-heap cache w Javie
17mScalaCache: Scalable User-Space Page Cache Management with Software-Hardware...
