Millions of Apps: What we’ve Learned
summary
Heroku reports deploying two to three million apps and distills recurring lessons into 12 Factor rules: keep secrets out of git and in environment variables using an .env file and the dotenv gem and run with dotenv + foreman* in development, use add-ons that inject config, and version config separately. Use persistent logging (Papertrail), error trackers (New Relic, Honeybadger), admin‑flavored error pages, concurrent servers (Unicorn or Puma) to avoid router queuing, note dynos have ~512MB RAM and Heroku times out queued requests after 30s.
AI-written summary · about
chapters (16)
- 0:00Start
- 1:23Code Triage
- 3:55Rails Gets A lot right
- 4:28Security Security Security
- 6:51Secure keys in source control
- 10:47Someone Can read my ENV Variables?
- 11:53Can you deploy your app to change your $3 Bucket?
- 13:34Keep Config Seperate from Code
- 16:43Using Postgres in Production?
- 17:11Dev/Prod Parity
- 18:35Use a Readme to scale your Devs
- 20:39Application Health
- 27:26"No Friction" Intelligent Routing
- 30:30Unfortunately "Friction" Exists in Distributed Systems
- 32:48uses a variant of Round Robin Routing
- 35:23Questions? (for real this time)








