Made for the 🌎 by Carsten Windler
To combat the Climate Crisis, everyone needs to do their share - also we Software Developers. The idea of Green Software Engineering is still not very popular, but recently it has gained a lot of traction.
The Green ElePHPant wants to become a set of tools, ideas and best practices to enable every PHP developer to participate.
Green Software Engineering is a highly fascinating field. It goes way beyond the "normal" software engineering and includes knowledge about science, green technologies, energy markets, hardware, and much more.
Check out the following resources if you want to learn more: Green IT Resources
So far, the Green ElePHPant is a one-man show. Hopefully, this will change soon! CONTRIBUTORS WELCOME!
https://github.com/green-elephpant/carbon-aware
The first and probably most important piece of Green ElePHPant is the CarbonAware toolkit. Its aim is to provide an easy way for all PHP developers to reduce carbon emissions of their software by making it carbon aware.
How does it work? Well, we are right in a transition period, from fossile to renewable energy.
Renewable energies unfortunately not very reliable. The better the conditions, means more wind and sunshine, the greener the electricity becomes.
A fundamental concept of Green Software Engineering is Time Shifting: let's move the workload of our systems to times when the electricity that out servers consume is causing less carbon emissions, if possible.
https://github.com/green-elephpant/code-bench
You want to optimize your code to save emissions, but don't know where to start? CodeBench can help you identify slow functions and other bottlenecks.