Open jankeromnes opened 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Not stale, still very relevant.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Very much not stale and still extremely relevant.
If I understand correctly, we are now using IPFS to cache the container images per workspace cluster (not exactly per region) which mostly covers what is proposed in this issue. @aledbf could you please confirm my understanding is correct?
If I understand correctly, we are now using IPFS to cache the container images per workspace cluster (not exactly per region) which mostly covers what is proposed in this issue.
That's correct.
That said, prebuilds are stored in GCS, not a container image.
FYI, I've edited the top comment to link to an internal Slack discussion about trade-offs between caching ourselves in all GCP regions and using Cloudflare R2 (no egress costs).
Cloudflare R2 (no egress costs).
That is not GA (yet) and it seems only to support Cloudflare workers
Caching prebuilds locally in all regions could make Gitpod both faster and cheaper when starting new workspaces from prebuilds.
Current situation
Problem
Transferring data between GCP regions is slow and expensive.
A good example to illustrate this problem is:
Feature request
When a Prebuild is built and stored in region A, and then requested once in region B, it would be great if a "reference copy" (or "cached copy") of that Prebuild also gets stored in region B for future use.
This way, all subsequent requests in region B can use the locally-cached copy (instead of causing constant cross-regional transfers of the same data).
Proposed solution
Implication on garbage collection:
See also