Caching in Applications Still Matters
summary
Argues that application caching still cuts seconds to milliseconds by using real-world numbers and demos: local hits vs remote REST calls (11s down to ~2ms), JVM Integer cache range (-128..127) explained, and common pitfalls (tiny cache causing 100% misses, thundering‑herd on cache‑aside). Shows specification JSR 107, integration with Spring, and an implementation using EhCache 3 + Terracotta server to cluster caches across replicas so synced caches survive scaling and reduce backend load.
AI-written summary · about
chapters (10)
- 0:00Introduction and speakers
- 2:37The fundamentals of caching
- 6:25Caching strategies
- 8:35Measuring cache performance
- 13:23JVM and integer caching
- 15:56Evolution of caching libraries
- 23:08Cache-aside pattern
- 28:41Cache-through pattern
- 31:43Practical demonstration
- 39:01Clustered caching and conclusion
related talks
44mHow to speed up your application using JCache
46mCaching Made Bootiful
43mWhere Is My Cache? Architectural Patterns for Caching ...
58mEnhancing Java Applications for the Cloud
01h 10mCaching with Spring: Advanced Topics and Best Practices
42mCache, But Cache Wisely!
49mCaching for Agentic Java Systems: Internal, Distributed, and Semantic
47mCaching beyond simple put and gets
