Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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