
N+1 queries are the single most common database performance bug, the easiest to introduce, and the easiest to miss in code review. They turn one query into hundreds, then thousands, then take down a service that worked fine in development. Here's how N+1 happens, how to detect it, and the patterns that prevent it from creeping back.
Engineering Craft
TypeScript, CI/CD, databases, observability -- the skills that make code production-ready.