Secrets of a WSGI master.
summary
Argues that WSGI still meets most needs and shows concrete fixes: mod_wsgi-express and ability to pip install mod_wsgi remove old installation pain, Django management integration boots a production-grade server, and warpdrive builds Docker images and OpenShift-ready deployments. Recommends daemon mode over embedded, documents startup/socket/request timeouts that auto-recover stuck workers, and exposes event hooks/metrics for tuning capacity. Demonstrations and tools are shown working in containers and local dev, with defaults and examples that make mod_wsgi practical rather than legacy trivia.
AI-written summary · about
chapters (30)
- 0:00Intro
- 0:15What is WSGI?
- 6:03Installing mod_wsgi the easy way
- 7:47Run mod_wsgi from the command line
- 8:06No Apache configuration required
- 9:26Django framework integration
- 9:41Run with Django management command
- 10:19Automatic code reloading
- 10:53Interactive debugger
- 11:32Production configuration #1
- 12:31Running in production
- 13:43Production configuration #2
- 16:09Building the container
- 17:24A better container image #2
- 19:30Running as non root
- 20:12Same tools for development
- 21:23Generate image with no Dockerfile
- 21:46Source-to-Image
- 22:22OpenShift
- 22:57Manual Apache configuration
- 23:59Embedded mode
- 24:58Manual daemon mode configuration
- 25:35The missing options
- 26:32Failed application loading
- 27:15Connection timeouts
- 28:12Long running or stuck requests
- 28:42Request Monitoring
- 30:17Performance Monitoring
- 30:30Live Traffic
- 31:17Resources
related talks
32mSecrets of a WSGI master.
53mDjango productivity tips and tricks
58muWSGI, the Swiss Army (MacGyver) knife of deployment
18mFrom WSGI to ASGI - Django 3.0
26mUsing Django as a Micro-Framework: Hacking on the HTTP handlers..
31mHey, Python-Web-Community! What's going on?
53mDjango productivity tips and tricks
30m"What Django Deployment is Really About"
