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
질문됨 2년 전358회 조회
1개 답변
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
전문가
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인