~/talk

Compiling GraphQL to Blazing Fast JS

Talkat React Alicante 2019 · 2019-09-26..09-28· [graphql]

Zalando compiles each GraphQL request into a single generated JavaScript function that inlines resolvers and builds the response object, letting V8 optimize on stable shapes and primitive types. It addresses pages that send up to 300 queries per request by removing generic resolver iteration and shaving microseconds of per-field work — the team spots ~500µs wasted per query that sums to ~50ms at 100 RPS. Memory usage remains a work in progress.

AI-written summary · about

  1. 0:00Introduction
  2. 1:25GraphQL for frontend teams
  3. 2:31Micro frontends query complexity
  4. 4:02Performance challenges
  5. 5:30Compiling to optimized JS
  6. 8:01Live compiler demo
  7. 9:49Results and future work
~/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.