Restarting AWS lambda function to clear cache

后端 未结 7 1759
你的背包
你的背包 2021-01-08 00:38

I have a AWS Lambda function that creates an object from a s3 call in cold start. I then hold the object in the cache while the function is warm to keep load times down. W

7条回答
  •  星月不相逢
    2021-01-08 01:03

    Use the UpdateFunctionCode API endpoint to force a refresh of all containers. AWS SDKs wrap this up to make it easier for you to call the API using your preferred language.

提交回复
热议问题