nftstorage.link icon indicating copy to clipboard operation
nftstorage.link copied to clipboard

Gateway warm cache aws lambda function

Open vasco-santos opened this issue 3 years ago • 0 comments

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 nftstorage/nftstorage.link#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 avatar Mar 03 '22 09:03 vasco-santos