From Dev.to
The N+1 Query Problem: Why One Page Sends Hundreds of Queries
A page that lists 50 blog posts with their authors works fine on your laptop. In production it takes two seconds. The database is not overloaded, no single query is slow, and the code looks clean. You...
