Loading…
GraphQLConf 2026 has ended
May 19 - 20 | In-Person Only
GraphQLConf 2026 website

The Sched app allows you to build your schedule but you must also be registered for GraphQLConf 2026 to participate in the sessions.

Please note: This schedule is automatically displayed in Pacific Daylight Time (UTC-7). To see the schedule in your preferred timezone, please select from the drop-down located at the bottom of the menu to the right.

IMPORTANT NOTE: Timing of sessions and room locations are subject to change.
Tuesday May 19, 2026 11:05am - 11:15am PDT
Parsing a GraphQL query generally has negligible cost. But what happens your front page query has millions of QPS, 10s of thousands of fields, and there are hundreds of versions of the query? At Meta, we've found that parsing becomes a significant bottle neck under these constraints.

In this talk, we dive into server-side optimizations we built to handle persisted documents beyond simple LRU caches. We will cover:
- Lazy fragment parsing. We delay parsing a fragment until the executor encounters a spread that matches the fragment's type, using offset maps to jump through the document text.
- Traffic based caching. We cache pre-parsed structures taking into consideration CPU savings and memory cost.
- Fragment inlining to reduce overhead in the CollectFields step.

Attendees leave with deep understanding of performance considerations of GraphQL execution engines. I hope other GraphQL server implementations can consider adopting similar strategies to better serve a larger variety of traffic patterns.
Speakers
avatar for Gary Zeng

Gary Zeng

Software Engineer, GraphQL Platform, Meta
Gary is a Software Engineer working on Meta's GraphQL engine powering one of the worlds largest schemas. He focuses the balance between language design and system reliability. In the physical world, Gary has hosted over 1000 hours of Dungeons and Dragons.
Tuesday May 19, 2026 11:05am - 11:15am PDT
Grand Ballroom I
  Production Insights - Huge Scale

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Share Modal

Share this link via

Or copy link