You Don't Need Containers to Run Django in Production

Oct 17 2:00 PM PDT :calendar: to 2:45 pm

About This Talk

While containers have a lot of advantages they can also bring a lot complexity into deploying Django to production, but you don’t need them to have a stable, reliable site.

To get started, you need to choose a web server. In this talk we’ll compare synchronous servers, like gunicorn and cherrypy, to asynchronous servers such as Daphne and Uvicorn. We’ll look at benchmarks, how they are configured, how they are managed and what they do to avoid resource contention and improve reliability of your site.

We’ll also take a look at how your server of choice can be restarted during deploy by using supervisord or systemd.

By the end you’ll be more informed on how to deploy your code, the complexities associated with it and have a set of best practices that can be used to bootstrap your production environment.

Presenters

    Photo of Eduardo Felipe Castegnaro

    Eduardo Felipe Castegnaro

    Eduardo is the Head of Software Development at OnSign TV, a digital signage platform managing thousands of screens around the world.

    He’s been programming in Python for over 15 years and started using Django on version 1.2, almost 12 years ago.

    As a two-time GSoC participant, Eduardo has given talks at PythonBrasil, FISL and other local conferences in Brasil.