alexcasalboni/aws-lambda-power-tuning

Add logic to identify insufficient resources causing timeout

Open

#217 aberto em 20 de out. de 2023

Ver no GitHub
 (7 comments) (0 reactions) (0 assignees)JavaScript (4.670 stars) (325 forks)batch import
enhancementhelp wanted

Description

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.

Guia do colaborador