~/talk

A Change-Data-Capture use-case: designing an evergreen cache

Talkat ApacheCon@Home 2021 · 2021-09-21..09-23· [databases]
slides:none on file

Claim: use CDC to keep a cache evergreen by streaming DB changes into the cache. Implementation reads the MySQL binlog via bezium, runs a small pipeline on hazelcast jet and updates two in-memory maps (query cache + entity cache) used by a Spring Boot app. Demo shows external updates (a batch or separate app) are caught and the cache refreshes near real time, avoiding fragile triggers or naive TTLs and working without mandatory Kafka.

AI-written summary · about

  1. 0:00Introduction
  2. 1:56Why caching matters
  3. 4:23Cache invalidation vs eviction
  4. 9:02Event-driven cache updates
  5. 13:16Change data capture basics
  6. 17:33Debezium for CDC
  7. 20:02Hazelcast for streaming
  8. 23:36Integrating components
  9. 24:20Demo setup
  10. 27:56Live cache update demo
  11. 30:44Summary and resources
~/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.