~/talk

The 40,000-field Query: Optimizations for Gigantic High-QPS Operations

Talkat GraphQLConf 2026 · on Tuesday, 2026-05-19· at 11:05· Grand Ballroom I· [graphql]
name:Gary Zeng
links:none on file
slides:none on file

Meta handles a 40,000-field persisted query by storing fragment-name-to-offset maps and implementing lazy fragment parsing so only needed fragments are parsed, cutting parse time from 60 ms to 2 ms for a typical newsfeed response. Traffic shows 500,000 distinct persisted documents/day and a 65% LRU hit rate, so a probabilistic cache-fill (e.g. fill 25% of misses) plus traffic-aware caching and fragment inlining reduces parse overhead from 37% → 20% → 10% → 2% of server cost.

AI-written summary · about

  1. 0:00The parsing bottleneck
  2. 1:20Limitations of caching
  3. 2:54Lazy fragment parsing
  4. 5:06Resolving optimization conflicts
  5. 7:29Results and final thoughts
~/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.