I threw this site together in April to track registry growth as most project’s download counts were surging. I wanted to know if it was a rising tide lifts all boats situation. At the time I thought wow eventually theyll cross 1 Trillion, and as of September, it happened.
The data is pulled from their official download counts API, which provides daily aggregate download counts for the whole registry
I mean this is mostly an artifact of how sloppy CI is. Imagine how much energy and resources are wasted reinstalling packages 3 times in a ci pipeline or MR review pipeline
I semi-seriously think of this as a form of eco-terrorism.
I don't know how many nines of this activity is pure waste but it's got to be a lot.
We've designed systems where every time someone corrects a spelling mistake on a website, entire operating systems are ejected, clean images put in their place and all dependencies are re-downloaded and rebuilt.
Often multiple times as it goes through a "CI pipeline", with separate clean builds to prove the unit tests before merge, prove them again post-merge. Again to produce integration test environments, yet again to produce deployment images, etc.
It's held up as "best practice" and "reproducible builds" but it's a disgusting amount of waste.
Not something to be celebrated to be sure
I threw this site together in April to track registry growth as most project’s download counts were surging. I wanted to know if it was a rising tide lifts all boats situation. At the time I thought wow eventually theyll cross 1 Trillion, and as of September, it happened.
The data is pulled from their official download counts API, which provides daily aggregate download counts for the whole registry
I gotta wonder what % of these are CI botch jobs that re-pull NPM for every commit on every branch.
I mean this is mostly an artifact of how sloppy CI is. Imagine how much energy and resources are wasted reinstalling packages 3 times in a ci pipeline or MR review pipeline
It might be like... $0.10 a month or so, _wasted_!
In the meantime we up our suv's with $100/mo in gas and heat our houses with $200/mo of fuel.
The elephant in the room is not CI.
I semi-seriously think of this as a form of eco-terrorism.
I don't know how many nines of this activity is pure waste but it's got to be a lot.
We've designed systems where every time someone corrects a spelling mistake on a website, entire operating systems are ejected, clean images put in their place and all dependencies are re-downloaded and rebuilt.
Often multiple times as it goes through a "CI pipeline", with separate clean builds to prove the unit tests before merge, prove them again post-merge. Again to produce integration test environments, yet again to produce deployment images, etc.
It's held up as "best practice" and "reproducible builds" but it's a disgusting amount of waste.
It follows from its cost. If it costs $0.01 to rebuild your site for a spelling mistake (spin up new os images, etc) people do it.
We need the EU to put a tax on CI/CD tasks.