alexcasalboni/aws-lambda-power-tuning

Add logic to identify insufficient resources causing timeout

Open

#217 aperta il 20 ott 2023

Vedi su GitHub
 (7 commenti) (0 reazioni) (0 assegnatari)JavaScript (325 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (4670 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor