Best practices for scaling Django

Anton Pirker

A story about

DjangoCon Europe 2016 / Budapest

Betty

Backend Development

Marissa

Management

Yoga Videos

 select_related 

and 

prefetch_related

Basic Django Montoring

Achievement Unlocked!

Optimized queries

Achievement Unlocked!

Basic Django Montoring

Hardware Monitoring

Achievement Unlocked!

Optimized queries

Basic Django Montoring

Dedicated database  server

Achievement Unlocked!

Hardware Monitoring

Optimized queries

Basic Django Montoring

Cookies...

Django Caching

Achievement Unlocked!

Dedicated database  server

Hardware Monitoring

Optimize queries

Basic Django Montoring

Pg Bouncer

Database connection pooling

Achievement Unlocked!

Django Caching

Dedicated database  server

Hardware Monitoring

Optimized queries

Basic Django Montoring

Sync

Async

Celery

Redis

Celery FloweR  ›   Dashboard

Celery FloweR  ›   Dashboard

Celery FloweR  ›   Broker

!

Celery FloweR  ›   Dashboard

Celery FloweR  ›   Dashboard

Celery FloweR  ›   Broker

Async Tasks

Achievement Unlocked!

Database connection pooling

Django Caching

Dedicated database  server

Hardware Monitoring

Optimize queries

Basic Django Montoring

You've achieved developer level:

Level up!

2

(of 800)

Level 1 Summary

Basic Django Montoring

Optimize queries

Hardware Monitoring

Dedicated database  server

Django Caching

Database connection pooling

Async Tasks

 

Thank's 
for listening!

Anton Pirker

www.anton-pirker.at

anton@ignaz.at

 

http://tinyurl.com/scalingdjango

Made with Slides.com