~/talk

Let's talk about the cache!

Talkat Codemotion Rome 2015 · 2015-03-25..03-28· [databases, software-architecture]
slides:none on file

Covers JSR-107 terminology and concrete patterns: Cache Aside, Write-Behind, Read/Write Through with Java CacheLoader/CacheWriter examples and tradeoffs (synchronous write-through keeps cache consistent; asynchronous write-behind batches, conflates updates, and throttles DB load). Claims a CPU-cycle-to-latency analogy (if CPU = 1s, DRAM ≈ 6 minutes, SSD 2–6 days, HDD 1–12 months) to justify hot-set caching. Shows single-node local L1 + remote L2, mirrored/replicated/partition+replica clusters, Terracotta/Hazelcast pairing with Cassandra/Redis/MongoDB and compute-grid collocation for in-memory processing.

AI-written summary · about

  1. 0:00Introduction to caching
  2. 1:40Why use a cache
  3. 4:52Cache basics and JSR 107
  4. 8:03Read-through cache pattern
  5. 10:31Write-through cache pattern
  6. 12:41Write-behind cache pattern
  7. 21:48Refresh-ahead cache pattern
  8. 24:15Cache scalability options
  9. 33:20Distributed cache vs in-memory data grid
  10. 35:51In-memory compute grid
  11. 38:41Event processing in caches
  12. 40:06In-memory databases vs caches
  13. 41:54Cache vs NoSQL consistency
  14. 43:44Cache as partner to NoSQL
  15. 46:11Open source in-memory grids
  16. 48:17Q&A and closing remarks
~/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.