~/talk

Caching Strategy for High Volume Personalized Content Requests

Talkat GraphQL Summit 2023 · 2023-10-09..10-13· [web-performance]
links:none on file
name:Jamie F
links:none on file
slides:none on file

MLB moves from in-memory defaults to a shared Redis cache, APQ + GET requests through CDN, and response-cache plugin to handle spikes that reached ~15 million requests/hour and now ~35 million/day with ~80% cache hits. Key fixes: split private user queries from public data, set field-level Cache-Control TTLs (e.g. live line score 20s), override data-source TTLs on 404s, upgrade Gateway to stop empty subgraph calls, and fix unbounded in-memory caching that caused OOMs. APQ GET requests shared Redis cache Gateway version bump

AI-written summary · about

  1. 0:00Introduction to MLB caching
  2. 4:34Layered caching strategy
  3. 8:44Team snapshot view caching
  4. 11:13My news personalized view
  5. 13:59My follows view issues
  6. 15:27Stories view cache behavior
  7. 18:16Standings module cache gaps
  8. 19:42Key takeaways and lessons
  9. 21:51Current system overview
  10. 22:55Q&A 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.