DynamoDB: Time frame to avoid stale read

0

Hi,

I am writing to dynamoDB using AWS lambda. I am using AWS Console to read data from dynamoDB. But I have seen instances of stale read with latest not records getting updated when trying to pull records under few mins. What is a safe time interval for data pull which would ensure that latest data is available on read? Would 30 mins be a safe interval?

The below is from AWS site: Just want to understand how recent is recent here. "When you read data from a DynamoDB table, the response might not reflect the results of a recently completed write operation. The response might include some stale data"

Regards, Dbeings

dbeing
asked 2 years ago353 views
1 Answer
1

30 Minutes is more than reasonable. Once you get the status code of 200 back from your Lambda function, the web console should be up to date in seconds. 5 seconds would be enough to wait in normal circumstances, as long as you have received 200 from Lambda.

profile pictureAWS
EXPERT
answered 2 years ago

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