Performance optimization
Serverless applications can be extremely performant, thanks to the ease of parallelization and concurrency. While the Lambda service manages scaling automatically, you can optimize the individual Lambda functions used in your application to reduce latency and increase throughput.
Topics
This chapter covers:
-
The Lambda execution environment lifecycle.
-
Defining, measuring, and improving cold starts.
-
The effect of the memory configuration on Lambda performance.
-
Optimizing static initialization code.
-
Function architecture and best practices.