Comments (5)
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.
@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.
also for another issue, it only supports up to 3,008 mb but lambda supports 10,240.
from aws-lambda-power-tuning.
@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.
@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)
- Support for testing stream-based functions HOT 2
- Option to Consume Payload from SQS source? HOT 3
- Actual Payload Shared in Step Functions Console On Function Error HOT 8
- Add KMS permission(s) that may be optionally needed HOT 11
- cost discrepancy on small lambdas HOT 2
- 💡 Add this project to awesome-italia-opensource HOT 2
- Feature Request: Allow naming of statemachine HOT 5
- Upgrade to Node 20 HOT 1
- Getting Error While Increasing Power values to 10240 MB HOT 1
- Support for array payload accepting functions HOT 4
- Remove security sensitive lambda:DeleteFunction permission HOT 2
- Log analysis uses Billed Duration rather than Duration for calculating Lambda run time HOT 2
- Image in payload possibility HOT 5
- Bug: Support JSON logging HOT 20
- Missing num error while executing state machine HOT 4
- Help deciphering error message HOT 17
- Executor Invocation Error due to permissions denied HOT 4
- SAR versioning is behind HOT 3
- Power Tuning Result not showing 'Execution Time' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-lambda-power-tuning.