Lambda 负载测试的时间增加

Time increase with Lambda Load Testing

我可以不用像Datadog/AppDynamics这样的监控工具直接在AWS Lambda上找到Load吗? 基本上,我需要找出当负载增加时我的 Lambda API 需要多少时间?

lambda 提供了一些 build in metrics,因此您很少需要为此使用第三方工具。您可能感兴趣的一些指标是:

Duration – The amount of time that your function code spends processing an event. The billed duration for an invocation is the value of Duration rounded up to the nearest millisecond.

ConcurrentExecutions - The number of function instances that are processing events. If this number reaches your concurrent executions quota for the Region, or the reserved concurrency limit that you configured on the function, additional invocation requests are throttled.

我建议查看运行时间、内存使用情况和并发实例数。