QuestionQ55
VerifiedResilient Cloud SolutionsA company delivers an application to its customers. The application includes an Amazon API Gateway REST API that invokes an AWS Lambda function. During initialization, the Lambda function loads a large volume of data from an Amazon DynamoDB table. This data-loading process causes long cold-start times of 8–10 seconds. DynamoDB Accelerator (DAX) is configured for the DynamoDB table.
Customers say that the application intermittently takes a long time to respond to requests. The application receives thousands of requests during the day. In the middle of the day, the application receives 10 times more requests than at any other time of day. Near the end of the day, the application's request volume drops to 10% of its normal total.
A DevOps engineer must reduce Lambda function latency at all times of day.
Which solution meets these requirements?
Community Discussion