SQS Lambda ESM Scaling Behaviour - ESM vs Lambda Errors

#Test

Important

This page only contains the experiments that have been done for the: SQS Lambda ESM Scaling Behaviour blog post.

Here we set processing time at 50ms and ESM concurrency unbound. Then on every 5-9th minute, we throw and error depending on the percentage for that experiment. The error is thrown at the start of the function. This test duration is longer, at 22 minutes to better see the impact.

#Results

ConditionConcurrency at Steady StateConcurrency at Error StateConcurrency ReductionThroughput at Steady StateThroughput at Error StateThroughput Reduction
50ms 1%602558.3%2000160020%
50ms 5%601673.3%200050075%
50ms 10%601378.3%200030085%

#Processing 50ms, 1% error rate

Loading..
50ms 1% error rate

#Processing 50ms, 5% error rate

Loading..
50ms 5% error rate

#Processing 50ms, 10% error rate

The number of errors reported by Lambda is about the same at the 5% and 10% induced error percentage. That is because the throughput is reduced so ESM is invoking the Lambda less.

Loading..
50ms 10% error rate