~/talk

Caching with Cache2K

Talkat Kotlin/Everywhere Chicago 2019 · on Friday, 2019-08-23· [kotlin, databases]
links:none on file
slides:none on file

Cache2K is a tiny high-performance JVM in-memory cache that is already used in production and integrates with Kotlin and Spring Boot. Examples show a standalone cache with refresh-ahead expiry, capacity limits (e.g. 100 entries), and a loader callback that handles miss-and-populate logic; Spring integration uses a Cache2k SpringCacheManager and method-proxying so cache annotations work. A common gotcha requires a self-injection workaround to let internal method calls hit the proxy. Full samples live on GitHub.

AI-written summary · about

  1. 0:00Introduction
  2. 1:20Standalone
  3. 6:43Spring
  4. 12:27How it works
~/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.