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달 전
- AWS 공식업데이트됨 8달 전