Improve Database Performance in Django
Is your Django application sluggish? Are your database queries slowing down your user experience?
This book will help identify, analyze, and fix the most common performance bottlenecks related to database access, by focusing on minimizing the cost of I/O operations by taking full control of the Django ORM’s QuerySets.Master the Django ORM & Eliminate BottlenecksFundamentals: Understand how QuerySets work, including lazy evaluation, caching, and the cost of I/O.Discovery: Learn how to find what takes so much time in your app.
Mature Optimization: Move beyond "premature optimization" and learn a data-driven approach to refactoring based on empirical evidence.
Solved Problems: Get practical, code-first solutions for classic anti-patterns like:
- Chatty I/O
- The N+1 Queries problem
- Full Table Scans
- Complex Queries
- Long SQL Statements
- Fat Pagination Queries
This book is designed for intermediate to advanced Django developers who want to take their applications from "working" to "performant".
Stop guessing why your app is slow and start measuring and improving.