A company has deployed a new Amazon API Gateway API that retrieves item costs for the company’s online store. An AWS Lambda function backs the API and retrieves the data from an Amazon DynamoDB table. The API’s latency rises during peak usage periods each day. However, DynamoDB table-read latency remains constant throughout the day.
A DevOps engineer configures DynamoDB Accelerator (DAX) for the DynamoDB table, and API latency decreases throughout the day. The DevOps engineer then configures Lambda provisioned concurrency with a limit of two concurrent invocations. This change reduces latency during normal usage. However, the company still experiences greater latency during peak usage periods than during normal usage.
Which additional set of steps should the DevOps engineer take to achieve the LARGEST decrease in API latency?
Community Discussion
No comments yet. Be the first to start the discussion!
Community Discussion