Releasing the World's Largest Python Site Every 7 Minutes
summary
Instagram runs a continuous deployment pipeline that pushes changes to the world's largest Python site every 7 minutes, serving 70–100 weekday deploys, by moving from a monolithic Fabric script to a database-backed controller, runners and a per-host Smith agent that enforce desired state. Commits land on master after rebase, tests and parallel canaries (≈2% hosts, 24-minute initial pipeline then rapid follow-ups); uses uWSGI graceful reloading for zero-downtime swaps and supports 3–5 minute rollbacks—system-wide automation that scales and works.
AI-written summary · about
chapters (8)
- 0:00Start
- 0:46STATE OF SERVER RELEASE
- 1:55DEPLOY SCRIPT
- 4:42DEPLOY AUTOMATION
- 6:45DO NOT BREAK TRUNK
- 10:01DEPLOY IN PHASES
- 12:17DEPLOY FASTER
- 15:34THE NORTH STARS
related talks
34mContinuous Deployment for webapps based on Django
45mPython at Massive Scale
47mBuilding Scalable Web Apps
39mA Pythonic Approach to Continuous Delivery
36mA Python Takeover
25mA microservices architecture with Python and Docker containers
42mBuilding a hosting platform with Python
42mBuilding a hosting platform with Python
