~/talk

The Quest for the Fastest Deployment Time

slides:none on file

Starts at 28s with a simple Docker build; vendoring drops it to ~12s local and ~44s remote, Docker layer-caching to ~12s/40s. Adding Go build flags trims binary size; using Go compiler cache helps locally but hurts remote (large many-file IO). Keeping a container alive and using live sync plus compile-in-place (enter) yields ~2.0s local and ~2.5s remote. Compiling locally and syncing the binary gives ~1.8s local but ~9.9s remote; compressing the binary with UPX cuts that remote time to ~6s. Tradeoffs: CPU/memory and network bandwidth.

AI-written summary · about

  1. 0:00Introduction to fastest deployment
  2. 2:29Why CI shouldn’t drive development
  3. 3:53Use MDX tools for automation
  4. 4:55Benchmark setup explained
  5. 9:29Basic deployment baseline
  6. 10:13Optimizing with vendoring
  7. 11:39Leveraging Docker layer caching
  8. 13:02Removing debug artifacts
  9. 15:50Compiler cache benefits
  10. 18:40Challenges with compiler cache
  11. 19:23Hot reloading in containers
  12. 21:28Achieving two-second feedback
  13. 22:09Trade-offs of hot reloading
  14. 23:34Impact of limited resources
  15. 23:55Local compile and sync binary
  16. 25:39Final remote cluster results
  17. 27:44Choosing the right approach
  18. 29:08Further optimizations and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.