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

Gateway warm cache aws lambda function #21

Open
vasco-santos opened this issue Mar 3, 2022 · 0 comments · May be fixed by nftstorage/warm-cache-lambda#2
Open

Gateway warm cache aws lambda function #21

vasco-santos opened this issue Mar 3, 2022 · 0 comments · May be fixed by nftstorage/warm-cache-lambda#2
Assignees
Labels
kind/enhancement A net-new feature or improvement to an existing feature

Comments

@vasco-santos
Copy link
Member

vasco-santos commented Mar 3, 2022

When complete CARs are written to S3, we can use them to warm the cache of the gateway and improve reads performance and availability of recently uploaded content as part of #19

Flow

Lambda function triggers on S3 write gateway-warm-cache-lambda

  • verify if /complete namespace trigger
  • ask Gateway worker to cache CID

Notes

  • Only ask to warm cache for content smaller than 512Mb
@vasco-santos vasco-santos added the kind/enhancement A net-new feature or improvement to an existing feature label Mar 3, 2022
@vasco-santos vasco-santos self-assigned this Mar 3, 2022
@vasco-santos vasco-santos changed the title Gateway warm cache lambda Gateway warm cache aws lambda function Mar 3, 2022
@vasco-santos vasco-santos transferred this issue from nftstorage/nft.storage Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A net-new feature or improvement to an existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant