What should a solutions architect do to address this issue without impacting existing users?

September 16, 2021 by Admin

A company owns an asynchronous API that is used to ingest user requests and, based on the request type, dispatch requests to the appropriate microservice for processing. The company is using Amazon API Gateway to deploy the API front end, and an AWS Lambda function that invokes Amazon DynamoDB to store user requests before dispatching them to the processing microservices.

The company provisioned as much DynamoDB throughput as its budget allows, but the company is still experiencing availability issues and is losing user requests.

What should a solutions architect do to address this issue without impacting existing users?

  • Add throttling on the API Gateway with server-side throttling limits.
  • Use DynamoDB Accelerator (DAX) and Lambda to buffer writes to DynamoDB.
  • Create a secondary index in DynamoDB for the table with the user requests.
  • Use the Amazon Simple Queue Service (Amazon SQS) queue and Lambda to buffer writes to DynamoDB.

Leave a Reply