Amazon - DynamoDB Strong consistent reads, Are they latest and how?

前端 未结 3 1848
轻奢々
轻奢々 2020-12-24 11:57

In an attempt to use Dynamodb for one of projects, I have a doubt regarding the strong consistency model of dynamodb. From the FAQs

Strongly Consisten

3条回答
  •  鱼传尺愫
    2020-12-24 12:29

    You can find answer to your question here: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/APISummary.html

    When you issue a strongly consistent read request, Amazon DynamoDB returns a response with the most up-to-date data that reflects updates by all prior related write operations to which Amazon DynamoDB returned a successful response.

    In your example, if the updateItem request to update the value from v0 to v1 was successful, the subsequent strongly consistent read request will return v1.

    Hope this helps.

提交回复
热议问题