If you write to DynamoDB and attempt to read the data immediately, are you guaranteed to get the recently-updated data, or is there a risk you might get stale data?

DynamoDB offers you the following read consistency options:

  • Eventually consistent reads are usually good enough, but they may sometimes return stale data.
  • Strongly consistent reads are guaranteed to reflect the newest data, but they cost more, have higher latency, and fail more often with error 500.