Tags

2 videos are tagged with micro-services

Vlcsnap 2014 10 22 11h32m10s50 thumb
Rating: Everyone
Viewed 642 times
Recorded at: October 3, 2014
Date Posted:

Screen shot 2014 09 19 at 11.07.41 am thumb

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.