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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南