Optimizing Django ORM Queries
PULKIT PAHWA (~pulkit2) |
Django is a Python-web-framework which is being used by a large number of developers for writing web applications. Django lets you to create applications pretty fast, but it often results into performance overhead if the ORM queries(object relational Mapper) which comes in-built with Django are not properly optimized.
Taking care of ORM queries, we can speed-rocket our web application. For instance, I was reviewing code by a junior developer. An un-optimized query resulted into 700 sql reads from db, which when carefully optimized .
Knowledge of Python, Django
Speaker is a full-stack developer, have been working as a freelancer for more than an year now. Some of the projects he has worked on are:
- Datahack : Online hackathon platform for data scientists (https://datahack.analyticsvidhya.com)
- Analytics Vidhya Jobs (https://analyticsvidhya.com/jobs/)
- Pincare.in: Charity check-ins platform