
Serverless applications on AWS using Lambda with Java 25, API Gateway and DynamoDB - Part 2 Initial performance measurements
Introduction In part 1 of the series, we introduced our sample application. In this article, we'll measure the performance (cold and warm start times) of the Lambda function without any optimizations. Measurements of cold and warm start times of the Lambda function of the sample application In the following, we will measure the performance of our GetProductByIdJava25WithDynamoDB Lambda function mapped to the GetProductByIdHandler , which we will trigger by invoking curl -H "X-API-Key: a6ZbcDefQW12BN56WEVDDB25" https://{$API_GATEWAY_URL}/prod/products/1 . I assume that you have already created some products as described in part 1. Two aspects are important to us in terms of performance: cold and warm start times. It is known that Java applications, in particular, have a very high cold start time. The article Understanding the Lambda execution environment lifecycle provides a good overview of this topic. The results of the experiment are based on reproducing more than 100 cold starts and
Continue reading on Dev.to
Opens in a new tab



