~/talk

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

Talkat 4Developers 2021 · 2021-05-24..05-27· [databases]
slides:none on file

Shows a concrete CDC pipeline that tails the MySQL binlog (via a Debezium-style connector), maps row changes to key/value entries and writes them into a Hazelcast map using Hazelcast Jet, producing an evergreen cache that reflects external writes. Demo proves the cache is stale while the pipeline is stopped and immediately in sync after the job starts, so the claim — replace fragile triggers/polling with log-based CDC for reliable cache updates — is demonstrated end to end.

AI-written summary · about

  1. 0:00Start
  2. 1:40The caching trade-off
  3. 3:00The initial state
  4. 4:17Cache invalidation
  5. 4:41Cache eviction vs Time-To-Live
  6. 6:56Choosing the "correct" TTL
  7. 8:48External process
  8. 10:13The example of MySQL: User-defined function
  9. 12:33Change-Data-Capture
  10. 13:20CDC implementation options
  11. 13:53"Turning the database inside out" - Martin Kleppman
  12. 16:16Reasons for the log
  13. 16:45Sample MySQL binlog
  14. 18:25Debezium connector plugins
  15. 19:08Hazelcast Jet
  16. 19:33Jet overview
  17. 19:59Deployment modes
  18. 21:04Pipeline
  19. 21:56Back to our use-case
  20. 30:14Recap
~/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.