Streaming Subscriptions in GraphQL
summary
Hasura adds streaming subscriptions to GraphQL that send only new rows instead of full live-query snapshots, proven to handle millions of rows updated per second in production tests; implementation uses websockets, a configurable batch size (demo used batch size 5) and a single-column cursor (timestamps recommended). Features include Hasura permissions and relationships in streamed results, client demos built with React + react-query and graphql-ws, alpha/beta available soon, and no backpressure support yet so clients can be overwhelmed.
AI-written summary · about
chapters (10)
- 0:00Start
- 1:08Streaming Subscriptions in Graphql
- 1:18Official Introductions
- 21:07Relationships
- 21:33Streaming Subscriptions
- 27:20Why Should We Consider Streaming Subscription
- 34:11Code Editor
- 37:14Light Switch Subscription
- 42:33Debugging
- 53:03Reset Room Mutation
related talks
24mStreaming Events vs Live Queries, a deeper look at Subscription Patterns
51mAccelerating Application Development with GraphQL Data Mesh
34mGraphQL Subscriptions - Scaling real-time in the real world
29mBuilding modern web-applications with Hasura's GraphQL engine
34mGraphQL real-time subscriptions
18mEmpowering Kubernetes Workloads with GraphQL
11mUsing Subscriptions in Your Vue Apps
11mBuilding a GraphQL based open-source infrastructure project
