Prepping Your Project for Production

Monday 2:20 pm to 3:10 pm, in Salon A-E
Intermediate

About This Talk

Django makes it easy to run a project locally in development where you are the only user and manage.py runserver “just works”. When you start thinking about moving that project to production and running it on the internet; it’s a bit more difficult. You’ll need to consider the following:

  • How should I host my site (PaaS, FaaS, unmanaged hosting)?
  • Should I be using Docker and/or Kubernetes?
  • How do I serve my static/media assets?
  • How should I handle my settings?
  • Which database should I use and what are the performance considerations?
  • How should I handle other supporting services (email, search, cache, etc.)
  • Which web server should I use and how should I configure it?
  • How do I serve my site via HTTPS?
  • How do I protect my site from evil bots and blackhat hackers?

Unfortunately, the answers to these questions aren’t one-size-fits-all. In this talk, I’ll discuss the pros and cons of common approaches and recommend the best option for different scenarios. I’ll also call out various security and performance considerations along the way.

Presenters

    Photo of

    Peter Baumgartner

    Peter is the founder of Lincoln Loop, one of the first companies to provide professional services for Django. He is constantly learning and is well-versed in many technical disciplines including devops, scaling, back-end, and front-end development. Peter is a frequent speaker at DjangoCon and has given talks at PyCon and SaltConf as well. In 2013 he co-authored the book High Performance Django, detailing the techniques used at Lincoln Loop to build high-traffic, scalable sites with Django. He has been interviewed about Lincoln Loop’s remote work style by Wired and 37signals and been published on Forbes, FastCompany and TechRepublic among others.

    Currently residing in Colorado, Peter enjoys a well balanced life with his wife and two children. Beyond technology, his passions include skiing and biking in the mountains near his home as well as the occasional surf trip south of the border.