~/talk

GraphQL Accelerated

Talkat CityJS Conference 2020 · 2020-09-02..09-04· [graphql, web-performance]
slides:none on file

GraphQL on Node.js becomes dramatically faster by caching parsed queries with an LRU cache, compiling hot queries to JavaScript with graphql-jit, and batching resolver calls to avoid N+1 via built-in loaders. Profiling with node clinic finds double parse/validate passes and expensive resolver churn; compiling cuts execution roughly tenfold and a combined Fastify GQL setup reports about 3x throughput and 1/4 latency in benchmarks. Federation and subscription support are implemented and work with these optimizations.

AI-written summary · about

  1. 0:00Introduction
  2. 0:39What is GraphQL
  3. 7:05Performance challenges
  4. 9:37Caching GraphQL queries
  5. 12:09Code generation with GraphQL-JIT
  6. 15:20Nested queries problem
  7. 18:53Data loader pattern
  8. 19:37GraphQL federation
  9. 21:23Summary and benefits
  10. 23:32Q&A session
~/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.