GraphQL real-time subscriptions
summary
Explains that GraphQL subscriptions let the client define pushed data shape and that each event re-runs the query’s resolvers (which can be expensive), shows an Apollo PubSub + WebSocket setup powering a “gith hun” demo, cites the RFC acceptance in Feb 2017 and Apollo’s JS extension from Sept, and gives a production pattern: replace in-memory PubSub with Redis/MQTT adapters so servers publish/subscribe topics (used on Meteor Galaxy) and execute stored subscription queries to scale.
AI-written summary · about
chapters (17)
- 0:00Intro
- 2:44What is GraphQL
- 3:56GraphQL application domain
- 5:50GraphQL entry points
- 6:29GraphQL query syntax
- 9:22Mutations
- 11:49Query fragments
- 14:26Query language
- 16:18What are subscriptions
- 17:04Subscription lifecycle
- 18:35Apollo extension
- 19:12Subscriptions
- 25:07Graphical subscriptions
- 26:40Enrich events
- 28:42Get subscription
- 31:18MQTT
- 32:13Outro
related talks
34mGraphQL Subscriptions - Scaling real-time in the real world
52mBuilding a Realtime Chat with GraphQL Subscriptions
15mGraphQL Subscriptions in Production Is Easy Isnt It?
18mCrafting compelling real-time web experiences with GraphQL
24mRealtime React Apps with GraphQL
58mCrafting compelling real-time web experiences with GraphQL and React
22mReal-Time Data Updates for Neo4j Using GraphQL Subscriptions
30mBest Practices for GraphQL and GraphQL Subscriptions at Scale
