~/talk

When GraphQL Gets Expensive: Performance & Cost Patterns in Production Serverless Architectures

Talkat GraphQLConf 2026 · on Wednesday, 2026-05-20· at 10:15· Grand Ballroom I· [graphql, serverless]
name:H. Siddhu
links:none on file
links:none on file
slides:none on file

GraphQL queries that naively resolve nested fields trigger 701 DB calls in the example schema, producing a P99 of 6.4s and dozens of timeouts; at scale that naive pattern costs roughly ~$189 per million requests. Practical fixes include DataLoader batching (reducing calls to 3–4 and pushing DB cost toward ~$8 per million), depth limits and complexity scoring to reject runaway queries, and entity-aware caching plus persisted queries to cut compute, latency, and transfer spend.

AI-written summary · about

  1. 0:00Introduction to GraphQL costs
  2. 2:59Library analogy for N+1 problem
  3. 8:14N+1 cascade resolver explained
  4. 10:43Overfetching in GraphQL queries
  5. 12:31Resolver fan-out at scale
  6. 13:35Solutions with Data Loader
  7. 17:35Schema guardrails and limits
  8. 20:52Response caching strategies
  9. 22:21Cost comparison and takeaways
~/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.