~/talk

Where Is My Cache? Architectural Patterns for Caching ...

Talkat Heapcon 2019 · 2019-10-03..10-04· [web-performance, software-architecture]
github:leszko
slides:none on file

Compares five concrete caching patterns and when each actually works: embedded cache (Guava/Ehcache with Spring @Cacheable) for lowest JVM latency but JVM‑bound; embedded distributed Hazelcast to share cache across instances with discovery plugins; client‑server (Redis/memcached or Hazelcast client) for language‑agnostic ops at higher network latency; sidecar per pod in Kubernetes for localhost performance plus isolation; and reverse‑proxy/NGINX or reverse‑proxy sidecar for declarative, code‑free caching. Highlights tradeoffs (millisecond sensitivity, separate ops, cache invalidation) and gives a simple decision tree plus setup tips and a 300‑byte vs multi‑MB update performance question.

AI-written summary · about

  1. 0:00Introduction to caching patterns
  2. 2:25Why caching in microservices
  3. 4:53Embedded cache pattern
  4. 9:55Embedded distributed cache demo
  5. 13:36Pros and cons of embedded cache
  6. 13:57Client-server cache pattern
  7. 17:14Cloud cache as a service
  8. 20:58Client-server and cloud cache pros/cons
  9. 23:35Sidecar cache pattern in Kubernetes
  10. 27:12Sidecar cache pros and cons
  11. 28:21Reverse proxy cache pattern
  12. 31:17Reverse proxy sidecar cache demo
  13. 36:10Reverse proxy sidecar limitations
  14. 37:01Quick decision tree for caching
  15. 39:19Q&A on cache updates
~/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.