Secrets of a WSGI master.
summary
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
chapters (32)
- 0:00Intro
- 1:00What is WSGI?
- 4:49Installing mod_wsgi the easy way
- 6:01Run mod_wsgi from the command line
- 7:29Django framework integration
- 7:54Send logging to terminal
- 8:04Run with Django management command
- 8:37Automatic code reloading
- 9:10Django DEBUG settings
- 9:39Interactive debugger
- 10:24Production configuration
- 11:26Build a container image
- 12:53Building the container
- 14:17A better container image #2
- 16:18Running as non root
- 16:58Same tools for development
- 17:51Source-to-Image
- 18:45OpenShift
- 19:27Manual Apache configuration
- 20:41Use daemon mode of mod_wsgi
- 21:24The missing options
- 22:09Display name
- 22:36Language/Locale
- 24:27Connection timeouts
- 25:57Failed application loading
- 27:12Time triggered restart
- 27:50Frequency triggered restart
- 28:28Forced process restart
- 28:38Graceful process restart
- 29:18Request Monitoring
- 29:43Process Monitoring
- 30:04Server Monitoring
related talks
33mSecrets of a WSGI master.
41mWarpdrive, making Python web application deployment magically easy
58muWSGI, the Swiss Army (MacGyver) knife of deployment
53mDjango productivity tips and tricks
45mRunning Django on Docker: a workflow and code
31mHey, Python-Web-Community! What's going on?
53mDjango productivity tips and tricks
18mFrom WSGI to ASGI - Django 3.0
