Coder Social home page Coder Social logo

googlecloudplatform / region-picker Goto Github PK

View Code? Open in Web Editor NEW
51.0 18.0 11.0 764 KB

Tool to help you pick a Google Cloud region considering carbon footprint, price and latency.

Home Page: https://cloud.withgoogle.com/region-picker/

License: Apache License 2.0

HTML 46.60% JavaScript 53.40%
carbon-free google-cloud carbon-emissions google-cloud-region region-picker carbon-footprint

region-picker's Introduction

region-picker's People

Contributors

cyclenerd avatar deleplace avatar steren avatar vincentponcet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

region-picker's Issues

Add Warsaw (europe-central2)

GCP region Warsaw (europe-central2) is available but not in the tool yet.

This is because carbon data for europe-central2 is not yet available here.

It will hopefully be added to 2020 refresh of the carbon data.

Measure real latency to GCP region instead of using current location

Instead of prompting for current location, we could do like https://gcping.com and send requests to Cloud Run services deployed on every GCP regions and measure latency.

The optimizer would then need to en adjusted to take latency into account in addition to geo coordinates.

Hosting Cloud Run services in many GCP regions comes with an additional maintenance burden and costs, and adds server side dependencies to this tool.

It is unclear if this is worth the investment.

support regions with no carbon data

Carbon data is updated once a year for regions launched the year before.

it is published on this site and on GitHub

However, Google Cloud launches new regions regularly. It would be useful to be able to add them to this tool before carbon data is available.

This tool would need to be updated so that:

  • its algorithm properly handles carbon data not available
  • if the "carbon" slider is > 0, we should display a warning that carbon data is missing for some regions and therefore they won't be considered unless the carbon slider is set to 0.

Store parameters in URL

The parameters of the optimizer could be stored as URL parameters, either by default, or when users click "Share".

This would allow users to share their results by sharing a URL

add me-central2 region

lowest latency region for saudi arabia should be me-central2 (Dammam) but it is currently showing a different region. is it possible to add all new locations in middle east to the list?

Some high carbon regions have 3 leaves

Leaf rendering seems to have an issue: Jakarta shouldn't have 3 leaves.

It doesn't seem to affect the region sorting. The problem likely comes from the code that translates carbon info into number of leaves

image

Carbon footprint rating

If I filter the regions with 100% Lower carbon footprint, 0% Lower price and 0%Lower latency. It ranks regions only using Carbon Free Energy percentages. Surely this is incorrect because when a region is not using carbon free energy it should take into account the Grid carbon intensity too. For example:
us-central1 has a Carbon Free Energy: 93% and a Grid carbon intensity: 454 gCO2eq/kWh. This means 7% of the time it uses 454 gCO2eq/kWh, and on average it is 0.07* 454 = 31.78gCO2eq/kWh.

us-west1 has a Carbon Free Energy: 90% and a Grid carbon intensity: 78 gCO2eq/kWh. This means 10% of the time it uses 78 gCO2eq/kWh, and on average it is 0.10* 78 = 7.8gCO2eq/kWh.

Yet us-central1 is showing up better on the Lower carbon footprint ranking than the us-west1.

Screenshot 2022-04-26 at 16 50 11

Save Countries Selected and add to output

The where is your traffic coming from drop down is too small.
There may be better UI widgets for a multiselect list.
Once a country is selected, it should be added to the output.
The site should produce a report that engineers can submit to the greater powers to backup their recommendation or decision.

Maybe add another parameter for features only supported in some regions, like vertex-ai managed notebooks for one example, or certain CPU or GPU types. Without getting too complex.

If the user clicks "I need Vertex-AI managed notebooks" then those regions could be filtered out of the result.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.