~/talk

The Quest for the Fastest Deployment Time

Talkat GopherCon 2020 · 2020-11-09..11-13· [devops-and-delivery, kubernetes]
name:L Körbes
links:none on file
slides:none on file

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

  1. 0:00Start
  2. 0:13The Quest For The Fastest Deployment Time
  3. 11:50Image Layer Cache
  4. 27:28Hot-Reload The Source Code
  5. 30:51Compile Locally & Hot-Reload The Binary
  6. 38:55UPX Remove Debugging Artifacts
  7. 41:35Attempt #7: UPX The Ultimate Packer for eXecutables!
~/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.