~/talk

A Hitchhiker’s Guide to Caching Patterns

Talkat Developers Summit 2021 · 2021-02-18..02-19· [web-performance]
slides:none on file

Caching is a trade‑off between staleness and speed and the talk shows concrete patterns and a working demo: a Python Flask + SQLAlchemy app, Hazelcast server, a Java map‑loader for read‑through, a Hazelcast write‑behind with a 20s delay window that coalesces updates, and a Hazelcast Jet pipeline doing CDC to keep the cache evergreen as cache‑ahead. Demos prove cache‑aside reduces DB load, read/write‑through hides the DB, write‑behind boosts throughput but risks lost updates unless replicated.

AI-written summary · about

  1. 0:00Introduction to caching trade-offs
  2. 3:15Why not build your own cache
  3. 9:59Basic cache usage patterns
  4. 14:23Demo: Cache aside implementation
  5. 17:39Write operations with caching
  6. 18:42Read-through caching explained
  7. 20:05Demo: Read-through with Hazelcast
  8. 24:02Write-through caching explained
  9. 25:49Demo: Write-through with Hazelcast
  10. 28:45Write-behind caching pattern
  11. 32:37Refresh-ahead vs cache-ahead
  12. 34:45Cache-ahead with change data capture
  13. 37:38Demo: Cache-ahead implementation
  14. 42:39Recap of caching patterns
  15. 45:06Conclusion 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.