Running Heroku on Heroku
summary
Bootstraps LLVM/Clang on Heroku using GCC then two self-compiles, a three-stage bootstrap where make test passes at each stage and the final clang built with clang binary reproduces itself. Uses GCC, clang, Bundler, lxc and Heroku dynos to run full builds; native gems compile during slug creation. Demonstrates a working Heroku slug compiler and shows Heroku Postgres and PGBackups running as Heroku apps, with caveats about bootstrapping and deployment complexity.
AI-written summary · about
chapters (30)
- 0:00Introduction
- 0:39About Heroku
- 1:52Bootstrapping
- 3:12Baron Munchausen
- 5:51Compilers
- 8:45Selfhosting compiler
- 9:07Advantages of selfhosting
- 11:15Lowlevel virtual machine
- 14:47Running the script
- 16:06Comparing binaries
- 18:01Selfhosted compiler binary
- 18:34Bootstrap
- 19:00Kernel
- 19:30subversion
- 19:41selfhosting
- 22:00addons
- 24:04basic architecture
- 25:35build server
- 26:03forget servers
- 26:51SSH traffic
- 27:10Build and run symmetry
- 27:40Build and run parody
- 28:24Selfhost Heroku
- 29:41Bundler
- 30:15Bundle Install
- 32:01Puzzles
- 33:31Conclusion
- 34:10References
- 35:20Questions
- 35:42Servers
related talks
01h 29mTutorial: Build Your Own Heroku With Cloud Native Stack
55mHeroku PaaS Apps to Feature your Work in any Language
46mHeroku 2014: A Year in Review
28mIf You Know Heroku, You Can Use Kubernetes
36mHeroku: A Year in Review
11mGiving your Heroku App highly-available PostgreSQL
30mDevOps for The Lazy
34mStrong Practices for Rails Applications Continuous Delivery
