Prefetching for Fun and Profit

Tuesday 11:30 am to 12:20 pm, in Salon F-H
Advanced

About This Talk

Django’s prefetch_related system is great and makes it simple to fetch the data you need in an efficient manner. Taking a look at how Django implements this can actually help improve your own code!

In this talk, we’ll do a deep dive into Django’s implementation of prefetch_related. We’ll then look at ways to make use of that knowledge including:

  • Avoiding common pitfalls when working with prefetched data.
  • Defining our own descriptors which can be prefetched.
  • Composing and manipulating prefetch_related data
Buy Tickets Now

Presenters

    Mike Hansen