6 comments

  • emifo3 9 hours ago

    When you open chess.com to play a chess game. it loads 150mb of data for new visitors and 1200 request (40mb) for home page in a minute. It loads a 800kb .ts file every second! And everytime you click play to load the board, it loads 30mb data containing 7mb stockfish.js and 15mb explanation-engine.wasm uncached. I aksed the AI to calculate the environmental cost: assuming 5 million web sessions per day it becomes 182 Peta bytes per year and 10 Giga watts of energy waste causing 3500 tons of CO2 in our breathable air by not using cache and optimizations. Who is responsible for this ? causing thousands of people get cancer?

    • ben_w 9 hours ago

      > I aksed the AI to calculate the environmental cost: assuming 5 million web sessions per day it becomes 182 Peta bytes per year and 10 Giga watts of energy waste

      Ask your AI about the difference between power and energy.

      What you are actually asserting here, by saying "10 Giga watts" is that this website is spending around a million dollars an hour on their and their ISP's electricity bill.

      • emifo3 9 hours ago

        I asked the AI your question, and it said: It should be written GWh (energy), not GW (power). That was my mistake writing the text. It is ~10 GWh/year. But the calculations are correct.

        1. Electricity consumption: Modern internet transfer energy estimates: 0.02–0.08 kWh per GB Reasonable global average: 0.05 kWh/GB Energy: 182,500,000 × 0.05 ≈ 9,125,000 kWh/year ≈ 9.1 GWh/year

        2. CO2: Typical internet electricity intensity: ~0.3 to 0.5 kg CO₂ per kWh We use a reasonable mid range: 0.4 kg CO₂ / kWh Now: 9.1 GWh = 9,100,000 kWh CO₂: 9,100,000 × 0.4 = 3,640,000 kg CO₂ = 3,640 tons CO₂/year

        Using: $0.10–0.20 per kWh Estimate: 9,125,000 × $0.10 ≈ $912,500/year

        If it is wrong. please tell me.

  • leksje 9 hours ago

    terrible ragebait

    • emifo3 9 hours ago

      I am a player there, I play chess every day. Buy every time i wanted to open to play game i taking so long to load the game. Once i get curious about what does it loads that uses this much of my traffic, and saw this. this is not raigbait. They are terrible at caching, optimization etc. The truth is bitter. Every programmer should not just think that my code works and that's it. It's up to us these env costs.