alexcasalboni/aws-lambda-power-tuning

Add logic to identify insufficient resources causing timeout

開放

#217 建立於 2023年10月20日

 (7 則留言) (0 個反應) (0 位負責人)JavaScript (325 個分叉)batch import
enhancementhelp wanted

倉庫指標

星標
 (4,670 顆星)
PR 合併指標
 (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.

貢獻者指南