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
posta 2 anni fa358 visualizzazioni
1 Risposta
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
ESPERTO
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande