~/talk

GraphQL Subscriptions in Production Is Easy Isnt It?

Talkat GraphQLConf 2024 · on Tuesday, 2024-09-10· [graphql, web-platform]
github:n1ru4l
slides:none on file

Describes moving GraphQL subscriptions from localhost to production with concrete choices and gotchas: uses graph over sse for an SSO log-streaming feature so cookie auth and firewalls work, explains one subscription = one HTTP connection (HTTP/2 helps), benchmarks design tradeoffs versus graph over websocket for lower latency, uses redis pubsub as the cross-instance event source, experiments with shared web workers to avoid duplicate tabs, and relies on randomized exponential backoff for reconnect storms; recommends polling (30s–60s) when realtime isn’t required.

AI-written summary · about

  1. 0:00Introduction
  2. 0:38Understanding subscriptions
  3. 1:27Transport protocol overview
  4. 2:33Websockets versus SSE
  5. 5:14Benefits of SSE
  6. 6:30Choosing the right protocol
  7. 7:04Practical case study
  8. 8:49Backend implementation
  9. 9:48Scaling challenges
  10. 10:54Operational considerations
  11. 12:28When not to use subscriptions
  12. 13:47Conclusion
~/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.