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

[SVC-1666] Prewarm ATS cache when deploying a new version #65

Closed
NathanFlurry opened this issue Jun 28, 2023 · 1 comment
Closed

[SVC-1666] Prewarm ATS cache when deploying a new version #65

NathanFlurry opened this issue Jun 28, 2023 · 1 comment
Labels
infrastructure Created by Linear-GitHub Sync Low priority Created by Linear-GitHub Sync performance Created by Linear-GitHub Sync public-tmp Created by Linear-GitHub Sync

Comments

@NathanFlurry
Copy link
Member

Motivation

Booting new lobbies right after deploying a new version requires a long wait time because the node has to download the image directly from S3.

Prewarming the cache will save the image to the cache before trying to boot any lobbies.

This is blocked by using consistent_hash in ATS because this will also change the ATS architecture.

Implementation

  • List all ATS nodes from Consul for the version's regions
  • Make a request for the asset
  • Wait for it to complete & handle failure gracefully

From SyncLinear.com | SVC-1666

@NathanFlurry NathanFlurry self-assigned this Jun 28, 2023
@NathanFlurry NathanFlurry added infrastructure Created by Linear-GitHub Sync Low priority Created by Linear-GitHub Sync performance Created by Linear-GitHub Sync labels Jun 28, 2023
@NathanFlurry NathanFlurry removed their assignment Nov 14, 2023
@NathanFlurry NathanFlurry added the public-tmp Created by Linear-GitHub Sync label Dec 14, 2023
@NathanFlurry
Copy link
Member Author

Out of sync with Linear

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Created by Linear-GitHub Sync Low priority Created by Linear-GitHub Sync performance Created by Linear-GitHub Sync public-tmp Created by Linear-GitHub Sync
Projects
None yet
Development

No branches or pull requests

1 participant