更多自行開發的軟件或會納入碳排放衡量
More of the Software You Build May Be Measured by Its Carbon
企業排放披露愈趨詳細,工程團隊開發的軟件也會納入碳排放衡量;Software Carbon Intensity 於 2024 年成為國際標準 ISO/IEC 21031。
Your company has published targets for cutting its emissions. For years these were about offices, travel and suppliers. Then a message arrives from the sustainability team asking how much electricity your services use, and how the figure is changing. Nobody on your team knows where to start.
Expect more of these questions. Software runs on hardware that is built from materials and powered by electricity, and as companies report their emissions in more detail, the systems their engineers build become part of the count.
There are now standard ways of measuring it. In 2021 the Green Software Foundation was set up under the Linux Foundation, with members including Microsoft, Accenture, GitHub and ThoughtWorks. It published a specification called Software Carbon Intensity, which in 2024 became an international standard, ISO/IEC 21031. It describes a score, not a total. You take the energy your software uses, multiply it by the carbon intensity of the electricity, add a share of the emissions from making the hardware, and divide by a unit that makes sense for your product. Per user, per API call, per report generated.
The unit matters. A total will grow whenever your business grows. A rate per request can go down even as traffic goes up, which makes it something a team can actually improve and track.
The second idea is carbon aware computing. The carbon intensity of electricity changes during the day and between regions, depending on how much comes from wind, sun or gas. Work that does not need to run right now, such as nightly batch jobs, model training or large backups, can sometimes be moved to a cleaner hour or a cleaner region.
For developers, much of this looks familiar. Efficient code, right-sized servers, deleting data nobody uses and turning off environments at night all save money as well as carbon. What is new is being asked to measure it and explain it.
You do not need to become an expert. But it is worth knowing which of your services use the most compute, which work could run at a different time, and what your cloud provider already reports about emissions. When the next message from the sustainability team arrives, you will have something better to say than nobody knows.
– Asael Shinder
來源:DEV Community · dev.to