Jeremiah,
@Jeremiah@alpaca.gold avatar

Re: https://blog.webpagetest.org/posts/carbon-control/

If you care about your website’s CO₂ emissions, but still eat meat, you have been greenwashed.

Datacenters already are one of the greenest industries (electricity-wise) and rapidly improving. AWS and Azure will be carbon neutral by 2025. GCP has been neutral for 6 years and will be carbon-free by 2030.

Sources:
https://sustainability.aboutamazon.com/environment/renewable-energy
https://azure.microsoft.com/en-us/explore/global-infrastructure/sustainability
https://cloud.google.com/sustainability/

geewee,
@geewee@fosstodon.org avatar

@Jeremiah This isn't a good take I think. Even while cloud centers are rapidly using more and more green power (some more rapidly than others), a large percentage of cloud emissions (60%+) are from embodied emissions, aka the production of the hardware. Green electricity doesn't mean no emissions for cloud, and green electricity could be used elsewhere if websites were lighter.
Now is it the most high impact thing you can do? Maybe not, but saying you don't have to do anything isn't true.

Jeremiah,
@Jeremiah@alpaca.gold avatar

@geewee My point is that you will reduce your emissions more from eating one less hamburger than saving a few kilobytes on a webpage. There are many great reasons to reduce webpage size but it’s just not a meaningful carbon reduction even if everyone did it.

Jeremiah,
@Jeremiah@alpaca.gold avatar

@geewee From my experience working on cloud infrastructure at companies that spent hundreds of millions of dollars annually with AWS/GCP, the big waste is in "cold" data storage and offline data processing. I suspect most companies could reduce their datacenter-related carbon emissions more by deleting data they don't need, reducing data storage resiliency, and optimizing data processing jobs than by reducing their JS payloads. Even then, flying less and vegan cafeterias will be more impactful.

geewee,
@geewee@fosstodon.org avatar

@Jeremiah Oh certainly big corporations hoard storage like big some big weird dragons hoarding gold.
So I ran the numbers:
Network traffic is let's say 0.05 kWh/GB (https://www.cloudcarbonfootprint.org/docs/methodology/#appendix-iv-recent-networking-studies), but this is very uncertain, could be higher, could be lower.
Let's take the production electricity mix from germany - 0.3776 CO2e per KwH (https://www.climatiq.io/data/explorer?search=production+mix&region=DE)

geewee,
@geewee@fosstodon.org avatar

@Jeremiah
That means that one GB of network traffic in power usage is about 0.01888 kg CO2e - if we consider that only 50% of the CO2e comes from the electricity, and the other from embodied emissions we get 0.03776 kg CO2e per GB.
Let's also account for CPU usage parsing the extra stuff on both ends - let's just double the estimate and call it a day: 0.07552 kg Co2e per GB.

geewee,
@geewee@fosstodon.org avatar

@Jeremiah A kilo of beef is 26kg CO2e per kg (https://www.climatiq.io/data/explorer?search=beef&region=DE&unit_type=Weight), and assuming a patty weighs 200g, that's a comfortable 5.2kg CO2e for the patty, disregarding the rest of the burger.
It essentially means you'll need to save around 70GB's of traffic to offset one hamburger bun.

geewee,
@geewee@fosstodon.org avatar

@Jeremiah So unless you're running some real huge websites(does happen), or websites with a great deal of users(also happens), I agree that it's probably not the best use of your time from a climate perspective (but might still be from a UX one)
tl;dr - you're probably right for 95% of usecases, unless your pages are really goddamn heavy, or you're serving many millions of daily views.

Jeremiah,
@Jeremiah@alpaca.gold avatar

@geewee Insightful data exploration!

geewee,
@geewee@fosstodon.org avatar

@Jeremiah Hate it when the numbers tell you someone else is right :D

Jeremiah,
@Jeremiah@alpaca.gold avatar

@geewee I love when people are curious enough to inquire and humble enough to change their mind 🙌

geewee,
@geewee@fosstodon.org avatar

@Jeremiah
(I work on among other things, measuring CO2 from cloud compute)
More tangential info here: https://www.gustavwengel.dk/greener-cloud-computing

Jeremiah,
@Jeremiah@alpaca.gold avatar

@geewee All great recommendations!

geewee,
@geewee@fosstodon.org avatar

@Jeremiah Thank you!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • anitta
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • megavids
  • JUstTest
  • All magazines