-
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -15,12 +15,17 @@ tags: | |||||
<PatternComponent></PatternComponent> | ||||||
|
||||||
## Description | ||||||
From an energy-efficiency perspective, it's better to reduce network traffic by reading the data locally through a cache rather than accessing it remotely over the network. | ||||||
Relying on local data caches instead of remote access significantly improves energy efficiency. | ||||||
Shorter data journeys require less energy transmission, similar to how fewer network devices traversed translate to lower embodied carbon emissions. | ||||||
|
||||||
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. | ||||||
|
||||||
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 commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
## 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 commentThe 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. |
||||||
|
||||||
## SCI Impact | ||||||
|
||||||
|
@@ -35,6 +40,7 @@ Reducing the distance travelled will impact SCI as follows: | |||||
## Assumptions | ||||||
Suppose we transfer all the data of an application across the network as often as needed because some of the data may require a regular update. A better solution would be to consider a caching mechanism for static data that doesn't require frequent updates. This will reduce network traffic because we are doing local readings of the static data. | ||||||
|
||||||
In addition to reducing carbon emissions, caching frequently accessed assets locally can significantly improve application efficiency. | ||||||
|
||||||
## Considerations | ||||||
- It may reduce cloud bills because shortening the path that a network packet travels will cost less. | ||||||
|
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.