Giter Site home page Giter Site logo

Comments (5)

alexcasalboni avatar alexcasalboni commented on June 4, 2024 1

Hi @bpgould - thanks for reaching out :)

Can you tell me more about your timeout issue? By default, the tool times out (each step) after 5 minutes. But you can change this by customizing the totalExecutionTimeout deployment parameter (this needs to be set when you deploy the application).

Regarding the memory requirements, you are correct. You do need to be aware of what's the minimum memory your function needs to operate properly (and not try to power-tune with lower memory). The tool currently works under the assumption that your function run properly with the given configurations.

About the 3,008MB limit, that sounds odd. Are you using a recent version of the app? As documented here, you can provide any power values between 128MB and 10,240MB, and please note that new AWS accounts have reduced concurrency and memory quotas, 3008MB max.

from aws-lambda-power-tuning.

alexcasalboni avatar alexcasalboni commented on June 4, 2024 1

@bpgould I was thinking that we could add a new input parameter called ignoreTimeouts=true|false, so the state machine would ignore timeouts and simply not include them in the results.

Would that work for you?

from aws-lambda-power-tuning.

bpgould avatar bpgould commented on June 4, 2024

also for another issue, it only supports up to 3,008 mb but lambda supports 10,240.

from aws-lambda-power-tuning.

bpgould avatar bpgould commented on June 4, 2024

@alexcasalboni thank you for your response. The memory limit was my issue, however, I think an enhancement is needed for the other issue. If I am deploying powertuning at scale to run in an account with 100 lambdas, how would I know what the min memory is for each lambda?

The tool should have an option to process timeouts = insufficient memory, this way for lambdas that can run with 128mb, the tool will run them and I don't have to set something much higher to accommodate other functions that require more. Perhaps this is a contribution that I could make.

from aws-lambda-power-tuning.

alexcasalboni avatar alexcasalboni commented on June 4, 2024

@bpgould I think that adding support for this use case makes sense.

Practically, you still need to go function-by-function and craft a specific payload for each function if you want to power-tune 100+ functions in your account. But I agree that being forced to know the minimum memory each function requires is a bit too much :)

So what would you prefer to see in the state machine output and in the final visualization in case one (or more) memory configurations aren't enough to run your function? We wouldn't have any data point to plot on the chart, so we'd just leave it empty?

from aws-lambda-power-tuning.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.