Menu
×
   ❮   
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS R TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI GO KOTLIN SASS VUE DSA GEN AI SCIPY AWS CYBERSECURITY DATA SCIENCE
     ❯   

Lambda Power Tuning


Lambda Power Tuning

Lambda Power Tuning helps you allocate memory to functions.

You can choose to optimize for cost, performance, or both.

It's important to understand how your application handles a burst of requests.

As all of the concurrency is not instantly available, requests might be throttled.


Lambda Power Tuning Video

W3schools.com collaborates with Amazon Web Services to deliver digital training content to our students.


How Lambda Power Tuning Works

A Step Functions State Machine executes the function supplied in memory settings.

A State Machine accepts the following parameters:

  • Lambda ARN
  • Number of invocations for each memory configuration
  • The Lambda function's static payload
  • Whether all calls should be parallel
  • Cost, speed, or balanced strategy

Cost Strategy

The cost strategy will report the cheapest option.

Regardless of performance, it will generate a report.


Speed Strategy

The speed strategy will report the fastest option.

Regardless of cost, it will generate a report.


Balanced Strategy

The balanced strategy will report a balanced option based on "balancedWeight."

A balancedWeight is a number ranging from 0 to 1.

The speed strategy is 0, while the cost strategy is 1.


AWS Serverless Exercises

Test Yourself With Exercises

Exercise:

Fill in the blanks.

Lambda Power Tuning helps you   to functions 

Start the Exercise


×

Contact Sales

If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
sales@w3schools.com

Report Error

If you want to report an error, or if you want to make a suggestion, send us an e-mail:
help@w3schools.com

W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookie and privacy policy.

Copyright 1999-2024 by Refsnes Data. All Rights Reserved. W3Schools is Powered by W3.CSS.