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

Adding cloud platform computation and PUE #369

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

tibosmn
Copy link
Contributor

@tibosmn tibosmn commented Jan 31, 2025

Hello,

I’ve finally implemented the methodology we proposed in BoaviztAPI: a bottom-up model to assess the environmental impacts of cloud services.

Key Updates

  • Added functionality to assess the footprint of a Cloud Platform (i.e., multiple servers).
  • Incorporated Power Usage Effectiveness (PUE) in computations.
  • Refactored terminology:
    • Replaced cloud with cloud instance (i.e., virtual machines, as per the paper’s terminology).
    • Introduced cloud platform as the underlying infrastructure hosting cloud instances.
  • Implemented an archetype for cloud platforms, following a bottom-up approach: server → cloud platform → cloud instance. Both CloudPlatform and CloudInstance are now considered services, not devices.
  • Moved complete_usage logic directly into setters to avoid breaking encapsulation. I feel this should be our approach moving forward,

Breaking Changes

Since these updates affect the computational model, I’ve implemented them gradually to ensure result consistency and verify tests coherency

Next Steps

  • Given the significance of these changes, I believe we should discuss whether the implementation I've proposed is the right one.
  • Once we validate an approach, we should integrate the paper’s embodied impact factors for cloud platforms (and instances), which will require updating all related tests.

Let me know your thoughts!

@tibosmn
Copy link
Contributor Author

tibosmn commented Feb 3, 2025

ping @PierreRust @samuelrince if you can kindly review what I proposed :)

@PierreRust
Copy link
Contributor

pff, c'est bien gros comme PR , je vais essayer de jeter un oeil 😅

@da-ekchajzer da-ekchajzer self-requested a review February 4, 2025 17:20
@da-ekchajzer
Copy link
Collaborator

Will check ! Thank you :)

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

Successfully merging this pull request may close these issues.

3 participants