Comments (2)
Hmm, now reading this I am not exactly sure anymore if I understood you correct initially:
- Are you proposing a more easy CLI based interface to submit jobs to the cluster? If so somehow the command must provide all the infos that must be typed in on https://metrics.green-coding.io/request.html
- Or are you suggesting a CLI command that is specifically targeted at looking at websites. Using the GMT measurement infrastructure to spin up a browser, visit a page, log all energy data while doing so?
from green-metrics-tool.
Hi @arne
It might help to look at the workshop I delivered at Djangocon 2024 when showing folks how to use some of these tools:
Here's the link to the deck (it's quite long - see slides 46 - 60 for a little more context).
https://docs.google.com/presentation/d/1mn1Qsr_vZ0lkFvIDZu5aEOginHFCpr4V/edit#slide=id.p1
That workshop introduces people to using some tools to look at a website, and use the information recorded to draw some conclusions about the carbon footprint of usage, starting with tooling like WebPageTest, then introducing people to GMT as a way to look at the full stack, instead of only relying on data transfer:
If it helps, I used this diagram below to explain how people with existing django apps can implement some of this, but as the diagram suggests, there are really two separate things people need to get meaningful numbers for web apps:
- an easily reproducible set of server-side components, that are somewhat representative of a live site prepopulated with data (the stuff on the left)
- some knowledge of how to drive a browser with code for repeatable steps, and some understanding of the
usage_scenario.yml
file format
I'm suggesting something on the right hand side - so that people can start using GMT to try running measurement runs in a setup that doesn't just rely on data transfer as the proxy, but still provides a degree of reproducibility.
I'm hoping the repo linked below gives some extra context at what I'm after, but I'll also be in Berlin next week. I'm happy to chat over lunch 👍
https://github.com/mrchrisadams/gmt-check-a-website
from green-metrics-tool.
Related Issues (20)
- Pytest must be stopped when not triggered in subdir
- Tests have race condition with random path HOT 1
- Add Formbricks to energy-id
- Add configured metric providers to status page
- Restricted user rights for cluster
- Green Coding Puppeteer Container not running headless browser HOT 4
- Constant value for network transmission energy calculation HOT 9
- API endpoint /compare does not work anymore HOT 6
- Feature request: Allow comparisons of different usage scenarios and commits
- Add error reporting for frontend HOT 1
- Feature request: support named volumes HOT 4
- Make the carbonDB_add deduplication function faster HOT 3
- Update to the new Ubuntu 24.04 LTS version HOT 1
- HTML escaping inefficient and inconsistent
- Cluster timing checks HOT 1
- cgroupfs support HOT 2
- CentOS support
- State and health check does not work if container_name is used
- depends_on uses wrong name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from green-metrics-tool.