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

Choose sustainable region for workloads #128

Conversation

markus-gsf-seidl
Copy link
Contributor

Choose sustainable region for workloads #74

@markus-gsf-seidl
Copy link
Contributor Author

Note there is also "Choose A Region That Is Closest To Users" which covers that the application is run nearest to the users. I think there can be some kind of optimisation done, by the application. But this involves calculating the tradeoff between most sustainable region and nearest to the user.
I left that aspect out (it may be too complicated/specialised) and focused on background workloads.

@dubrie dubrie self-assigned this Oct 23, 2022
@dubrie dubrie added initial review proposed pattern An idea for a new pattern to submit CLOUD CLOUD Patterns labels Oct 23, 2022
@dubrie
Copy link
Contributor

dubrie commented Oct 23, 2022

Looks good from an initial review!

@dubrie
Copy link
Contributor

dubrie commented Oct 23, 2022

Assigning to @greenhsu123 for SME review

@greenhsu123
Copy link
Contributor

greenhsu123 commented Oct 24, 2022

It looks like we already have a pattern covering this intent's 2nd solution. Please see here- https://github.com/Green-Software-Foundation/green-software-patterns/blob/dev/docs/catalog/cloud/choose-region-closest-to-users.md
@markus-ntt-seidl @dubrie

@markus-seidl
Copy link

markus-seidl commented Oct 25, 2022

Well, that's exactly what I wrote here #128 (comment) :) @greenhsu123
Additionally the solution applies to the workload and the workload should ideally be also near to the application region, if run in another region.


## Solution

Run the workloads in a region that the used cloud provider labels as most sustainable. Choose the region that is near your application so that data transfer to and from the sustainable region minimal.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do think these two patterns describe different facts and details, can you check again?

Copy link
Contributor

@greenhsu123 greenhsu123 Nov 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had another look. So firstly, I think it's best if we separate this pattern into two patterns so we are following the 1:1 mapping.

Secondly, if we were to separate the patterns: the other pattern's solution is Choose a region that is the closest to the majority of where the network packets are going., which is fairly similar to Choose the region that is still near to your application so that data transfer to and from the sustainable region is minimal. However, the latter can be used to address different intent. Thoughts?

@dubrie dubrie linked an issue Oct 30, 2022 that may be closed by this pull request
[Software Carbon Intensity Spec](https://grnsft.org/sci)

Concerning the SCI equation. choose sustainable region for workloads will impact two parts:

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with @greenhsu123 that this would also affect M.

@greenhsu123 greenhsu123 requested a review from tmcclell January 10, 2023 14:57
@markus-gsf-seidl markus-gsf-seidl added the blocked Issue needs attention / got stuck label Mar 14, 2023
katerynao added a commit to kreuzwerker/patterns-128 that referenced this pull request Sep 29, 2023
…d region to include location-based carbon intensity

Signed-off-by: Kateryna Oliferchuk <kateryna.oliferchuk@kreuzwerker.de>
@franziska-warncke
Copy link
Contributor

@markus-gsf-seidl Please have a look again. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Issue needs attention / got stuck CLOUD CLOUD Patterns proposed pattern An idea for a new pattern to submit SME Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Cloud-Engineer] Region Selection
7 participants