Skip to content

1+N and GraphQL - Matteo Collina: Tech Talk Video

How to prevent the 1+N queries problem in GraphQL

One of the most commonly used feature of GraphQL is its ability to get multiple and nested data with a single server request. It is very easy to misconfigure the data loading in a way that it is not able to scale as the data grows. In this talk, we'll show how easy you can incur in the 1+N queries problem and how to prevent using our implementation of the server-side component: fastify-gql.

Catch up on the series Mastering Node.js with Matteo Collina here. As a Technical Director at NearForm, Matteo Collina consults for some of the top brands of the world. Matteo is a member of the Node.js Technical Steering Committee focusing on streams, diagnostics and http. He is also the author of Node.js MQTT Broker, Mosca, the fast logger Pino and of the Fastify web framework.

Need GraphQL experts for your next project? Contact us today to see how we can help! Related Read: How to Use DataLoader with Mercurius GraphQL

Insight, imagination and expertly engineered solutions to accelerate and sustain progress.

Contact