Best Practices for GraphQL and GraphQL Subscriptions at Scale
summary
GraphQL runs Facebook mobile data fetching at scale serving hundreds of billions of queries per day across thousands of app versions; schema types are generated from server annotations with code generation from Hack annotations to keep schema and runtime in sync. Real‑time uses a pub/sub model with string topics, per‑subscriber configuration, batching of executor requests to reduce DB load, over 100 subscriptions in production, and extensive logging for debugging.
AI-written summary · about
chapters (7)
- 0:00Start
- 7:38Schemas are our type system
- 8:44Layers: Data vs. Implementation
- 14:42Compile time, build time, runtime
- 19:47GraphQL Evolution
- 22:26Open Source Subscriptions!
- 24:01Lessons and Challenges • Configuration is key
related talks
34mGraphQL Subscriptions - Scaling real-time in the real world
15mGraphQL Subscriptions in Production Is Easy Isnt It?
34mGraphQL real-time subscriptions
27mExploring GraphQL
29mBuilding better mobile apps with GraphQL
24mRealtime React Apps with GraphQL
11mA Brief History of GraphQL
47mIntroduction to Graphql
