Skip to content
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

[prebuild] Run inside user's region #9872

Closed
geropl opened this issue May 9, 2022 · 1 comment
Closed

[prebuild] Run inside user's region #9872

geropl opened this issue May 9, 2022 · 1 comment
Labels
aspect: cost efficiency component: server type: improvement Improves an existing feature or existing code

Comments

@geropl
Copy link
Member

geropl commented May 9, 2022

Currently prebuild are mainly executed in the US cluster because it's closed to GitHub exit nodes. This means all prebuild's snapshots are stored in us-west1. This is bad because for all EU workspaces based on a prebuild we have to pay egress traffic on a) when the prebuild is run and b) on every workspace start.

We know which region:

  • a user first connected with (user bucket region) is in when registering
  • a user is currently connected (not necessarily when they trigger the prebuild)

We should try to leverage that knowledge to run the prebuild closer the where it's most likely going to be used.

@jankeromnes
Copy link
Contributor

Thanks for scheduling this!

Closing as duplicate of #6650 and scheduling that one instead.

Repository owner moved this from Scheduled to Done in 🍎 WebApp Team May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aspect: cost efficiency component: server type: improvement Improves an existing feature or existing code
Projects
Status: No status
Development

No branches or pull requests

2 participants