Stream here:
https://gateway.on24.com/wcc/eh/2010041/lp/2240348/tilt-the-quest-for-the-fastest-deployment-time
When a developer changes a line of code, how long does it take for that code to run in their development cluster? Ellen Körbes, an expert in Kubernetes development tooling, has seen the answers to that question vary between 1 second and… infinity. So how do you get your team’s code to stay on the 1 second side?
In this talk, using a Go app as an example, Ellen will explore every avenue to make our “from code change to process running” benchmark faster, and show you whether to…
• …cache your deps with Docker layers or go mod,
• remove debugging data to make Go binaries smaller,
• pre-populate your container with the compiler cache,
• keep a container running, sync code diffs to it, and recompile in place,
• re-compile in place when you have a lot of memory and CPU,
• re-compile when a lack of memory and CPU make the Go compiler sad,
• use trickery to make binaries even smaller,
• and one last trick!
We’ll also see how each item differs when using a local cluster versus a remote one.
Expect an in-depth exploration with strategies and techniques you can put in practice to speed up your workflow for good!