Skip to content

Instantly share code, notes, and snippets.

@mrchrisadams
Last active March 23, 2021 15:19
Show Gist options
  • Save mrchrisadams/12fa0d440b6873e8afef986aa78ec60a to your computer and use it in GitHub Desktop.
Save mrchrisadams/12fa0d440b6873e8afef986aa78ec60a to your computer and use it in GitHub Desktop.
thought experiments for CO2 based opimised routing
co2_optimising_example:
- options:
- greenband
- latency_then_bandwidth
# optimise for carbon intensity. Choose ASs which have advertise
# a carbon intensity per hour of less than 300 grams of CO2 per
# KwH, either by being in a place where the grid is green (Iceland),
# or where they are bringing down their grid average by sourcing power
# from renewables, or a charged battery to avoid drawing power when
# lots of fossil fuels are on the grid
greenband:
- co2e: "<=300"
# optimise for cost, then latency. Cost is a often a good proxy for
# energy, but latency is important for a good browsing experience
latency_then_bandwidth:
- cost
- lat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment