~/talk

Secrets of a WSGI master.

Talkat PyCon AU 2017 · 2017-08-03..08-08· [python]
slides:none on file

mod_wsgi is the WSGI bridge for Apache and the talk shows concrete commands and configs that make it practical: pip install mod_wsgi then mod_wsgi-express start-server or --setup-only to generate Apache config, use --reload for development and --enable-debugger to drop into pdb, and let mod_wsgi-express auto serve Django static files. build and run reproducible Docker images with warpdrive (warp drive build/start) and source-to-image. enable daemon mode, set socket timeout ≈60s, use restart-interval or request-timeout to auto-recover, run as non-root and use virtualenv for reliable production behavior.

AI-written summary · about

  1. 0:00Intro
  2. 1:00What is WSGI?
  3. 4:49Installing mod_wsgi the easy way
  4. 6:01Run mod_wsgi from the command line
  5. 7:29Django framework integration
  6. 7:54Send logging to terminal
  7. 8:04Run with Django management command
  8. 8:37Automatic code reloading
  9. 9:10Django DEBUG settings
  10. 9:39Interactive debugger
  11. 10:24Production configuration
  12. 11:26Build a container image
  13. 12:53Building the container
  14. 14:17A better container image #2
  15. 16:18Running as non root
  16. 16:58Same tools for development
  17. 17:51Source-to-Image
  18. 18:45OpenShift
  19. 19:27Manual Apache configuration
  20. 20:41Use daemon mode of mod_wsgi
  21. 21:24The missing options
  22. 22:09Display name
  23. 22:36Language/Locale
  24. 24:27Connection timeouts
  25. 25:57Failed application loading
  26. 27:12Time triggered restart
  27. 27:50Frequency triggered restart
  28. 28:28Forced process restart
  29. 28:38Graceful process restart
  30. 29:18Request Monitoring
  31. 29:43Process Monitoring
  32. 30:04Server Monitoring
~/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.