All Questions
Scaling Reads medium

In a DynamoDB/Cassandra sharded system, why are Global Secondary Indexes often 'Eventually Consistent'?

  1. A Because they are stored on the same machine.
  2. B Updating the GSI might require a network hop to a *different* shard than the main item. Using strong consistency would require a slow distributed transaction (2PC).
  3. C They are read-only.
  4. D They use UDP.

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

Get the app

Related questions