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

YouTube

Optimize Python & Django Apps with Postgres Superpowers

PyCon US via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Discover Postgres superpowers to optimize Python and Django app performance in this 43-minute PyCon US workshop. Explore techniques to tackle slow queries, identify bottlenecks using Django ORM, and analyze Python and SQL code. Learn to leverage tools like pg_stat_statements, django-debug-toolbar, and Azure's Query Performance Insight. Master the art of eradicating loops, limiting selections, and implementing keyset pagination. Gain insights into scaling Postgres horizontally with Hyperscale (Citus) on Azure Database for PostgreSQL. Dive into practical examples using a sample Django application, and unlock eight key takeaways to supercharge your Python and Django projects with PostgreSQL optimization techniques.

Syllabus

Intro
pg_stat_statements / analyzing performance
Query Performance Insights / on Azure
Performance Recommendations / on Azure
Logs on Postgres / are they useful?
Loops, once upon a thousand times
CATCHING LOOPS ON PROD
Limiting what you are selecting
Pagination / why is paginating so important?
Pagination / Default paginator class
Keyset pagination / why you should care
Fixing a slow query / Looking into EXPLAIN
Fixing a slow query / adding a partial index
Fixing a slow query / scaling UP your server
Your 8 takeaways, the Postgres superpowers

Taught by

PyCon US

Reviews

Start your review of Optimize Python & Django Apps with Postgres Superpowers

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.