GraphQL tutorials
30 articles · page 2 of 2Hand-written tutorials, ordered as a recommended learning path.
- 21 GraphQL Federation Understand Apollo Federation: subgraphs, the gateway, entity references, and when to choose federation over a monolithic GraphQL schema.
- 22 DataLoader Why GraphQL resolvers cause N+1 query storms and how DataLoader batches and caches them away. Clear examples, real code, and the pitfalls.
- 23 Relay Pagination Understand cursor-based pagination using the Relay connection spec, why it scales better than offsets, and how to implement it cleanly in your schema.
- 24 GraphQL Rate Limits Why GraphQL rate limiting is harder than REST and what to do about it. Covers query complexity analysis, depth limits, cost-based budgets, and per-field throttling.
- 25 Resolver Patterns Compare resolver patterns in GraphQL: thin resolvers, service layers, DataLoader batching, and error handling that scales.
- 26 GraphQL Subs Add real-time data to your GraphQL API with subscriptions. Learn the transport, pubsub patterns, and a working Apollo example.
- 27 GraphQL Subscriptions How to build GraphQL subscriptions that survive multiple server instances by using Redis as the pub/sub backbone. Covers setup, scaling, and the failure modes nobody warns you about.
- 28 GQL Codegen An overview of GraphQL code generation: what it does, how schemas and operations turn into typed clients, and how to wire it into a modern frontend workflow.
- 29 GraphQL vs REST An honest comparison of GraphQL and REST: where each one shines, where each one hurts, and how to choose without religion.
- 30 GraphQL + Prisma A practical guide to wiring GraphQL on top of Prisma. Schema design, resolvers, the N+1 problem, batching, and the patterns that keep your API fast as it grows.