GraphQL Batching for N+1 Problem
Solving the N+1 Problem for GraphQL through Batching - Shopify

Solving the N+1 Problem for GraphQL through Batching - Shopify

4/24/2018

What this post added

Introduced the GraphQL Batch Ruby library, inspired by DataLoader, to solve the N+1 problem in GraphQL by batching data requests. This library allows resolvers to return promises for data, which are then grouped and loaded efficiently, reducing datastore round trips. The library has been open-sourced.

Read the original post ↗