The vocabulary of the job, one term at a time — what it means, and when you would say it.
Data · beginner
One query to fetch a list, then one more query per row — N+1 round trips where two would do.
Meaning
One query to fetch a list, then one more query per row — N+1 round trips where two would do.
N+1 is the most common performance bug in data-backed applications, and it hides well: each individual query is fast, and the problem only appears at the size of the list. ORMs produce it by default through lazy relations. The fix is to fetch the related rows in one batch — a join, an `IN` query, or a dataloader that coalesces the per-row calls into one.
Listing 100 posts then loading each post's author separately issues 101 queries instead of 2.
No published skills are linked yet.
Work through the glossary one card at a time, in a different order every run.
Open the discover feed