The Quest for the Fastest Deployment Time
summary
Baseline Docker build plus deploy takes about 55 seconds locally and ~1–2 minutes remotely; switching to cached dependency layers or vendoring drops that to ~22–28s. Enabling the Go compiler cache with BuildKit cache cuts rebuilds to ~17–19s. Keeping a container running and using tilt live update with enter for in-container hot reload gets iteration time down to ~1–2 seconds locally, but remote clusters stay slower because of image push or binary upload. Compressing binaries with upx (12MB → ~5MB) halves remote update time.
AI-written summary · about
chapters (7)
- 0:00Start
- 0:13The Quest For The Fastest Deployment Time
- 11:50Image Layer Cache
- 27:28Hot-Reload The Source Code
- 30:51Compile Locally & Hot-Reload The Binary
- 38:55UPX Remove Debugging Artifacts
- 41:35Attempt #7: UPX The Ultimate Packer for eXecutables!
related talks
30mThe Quest for the Fastest Deployment Time
27mOptimizing CI/CD Pipelines for Faster Time to Market
24mSpeeding up Your Docker Image Build
50mBuilding on Key – Keeping your Actions and Remote Executions in Tune + Q&A
27mCrafting Seamless Development: Improving Kubernetes Operator Developer Experience
27mImproving the Usability of Remote Caching
05mInstant Self-contained Development Environments
54mHowto: Options Galore to Get from Source Code to Container
