Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Efficient Django

EuroPython Conference via YouTube

Overview

Explore efficient Django development techniques in this 41-minute EuroPython 2016 conference talk by David Arcos. Dive into scalability and performance concepts, learning how to manage traffic peaks, handle large databases, and identify bottlenecks. Discover practical tips and tricks backed by experiments and timing improvements. Cover system architecture, database performance optimization, queues and workers implementation, profiling with django-debug-toolbar, caching strategies for queries and templates, solutions for slow admin interfaces, model optimization techniques, and methods to speed up tests. Gain insights on prioritizing performance issues, basic scalability principles, and essential monitoring and profiling tools. Learn to leverage bulk operations, related object retrieval, and caching mechanisms to enhance Django application efficiency.

Syllabus

Intro
Abstract
LEAD RATINGS
Basic concepts
Prioritize and focus
Basic scalability
Database performance
Templat
Bottlenecks
Measuring
Can't improve what you don't measure
Monitoring
Profiling
timeit
ipdb
django-debug-toolbar-line-profiler
Tips and tricks
Add db indexes
Do bulk operations
Get related objects
Slow admin?
Cachalot
Queues and workers
Cached sessions
Persistent connections
UUIDs
Slow tests?
Conclusions
Good resources

Taught by

EuroPython Conference

Reviews

Start your review of Efficient Django

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.