Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a server-side estimation model to CO2.js #234

Open
fershad opened this issue Oct 14, 2024 · 1 comment
Open

Add a server-side estimation model to CO2.js #234

fershad opened this issue Oct 14, 2024 · 1 comment
Labels

Comments

@fershad
Copy link
Contributor

fershad commented Oct 14, 2024

Currently, the models available in CO2.js are frontend focused, with a bias towards estimating website carbon emissions. We would like to see additional models that can be used for other areas of digital emissions estimation added to CO2.js.

One area that we believe could benefit from this is the estimation of server-side emissions. We believe that having a simple implementation that can estimate the emissions of running some code on a server would be extremely useful for developers. We have seen some implementations of this in other languages. Most of the libraries listed in the recent GitHub blog post on sustainable software tools do this in some way.

This issue is to discuss what an implementation might look like in CO2.js. It might be a lite version of Cloud Carbon Footprint, or some other existing methodology. It might be a wrapper around some other tooling or library that we can include as a dependancy. It might simply be a reference model that takes some basic inputs (e.g. server model, usage duration, used capacity) and returns a result - this again would have to be based on some existing model.

This work would tie in closely with making CO2.js extensible by converting it to a plugin-based architecture as outlined in #206.

@fershad fershad added enhancement New feature or request roadmap and removed enhancement New feature or request labels Oct 14, 2024
@raymundovr
Copy link
Contributor

raymundovr commented Nov 23, 2024

Hi there,
I'd like to work on this one. I have experience using Kepler to obtain energy used by k8s pods and translate into emissions calculations, not with Cloud Carbon Footprint, though.
In regards to the plugin system I'd also like to discuss about it, if still pertinent.
I'm also open to have a chat on any digital channel, if available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants