---
answer: direct
beat: dev-practices
source: 1 article · updated: November 13, 2026
---

What is the N+1 problem in GraphQL?

A query for 50 posts and each post's author can trigger one query for the posts and 50 more for authors, because each author field resolver runs independently. Batching loaders collect those lookups within a request and issue one grouped query instead.

Answered in

REST or GraphQL: A Decision Guide Based on What Actually Hurts

REST and GraphQL trade server simplicity for client flexibility. Caching, over-fetching, N+1 queries and abuse protection decide which one fits your product.

Crashtech Editorial November 13, 2026 Development Best Practices

Read the full analysis

Other questions this article answers

More development best practices questions

Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the Development Best Practices beat.