GRAPHQL N Plus One Dataloader

Diagnose and eliminate the GraphQL N+1 resolver explosion using Facebook DataLoader's per-request batching, plus the second-order defenses (persisted queries, depth limits, cost analysis). Use when a GraphQL query that returns N items in a list triggers N+1 database round trips, when designing nested resolvers that load associations, when a list query times out under load, or when you need to budget query cost before resolvers run. NOT for REST-style endpoint design (use api-versioning-strategy), generic database query optimization (use database-query-optimizer), or schema design (use graphql-server-architect).

curiositech Updated 10 repo stars

File contents

curiositech/windags-skills/tree/main/skills/graphql-n-plus-one-dataloader commit 4d147d1f94

Frequently asked questions

npx skillmds@latest add curiositech/graphql-n-plus-one-dataloader