~/talk

Architectural Patterns for Caching Microservices

Talkat Developer Summit 2020 · 2020-11-21..11-22· [microservices]
github:leszko
slides:none on file

Compares four concrete caching topologies and when each reduces latency or ops: in-process libraries (Guava, EHCache) give lowest latency but no eviction or cross-replica coherence; embedded distributed uses Hazelcast to form JVM clusters automatically; client‑server uses Redis/Memcached or Hazelcast clients and supports multi‑language apps; cloud cache uses a Hazelcast cloud discovery token for VPC‑peered low‑latency clusters; Kubernetes sidecar and reverse-proxy sidecar caching (NGINX/Envoy prototype) let apps stay unchanged but make cache invalidation the hard problem.

AI-written summary · about

  1. 0:00Introduction to caching
  2. 1:03Why use caching in microservices
  3. 2:53Embedded cache pattern
  4. 7:54Embedded distributed cache demo
  5. 12:08Pros and cons of embedded cache
  6. 13:31Client-server cache pattern
  7. 17:06Client-server cache implementation
  8. 18:31Cloud cache pattern
  9. 21:00Cloud cache demo
  10. 26:03Pros and cons of client-server and cloud cache
  11. 27:29Sidecar cache pattern
  12. 30:58Sidecar cache implementation
  13. 32:00Pros and cons of sidecar cache
  14. 33:02Reverse proxy cache pattern
  15. 36:17Reverse proxy sidecar cache
  16. 41:03Reverse proxy cache challenges
  17. 44:37Decision tree for caching patterns
  18. 47:07Resources and closing
~/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.