UK & world technology
Sign inJoin us
TechBlastTechnology. Unpacked.UK & world technology
← Latest news

From Dev.to

Your DataLoader fixed the N+1. It may also be giving posts the wrong author.

You found an N+1 in your GraphQL API: a list of 25 posts, each Post.author resolver running its own SELECT. You added a DataLoader, the query count dropped from 26 to 2, and you moved on. Here is the...

Read the full report at Dev.to ↗