~/talk

Cache, But Cache Wisely!

Talkat JCON WORLD ONLINE 2023 · on Tuesday, 2023-11-21· at 19:00· Live-Stream 2, Online - Remote· [web-performance, databases]
slides:none on file

Demonstrates why naive session caching with Infinispan can slow things down: a client stored up to 100 MB sessions, causing serialization on every read/write, eight round trips per request and added latency often in the 160–400 ms range. Uses Prometheus and Jaeger for APM and tracing during a 100-client, ~500 req/s load test to find log statements and DB queries as real bottlenecks; adding JPA second‑level cache increased outliers to 673 ms, so trim session data and use targeted DB or JCache strategies.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 2:09Client case study and caching pitfalls
  3. 7:08Choosing the right caching solution
  4. 9:35Observability and monitoring basics
  5. 11:46Demo setup and naive caching approach
  6. 16:44Load testing the naive implementation
  7. 22:08Limitations of APM and need for tracing
  8. 27:33Adding response caching and results
  9. 31:28Second-level database caching attempt
  10. 37:27Why caching didn't solve the problem
  11. 38:10Modern caching alternatives
  12. 39:13Key takeaways and best practices
  13. 40:38Q&A session
~/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.