~/talk

GraphQL Performance at Shopify

Talkat GraphQL Summit 2023 · 2023-10-09..10-13· [web-performance, ruby-on-rails]
links:none on file
links:none on file
slides:none on file

Shopify profiles their Ruby GraphQL stack and switches concrete pieces: replacing GraphQL‑Ruby’s pure Ruby parser with a C/YAK parser yields about 7× parsing speedup (25–30ms down to <5ms), moving static validation into a Rust edge gateway cuts p99 validation from ~50ms to 2–3ms, and forcing garbage collection after responses removes a ~24ms GC pause from the critical path. They add selection‑set aware resolvers and a writer directive to route queries to replicas safely, showing practical wins and tradeoffs.

AI-written summary · about

  1. 0:00Introduction to GraphQL
  2. 1:20Lexing and parsing strategy
  3. 7:29Static validation techniques
  4. 13:28Optimizing execution strategy
  5. 17:48Resolver performance patterns
  6. 22:25Memory and garbage collection
~/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.