All Questions
Cassandra hard

Cassandra supports 'Atomic Batches'. If a Batch write to 3 different tables is successful, what is the 'Isolation' guarantee for a concurrent Read query?

  1. A Full ACID Isolation: A reader will either see all 3 changes or none of them.
  2. B No Isolation: Even though the batch is 'Atomic' (eventually all are applied), a reader might see the update to Table 1 but not yet Table 2 during the narrow window of replication.
  3. C Hierarchical Isolation: Table 1 must be read before Table 2.
  4. D Read-Only Isolation: The tables are locked for reading during the batch update.

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

Get the app

Related questions