Experience-Oriented Graphs with Batching
summary
Expedia Group maps UI components to an experience-oriented schema so each component exposes its own GraphQL operation, which creates many client queries; Apollo Client batches those into one HTTP request but the Apollo Gateway originally expands and concurrently executes each operation, causing separate subgraph calls and losing downstream dataloader batching. A custom RemoteGraphQLDataSource changes gateway->subgraph calls into true batches — demo shows subgraph calls dropping from four separate requests to two batched requests.
AI-written summary · about
chapters (5)
- 0:00Start
- 1:08Data Graph
- 1:50Ready to render experiences
- 2:59Consuming an Experience Oriented Graph
- 4:42Consuming an Experience Graph with batching








