DjangoCon 2014- Optimizing your webapp by using django-debug-toolbar

Published: 19 September 2014
on channel: Confreaks
3,713
63

This talk explains how to perform SQL query analysis and how to rewrite your views to reduce the number of queries Django uses in evaluating your model objects and their attributes. Special emphasis will be given to the powerful methods "select_related" and "prefetch_related." I will highlight the problem with a naive use of the ORM, how to target code for optimization, and the beneficial result.

Help us caption & translate this video!

http://amara.org/v/FPWg/


Watch video DjangoCon 2014- Optimizing your webapp by using django-debug-toolbar online without registration, duration hours minute second in high quality. This video was added by user Confreaks 19 September 2014, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,713 once and liked it 63 people.