cncf / tag-app-delivery

📨🚚CNCF App Delivery TAG
https://tag-app-delivery.cncf.io
Apache License 2.0
785 stars 205 forks source link

[Platforms] Sustainability or Optimization capability #321

Open joshgav opened 1 year ago

joshgav commented 1 year ago

In discussions about the first version of the Platforms whitepaper, TAG Sustainability brought up that a platform could offer a capability to optimize workloads for sustainability and efficiency, see #310 and this Slack discussion. Currently we mention measuring energy efficiency and costs as an aspect of observability, but we're learning that there are also tools and services that directly facilitate optimization and which could be grouped into a capability domain, such as the following:

I suggested that all forms of optimization and maximizing efficiency could fall in this domain, including for example profile-guided optimization.

Let's use this issue to discuss what a sustainability or "optimization" capability in a platform might look like and if/how we might add it. Thanks!

cc @nikimanoledaki @ugho16

joshgav commented 1 year ago

Article from Thoughtworks which also recommends observing/measuring then optimizing for sustainability goals: https://www.thoughtworks.com/insights/articles/a-forecast-of-green-clouds

Also notable that the authors equate and learn from optimizing monetary costs ("FinOps") to optimizing energy usage and emissions ("GreenOps"); and recommend that both adopt a measure-learn-optimize approach.

Notable quote: "GreenOps is a continuous cycle that includes: understanding the emissions drivers and their relationships; measuring and accessing the right data; and implementing the optimization strategies to reduce an organization’s carbon footprint."

Finally, the authors point out that attention to this domain should probably fall to a central platform team, if only because the knowledge and practices can be maintained once for all.

ugho16 commented 1 year ago

Another resource from Thoughtworks: in their latest Tech Radar, it can be found "Carbon efficiency as an architectural characteristic" (source: https://www.thoughtworks.com/radar/techniques?blipid=202210030). This article from Spotify Engineering shows how they implemented sustainability in their daily work: https://engineering.atspotify.com/2022/10/bringing-the-climate-fight-to-your-ide/

ugho16 commented 1 year ago

TAG Sustainability is collecting here use cases and solutions for Sustainability: https://github.com/catblade/wg-env-sustainability/blob/landscape_document/documentation/WhitePapers/SustainabilityUseCasesAndLandscape2022.md