~/talk

How to edge cache GraphQL APIs

Talkat apidays Paris 2021 · 2021-12-07..12-09· [graphql, web-performance]
slides:none on file

A wartime scaling story turns into a concrete pattern: public, read‑heavy GraphQL (about 95% reads) causes DB overload when a real‑time DB crashes past ~50–100 change listeners, so the solution is to run normalized GraphQL caching at the edge. Implementation uses Fastly Compute@edge and GraphCDN to share and purge caches across ~60+ POPs, achieving a 150 ms global purge for object invalidation; result: large hit rate gains for workloads that change minutes to hours apart.

AI-written summary · about

  1. 0:00Start
  2. 13:37Manual invalidation
  3. 14:40Normalized caching
  4. 17:15GraphQL is awesome for caching!
  5. 18:09Authorization
~/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.