2 min read
Killing N+1 Queries in Django
The N+1 query problem is the most common performance bug in Django apps, and the most quietly damaging. Here is how to spot it and the ORM tools that fix it.
- Django
- Python
- Performance
Writing
Notes on building software: backend systems, the modern React stack, and lessons from shipping real projects.
The N+1 query problem is the most common performance bug in Django apps, and the most quietly damaging. Here is how to spot it and the ORM tools that fix it.
The Next.js App Router makes every component a server component by default. That one default changes how you fetch data, structure components, and think about the client bundle.
FastAPI turns ordinary Python type hints into request validation, serialization, and live documentation. A short tour of the features that earn it a place in your stack.