3 ms·
Which is insane. Local caches should be ubiquitous, along with lightweight validation checks.
by dsr_ 4y ago
Which is insane. Local caches should be ubiquitous, along with lightweight validation checks.
- marginalia_nu 4y agoYeah. It's quite a problem. Although I think in many cases, the people doing this aren't aware it's happening. It's a git action kicking off some jenkins agent somewhere in a kubernetes container on a virtualized server that was set up and forgotten about based on a patchwork of online tutorials.
- pmontra 4y agoProbably everybody knows that each test run and build is downloading GB of data but they're doing it quickly, they don't cost much money or none at all, and it's easier to do it than setting up a local cache and use it (CI, local dev machines,) etc. The only reason I ever saw some optimization at that level was because building the base image took too long, so we were saving one and we were rebuilding it only when dependencies changed. I can't remember the details.
- dp-hackernews 4y agoTry doing that in am air-gapped environment and you'll soon learn about the importance of local artifact caches and caching proxies with tight retrieval policies, or having downloads gated for review... ;-)