Hacker News new | past | comments | ask | show | jobs | submit login

In most cases i have experienced this phenomenon is caused by the fact that cloud block devices are garbage compared to your machine



That combined with the scheduling layers... on the CI service the company I'm working for uses it takes like 2 minutes to just start the job.


Even creating whole new AWS instances each time it shouldn’t take more than 1m.

You can apparently bring it down to 5s by suspending instead of creating instances.


It depends on how much policy your organization has. If your organization requires AV scanners and other security crapware to be on all instances, how long does that take to install? And perhaps they require that you only use their AMIs, which then must be loaded up with extra software to be usable. And perhaps they require all auth use their special auth service, which takes 5m to sync with. And on and on. I've worked in places where it takes 20m to spin up a usable instance, so we ended up just keeping them on most of the time.

In an ideal world, the policy groups imposing these inefficiencies would get billed for the cost of their policies, but I've only ever seen situations where everyone else pays the cost of their incompetence.


Ah, yeah, we kinda have to work around the fact that the antivirus and scanner stuff keeps installing far after the time the instance is done processing the job.

On the plus side, I actually get actionable notifications from the stuff, so it’s not purely bad for me.


And yet the data is ephemeral, so in many cases could be done faster without the "real" block storage guarantees.

Github Actions is pay-per-minute-used, unfortunately, so they may have a negative incentive to speed things up. Unless people become frustrated enough to switch to a non-bundled provider.


Not all the data is ephemeral - stuff like node_modules needs to he cached and if you’re suggesting to use tmpfs then it’s like 50x more cost than fully tricked out cloud ssd which is already ridiculously expensive


And often CPU as well if your machine has a reasonable number of cores.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: