0
votes

If I write a new key/value to dynamodb, will the result differ in case of reading it in "Strong consistency" mode or "Eventual consistency" mode?

I mean it is a new key/value which is never going to get updated.

2

2 Answers

1
votes

If you don't need to read they key/object back right after your write it, by the same or another process, its not going to matter.

1
votes

It is possible for an eventually consistent read to still return null in this case. The documentation does say 1 sec propagation delay in general, but it is not a guarantee. If your application critically depends on reading the latest version of the item, then you will want to use strongly consistent reads.