All Questions
Dynamodb hard

Why is it technically impossible to request a 'Strongly Consistent Read' on a Global Secondary Index (GSI)?

  1. A The AWS engineers haven't released the supporting SDK yet.
  2. B Asynchronous Log-Replication: GSIs are physically separate tables with their own partition schemes. Updates travel via an internal 'log-shipping' mechanism from the base table to the GSI partitions, creating a sub-second replication lag that prohibits synchronous quorum reads.
  3. C GSIs are stored on cheaper, slower storage that doesn't support the IOPS required for strong consistency.
  4. D It is a security restriction to prevent timing attacks.

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

Get the app

Related questions