Advanced

GraphQL and gRPC

When REST is the wrong shape.

Two alternatives and the problems each is for: GraphQL for clients that shape their own reads, gRPC for services that talk to each other — with the N+1, schema and streaming issues each brings.

0 lessons written2 outlined1 modules~1h reading

After this course you can

  • Decide between REST, GraphQL and gRPC for a given consumer
  • Implement a GraphQL schema with data loaders and know what to cache
  • Define a protobuf contract, evolve it compatibly, and use streaming where it helps

Curriculum

2 lessons · outlined lessons show their plan