-
Notifications
You must be signed in to change notification settings - Fork 29
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
Update cache-static-data.md taking into account cost befinit analysis… #316
base: main
Are you sure you want to change the base?
Conversation
… of non frequently used cached data. Signed-off-by: Jean-Phi <[email protected]>
Hi @russelltrow , do you need anything from me? This is just a suggestion fro improvement. |
|
||
For frequently accessed static data, especially by multiple users, consider caching on a Content Delivery Network (CDN). This reduces individual data transfers per user request, minimizing overall energy consumption. | ||
|
||
If data is required multiple times for each user then caching locally might be advantageous after a propet benefit analysis. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If data is required multiple times for each user then caching locally might be advantageous after a propet benefit analysis. | |
If data is required multiple times for each user then caching locally might be advantageous after a proper benefit analysis. |
Shortening the distance a network packet travels means that less energy is required to transmit it. Similarly, from an embodied carbon perspective, we are more efficient with hardware when a network packet traverses through less computing equipment. | ||
However, a cost analysis is key. We need to compare the energy cost of data transfer with the combined cost of local storage (including its embodied carbon footprint from increased memory usage). | ||
|
||
For frequently accessed static data, especially by multiple users, consider caching on a Content Delivery Network (CDN). This reduces individual data transfers per user request, minimizing overall energy consumption. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For frequently accessed static data, especially by multiple users, consider caching on a Content Delivery Network (CDN). This reduces individual data transfers per user request, minimizing overall energy consumption. | |
For frequently accessed static data, especially by multiple users, consider caching on a Content Delivery Network(CDN). This reduces individual data transfers per user request, minimizing overall energy consumption. |
|
||
## Solution | ||
Caching static data, such as images or audio, instead of transferring it over the network. | ||
Caching static data, such as videos, images or audio, instead of transferring it over the network if the cost benefit analysis proves it being more efficient. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Caching static data, such as videos, images, or audio, instead of transferring it over the network if the cost-benefit analysis proves it being more efficient.
… of non frequently used cached data.
Title
Update cache-static-data
Version
Designation of iteration on the pattern. This will initially be assigned by the patterns working group
Submitted By
Jean-Philippe Ulpiano
Published Date
The date this version of the pattern is published. This will be provided by the patterns working group upon approval
Intent
Caching locally is not always recommended. Different level of caching could be used according to the usage pattern.
Tags
Problem
Reduce energy and emboddied carbon caching data instead of transmitting it.
Solution
How will this patter solve the problem
SCI Impact
Caching too much useless data might lead to an increase of memeory thus leading to an increase of E.
If so much more memroy is needed, then additional might be required thus leading to more embodied carbon.
Assumptions
Caching is important but sometimes might generate trade offs.
Pros & Cons
Discussion section for pros and cons of this pattern