~/talk

GraphQL at the Edge with WebAssembly

Talkat GraphQLConf 2024 · on Tuesday, 2024-09-10· at 11:40· Skyline B-C - Level 21· [graphql, webassembly]
slides:none on file

A Rust GraphQL server is compiled to WebAssembly and trimmed to a ~950KB runtime so it fits Cloudflare Workers; pure computation (parsing, IR, query-to-SQL mapping) runs unchanged but networking needs platform-specific glue using the Worker socket API and a JS async bridge. Connection latency drops from ~300ms to ~100ms with hyperdrive pooling; build uses wasm-bindgen, optimizes with wasm-opt/wasm-gc, and targets wasi preview2.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:06Edge Computing vs serverless
  3. 2:50WebAssembly fundamentals
  4. 7:22Xograph GraphQL backend
  5. 10:38Deploying to Cloudflare Workers
  6. 12:44Porting Rust to WebAssembly
  7. 17:23Module size challenges
  8. 23:22External connection latency
  9. 26:33WebAssembly in the browser
  10. 29:03Q&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.