- 最新
- 投票最多
- 评论最多
If your Lambda function is processing two requests at once they are completely separate instances in separate containers that have no relationship with each other.
Any interaction you're seeing between these two instances would be due to some external resource (outside of Lambda) that both are using.
There are logs of several instances in the same log group. Correct me if I am wrong, but I believe the logs are grouped according to the container the lambda function is running in. If this is not the case, then on what basis does one log group contain logs of multiple instances
A log group is created for the defined lambda function. Each container will have its own log stream in the log group. So if two instances are running they will be in different containers and so in different log streams, but the same log group.
相关内容
- AWS 官方已更新 1 年前