~/talk

Prepping Your Project for Production

Talkat DjangoCon US 2019 · 2019-09-22..09-27· [devops-and-delivery, security]
slides:none on file

Recommends starting on a PaaS (Heroku) or managed Kubernetes, and use managed backing services because a database outage can be game over; deploy with Gunicorn (5s timeout, configure workers) or uWSGI if needed; serve static with WhiteNoise and push media to S3 via django-storages with signed URLs for private files; set DB connection pooling like CONN_MAX_AGE, reduce queries with select_related/prefetch, and apply template fragment caching (example: cut a 2s nav render to ~200ms). Monitor with New Relic/Scout/Datadog and error-report with Sentry; lock dependencies with pip-compile.

AI-written summary · about

  1. 0:00Introduction
  2. 1:45Choosing a hosting platform
  3. 7:49Backing services
  4. 9:22Application configuration
  5. 15:09Web servers
  6. 18:10Managing assets and media
  7. 23:51Performance optimization
  8. 31:40Security best practices
  9. 38:53Observability and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.