alexcasalboni/aws-lambda-power-tuning

Add logic to identify insufficient resources causing timeout

Open

#217 opened on 2023年10月20日

GitHub で見る
 (7 comments) (0 reactions) (0 assignees)JavaScript (325 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (4,670 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

The step function kept failing on the lowest memory option that I provided. This was due to a timeout on the lambda. Either the powertuning step function should also increment timeout (not ideal) or it should recognize if every execution on a particular memory amount fails, it is not enough memory and proceed with the other values. I have achieved similar functionality before when using parallel states. Moreover, this greatly decreases the value of the tool because it is hard to implement in automation if I need to remove all of the lower memory values in order to achieve reliability of the step function.

コントリビューターガイド