18 points · by GreenIsGold · 4y ago · 19 comments
For instance, reddit.com is an energy monster, using considerable CPU and bandwidth resources to load a page. However the old.reddit.com domain uses much less power. Multiply that by billions of pageloads per day, and the global energy savings would be significant.
If they have something visual I want to see, I just highlight the title and "Search for..." the graphic version.
You'd think sites like this would have a direct link to the article from the text-only page, but if you click what they give you, it sends you to the front page instead. So they've got it about half right.
Unsurprisingly the lack of flab and inconsiderate resource usage is what attracted me to HN from the beginning. Also the (usually) more intelligent comment section.
The most recent website I've worked on is delivered with a single HTTP request. No more than 50kb. A websocket is used for streaming in additional content based on user activity. I cannot imagine a more efficient way to use the available network resources. server-side blazor is a good example of something you could use to achieve a similar outcome.
The most heinous crime I see in terms of web pollution has to be the way certain orgs insist on shipping 10+meg leviathans that are used for little more than reading news articles and sharing memes.
and others, mainly for bandwidth constrained users
It took me a lot of time trying to convince some customers to let me do that silly change, it's a tiny bit of power but if we built everything thinking about this I'm sure we could save a lot of energy.
How much energy would be saved if Chrome used only as much energy as Safari?
I have no specific numbers for this, but I feel strongly that each byte on the network consumes significantly more power than each byte in the cpu per equivalent unit time.
Sending information across physical distances requires many computers, most of the time. I am not aware of any routers that consume 0 watts of power.
Also, my intuition says that a CPU is faster than I can imagine, so whatever byte we were talking about processing is likely amortized under 1 clock cycle along with 500 others, averaging out to processing times that are infinitesimal.
So, should we worry about how the browser is juggling bytes on the CPU, or how the bytes showed up in the first place?
One of many ways Chrome isn't green.
I would also note that browser vendors and hardware manufacturers (amongst others) also play a part in reducing the amount of energy required to use websites.
That almost seemed to be some kind of turning point, it was one of the first features to go in Mozilla's new relatively anti-feature mindset.
Now the trend seems to be to not even risk a few bits of tracking information, and people might not like the extra bit you would get from having the feature enabled or not.
Also, this is basically what Google's AMP is all about, and people seem much more interesting in hating it than making a better version.
If the choice is between simplicity and preserving real world resources(User time, SSD wear, CPU, bandwidth, etc) devs unfortunately always choose simplicity.
Devs are not limited to 4GB a month of data, nor do they have low end phones.
Also, social platforms have a bit less competition. There's no alternative to reddit except maybe some weird client app. The community is tied together with the tech, it's not like a flashlight where you can choose any model and light up the same place.
People want the fancy high bandwidth stuff, and nobody cares enough about performance to make a whole separate low bandwidth version.
Maybe pages will improve if we ‘name and shame’ the worst culprits.
If you have to crawl & render billions of pages on daily basis - costs are huge (CPU power & energy usage).
Reddit doesn't really have that but they're trying really hard to discourage using the site on mobile, they want you on the app. The same with Twitter.
Screw the eco bullshit. It will make your experience of the web better.