Green-Software-Foundation / patterns

An online open-source database of software patterns reviewed and curated by the Green Software Foundation across a wide range of categories.
https://patterns.greensoftware.foundation/
Other
74 stars 29 forks source link

Make patterns more abstract and not so fine grained - General Strategy? #217

Open markus-gsf-seidl opened 1 year ago

markus-gsf-seidl commented 1 year ago

Currently we are on the track to produce very, very fine granular patterns that are sometimes trivial:

Wouldn't it make more sense to categorize these on a higher level and then break them down? Or cluster them in more general patterns (like Right-sizing). If we continue like this we have a list of very fine granular patterns like:

There are more patterns that are overlapping.

jawache commented 1 year ago

Thanks @markus-ntt-seidl this is great insight.

I think we have a statement that patterns should be decomposed to the point where the SCI impact statement doesn't change any more on further decomposition. E.g. if you have a pattern that is both Energy and Embodied, if it can be split up into two patterns one on Energy and one on Embodied then break it down.

We came up with that approach because someone submitted a patter that was very very high level, "make software carbon aware".

But I can see from your first two examples that we have gone the other extreme as well, two patterns that are worded almost exactly the same seems redundant.

One thought that's popped into my head reviewing your examples above is that there might be a mixture of a pattern and an implementation of a pattern.

E,g, https://patterns.greensoftware.foundation/catalog/cloud/scale-down-kubernetes-workloads/ sounds like a pattern, whereas https://patterns.greensoftware.foundation/catalog/cloud/scale-kubernetes-workloads-based-on-events/ sounds like an implementation of a pattern.

But then again you could also argue that https://patterns.greensoftware.foundation/catalog/cloud/scale-down-kubernetes-workloads/ is an implementation of "scale workloads".

So at what point do we say something is a pattern vs an implementation?

greenhsu123 commented 1 year ago

from @navveenb "Maybe we can have patents as per SCI Energy, Hardware and Carbon Awareness. For example, we would have one patent for sizing and optimization - web, server etc.. and have tags applicable for web, cloud etc"