All Questions
Dynamodb hard

In a distributed environment, what is the isolation guarantee of a DynamoDB `TransactWriteItems` operation?

  1. A Read-Uncommitted: Changes are visible to other queries as soon as the first item is written.
  2. B Serializable Isolation: While a transaction is in progress, the items are essentially locked. Other requests see the data either as it was BEFORE the transaction or AFTER, but never in a partial ('dirty') state.
  3. C Eventual Isolation: Replication to GSIs is guaranteed but isolation across base items is 'best effort'.
  4. D Snapshot Isolation only within a single AWS Availability Zone.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions