Re:Experiment: The costs of slow build times
by mgaunard on Friday December 09, 2022 @09:55AM
(#33921841)
If you scale up ahead of time then it's not really on-demand, that means you have dedicated hardware you're paying much more for.
Re:Experiment: The costs of slow build times
by danielheath on Friday December 09, 2022 @06:11PM
(#33927714)
The marginal cost to keep a large-ish spot instance running 99% of the time is dirt cheap (eg $400/mo to keep one extra c7g.8xlarge running).
If you're paying for an engineering team, that's a rounding error.
Scale up ahead of time, so there’s always a machine ready. Prefetch the repository / packages when CI workers start, so they’re already installed before a build is triggered. Use your imagination - CI doesn’t have to suck.