~/talk

Lower Latency With Streaming GraphQL

Talkat GraphQLConf 2026 · on Tuesday, 2026-05-19· at 14:10· Grand Ballroom II - IV· [graphql, web-performance]
slides:none on file

Shows how using @defer and @stream cuts perceived latency by returning non‑deferred fields immediately and delivering deferred fragments or list items incrementally with an initialCount strategy the demo uses to show two posts before the rest arrive. Describes a stable implementation in GraphQL.js with adapters for Relay and recent support in Apollo and Hot Chocolate, the wire format with pending/incremental/completed payloads, batching to reduce rerenders, server opt‑out, and error behavior when null bubbling prevents delivering a failed defer. Spec draft is under review.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:02Problem with GraphQL latency
  3. 3:55Using defer directive in practice
  4. 4:58Streaming list fields with initial count
  5. 6:45Current status of defer and stream
  6. 8:11How defer and stream work behind the scenes
  7. 11:48Improvements in the latest protocol
  8. 13:56New response format and execution algorithm
  9. 16:22Batching deferred fragments for efficiency
  10. 17:24Server ignoring defer or stream directives
  11. 18:30Tracking multiple streams in a query
  12. 19:33Error handling in deferred and streamed fields
  13. 21:50Future of defer and stream in GraphQL
  14. 22:34Design decisions for defer and stream
  15. 25:43Streaming with pagination limitations
  16. 26:46Adopting defer in large federated schemas
  17. 28:31Server-side field deduplication rationale
  18. 29:54Defer and stream in federated GraphQL
  19. 31:17Q&A summary
~/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.