alexcasalboni/aws-lambda-power-tuning

Add logic to identify insufficient resources causing timeout

Open

#217 geöffnet am 20. Okt. 2023

Auf GitHub ansehen
 (7 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (325 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (4.670 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide