S3 Put 事件和 lambda 并发

S3 Put event and lambda concurrency

来自: http://docs.aws.amazon.com/lambda/latest/dg/intro-core-components.html#intro-core-components-event-sources

For all other event sources and invocation mechanisms, Lambda executes your function concurrently for each request or event. You can estimate your concurrent requests using this formula: requests per second * function duration. For example, if your function is subscribed to an Amazon S3 bucket with 10 writes per second, and each function execution takes 3 seconds on average, your function has 10 * 3 = 30 concurrent executions.

为什么调用了30个并发函数?不应该是 up to/average of 30 个并发执行吗?

You can estimate your concurrent requests using this formula

是的,这是 typical/average 并发的估计值。你的函数只有实际上那么多如果其他条件成立。