Dynamo DB Read Time out with GSI Keys

0

Hello Everyone,

I am trying to read 50k records from my dynamo DB using the GSI key which would return max records of size 1Mb and the remaining data will be fetched using the last evaluated key. I am facing read time out error after the first read operation which returns me approx 2.5K records with the below error: "Unable to execute HTTP Request: Read time out"

We have added pagination limit to resolve this issue, could anyone please help me in understanding why we are getting Read time out error while reading the records with GSI.

Note: The dynamo DB is in OnDemand.

profile picture
asked a year ago436 views
1 Answer
1
Accepted Answer

Read time outs are most likely caused by your host machine not being able to connect to DynamoDB. It may also be an issue with your client, if you've set too strict timeout settings explicitly.

profile pictureAWS
EXPERT
answered a year ago
  • Thanks, configuring the timeout in the HTTP Client solved the issue.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions