1回答
- 新しい順
- 投票が多い順
- コメントが多い順
1
Best practices are similar to what you would do when connecting to another data store: declare the variable holding the connection to the database outside your handler so it can be re-utilized by subsequent invocations of your function.
You can find a good example here: https://docs.atlas.mongodb.com/best-practices-connecting-to-aws-lambda.
回答済み 3年前
関連するコンテンツ
- AWS公式更新しました 8ヶ月前