How to Write Deployment-friendly Applications
summary
Argues that apps must be environment‑agnostic and shows a working Pyramid web app wired to start via runapp.sh, served with gunicorn, logs to stdout, and configured through environment variables (validated into classes with an env‑config style loader). Secrets come from Vault or platform-specific stores, readiness/liveness endpoints enable zero‑downtime updates behind nginx/HAProxy, Postgres/Redis replace local state, and this pattern scales — exemplified by systems handling billions of requests in production.
AI-written summary · about
chapters (5)
related talks
26mWhat Django Deployment is Really About
32mChoose Your Own Django Deployment Adventure
44mMillions of Apps: What we've learned
41mDjango Deployments Done Right
34mDeploying Without Crying: Deployment Strategies for Peaceful Nights
43mMillions of Apps: What we’ve Learned
38mMillions of Apps: What we've Learned
22mWhat is deployment, anyway?
